pb with BarSeries drawn side by side

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Calou
Advanced
Posts: 104
Joined: Wed Nov 19, 2008 12:00 am

pb with BarSeries drawn side by side

Post by Calou » Wed Nov 19, 2008 10:48 am

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)

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Nov 20, 2008 9:48 am

Hi Calou,

We are investigating the issue here. We will get back to you when we have further news.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Nov 21, 2008 9:56 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Calou
Advanced
Posts: 104
Joined: Wed Nov 19, 2008 12:00 am

Post by Calou » Fri Nov 21, 2008 10:46 am

Ok that is good.

Thank you for help

Regards

Post Reply