ColorBand with start = end not displayed
Posted: Mon Jun 02, 2008 7:03 pm
Hi!
I have found a strange behaviour with ColorBand tools.
In my .net application, if I make ColorBands where start = end they do not display in the chart.
If i do the same with the activeX, the bands are shown. Is there a known issue? how can i make those bands visible in my .net application?
Thanks
Code example :
ColorBand tool = new ColorBand();
tool.Axis = tChart1.Axes.Bottom;
tool.Start = 5;
tool.End = 5;
tool.Color = m_bandColor;
tool.Transparency = 10;
tChart1.Tools.Add(tool);
I have found a strange behaviour with ColorBand tools.
In my .net application, if I make ColorBands where start = end they do not display in the chart.
If i do the same with the activeX, the bands are shown. Is there a known issue? how can i make those bands visible in my .net application?
Thanks
Code example :
ColorBand tool = new ColorBand();
tool.Axis = tChart1.Axes.Bottom;
tool.Start = 5;
tool.End = 5;
tool.Color = m_bandColor;
tool.Transparency = 10;
tChart1.Tools.Add(tool);