Forum: NinjaTrader
March 28th, 2015, 12:06 PM
|
Replies: 9
Views: 2,516
ok
Ok, sample TEST code attached. This will put a button on ChartTrader that allows clicks to toggle through a hard coded group of colors....see ColorButton_Click(...) to add or delete colors.
I...
|
Forum: NinjaTrader
March 28th, 2015, 10:01 AM
|
Replies: 9
Views: 2,516
too easy -- thank you
private void ColorButton_Click(object sender, EventArgs e)
{
Color MyGreen = Color.FromArgb (0,192,0);
if (ChartControl.BackColor == MyGreen)
ChartControl.BackColor = Color.Yellow;...
|
Forum: NinjaTrader
March 27th, 2015, 07:55 PM
|
Replies: 9
Views: 2,516
:-)
Way cool, thank you!!
|
Forum: NinjaTrader
March 27th, 2015, 04:57 AM
|
Replies: 9
Views: 2,516
Access Chart Color property?
I would like to set the chart background color in code....
For example, when I want to print or save the chart, I want the background to be White. Otherwise, I use a darker color, which does not...
|