- ago
WL6 had a SetBarColors to allow me to change the default color of the bars in the chart. Is there something similar in WL7?
CODE:
SetBarColors(Color.Silver, Color.Silver);
1
638
Solved
3 Replies

Reply

Bookmark

Sort
- ago
#1
As can be seen in the updated WL 6.9 QuickRef (you have it installed), there is no SetBarColors alternative. For workaround please check out Post #1.
0
- ago
#2
Yes, I didn't see anything in QuickRef for a solution. I just thought I'd check the discussion area quick to see if there was a recommended technique. Unfortunately I forgot to check "enable full-text search" when I did the search so I missed the reference you had in the link.

Thanks for the quick response.
0
- ago
#3
Actually there appears to be a way to change the default colors - SetChartDrawingOptions.

CODE:
         ChartDisplaySettings cds = new ChartDisplaySettings();          cds.ColorUpBar = Color.Silver;          cds.ColorDownBar = Color.Silver;          SetChartDrawingOptions(cds);


There's also a setting to replace HideVolume() functionality which I've used for strategies designed for mutual funds.

You might want to consider updating QuickRef to point to the WL7 SetChartDrawingOptions for some of these replacements.
0
Best Answer

Reply

Bookmark

Sort