Page 1 of 1

pb with BarSeries drawn side by side

Posted: Wed Nov 19, 2008 10:48 am
by 10050873
Hello,

I use BarSeries.multiBar:=mbside. But if i have a serie with a different
number of bar, the bar series are not displayed side by side.

Here is a sample project for that. If you click on "tracer" button all is
good.
If you put the line BarGraphDispo[2].AddXY(1,0,'Projet 2',TabColor[2]);
in procedure TForm1.Button2Click(Sender: TObject);

The Bar series are not displayed side by side (looking at "Dispo 2").
How could i do to prevent it?

Thank you for help

P.S the source code is on the newsgroup teechart8.delphi with the same title at this topic (if i should post it at an other link ask me)

Posted: Thu Nov 20, 2008 9:48 am
by narcis
Hi Calou,

We are investigating the issue here. We will get back to you when we have further news.

Posted: Fri Nov 21, 2008 9:56 am
by narcis
Hi Calou,

The problem here is that for having stacked series you need to have the same number of values for each series so for those series that don't have data for a specific x value you need to add a null value.

Posted: Fri Nov 21, 2008 10:46 am
by 10050873
Ok that is good.

Thank you for help

Regards