ChartGrid Column problems

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
VideoTrack
Newbie
Newbie
Posts: 16
Joined: Thu Jan 04, 2018 12:00 am

ChartGrid Column problems

Post by VideoTrack » Mon Feb 26, 2018 4:32 pm

I have a blank TChart together with a TChartGrid.
I assigned the ChartGrid to the Chart:
HeadwayChartGrid.Chart := HWayChart;

In my program, I add a series to the chart and then add data to the series. In the call to AddXY, the StatusTxt values describes important information about the items in the series.
HWayBarSeries[HWayBarSeriesCount].AddXY(DateTime, HeadwayTime, StatusTxt, ActivityColour);

The ChartGrid correctly creates and shows 3 columns for StatusTxt, Date, and Data value for that series.

Now, using the same procedure, I add another Series with different StatusTxt describing the new series items.
The ChartGrid now only adds 2 columns for Date, and Data value for that series. It does not add a column for the different StatusTxt that is relevant to the new Series.

This of course makes the ChartGrid appear to only contain one type of data.

How do a get the ChartGrid to add a column for the StatusTxt on subsequent Series?

Thanks
Attachments
2018-02-27_03-19-59.jpg
No new column for additional series.
2018-02-27_03-19-59.jpg (69.42 KiB) Viewed 5871 times

Yeray
Site Admin
Site Admin
Posts: 9514
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: ChartGrid Column problems

Post by Yeray » Fri Mar 02, 2018 9:41 am

Hello,

I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=2005
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply