In a chart with several stacked bar series (created by code)
Code: Select all
BSeriePCR :=TBarSeries.Create(Chart_CADO);
ChartCADO.AddSeries(BSeriePCR);
BSeriePCR.Multibar :=mbStacked;
BseriePCR.Color :=clPCR;
BSeriePCR.Marks.Visible :=false;
The only way I can draw the chart the way I need it is, creating in design time one pair of stacked TBarSeries and set in the designer, the left axis to be DateTime.
The problem is that I need to clear all data from the chart before creating an filling the series. Is there any way to set the left axis "DateTime" property I see in design time ?.
Best regards.
Matias.