Page 1 of 1

Show Bars behind each other

Posted: Thu Nov 18, 2010 9:25 am
by 15657291
Hello
I have a TChart with two Bar-Series. I add the Series Values with bar1.Add(XValue, YValue);
If I have the same xVaue on bar1 and on bar2, it shows the two bars next to each other.
How can I paint the bar2 in front of the bar1 ?? (bar1 has Width = 20 and bar2 has Width = 10, so still both bars ar visible)

I guess it's quite easy, but unfortunally I don't find it out...

Thanks for your help!!

Eric

Re: Show Bars behind each other

Posted: Thu Nov 18, 2010 2:26 pm
by 10050769
Hello Eric,

I think you need change stack Style of Bar as do in next line of code:

Code: Select all

     bar1.MultiBar = Steema.TeeChart.Styles.MultiBars.None;
Could you tell us if previous code works fine for you?

I hope will helps.

Thanks,

Re: Show Bars behind each other

Posted: Fri Nov 19, 2010 12:44 pm
by 15657291
Great !! It works.
Thanks a lot!!!
It's easy if you know the right properties... :-)