This is related to previous post.
If I create a TBarSeries with vertical and horizontal custom axes, the bar is shown as a single line, with no width or fill color.
If I then use the chart editor at runtime to change the horizontal axis to a standard axis, the bar changes to expected width and fill color.
If I then change the axis back to the custom axis, the bar stays at the correct width and color even as data is updated in the chart.
So, how do I get the bar to display correctly with both axes custom?
Thanks
Kevin
TBarSeries
Hi Kevin,
using the code below works fine here :
using the code below works fine here :
Code: Select all
with Chart1 do
begin
View3D := false;
Series1.Add(10);
CustomAxes.Items[0].SetMinMax(-4,4);
CustomAxes.Items[1].SetMinMax(0,50);
Series1.CustomHorizAxis := Chart1.CustomAxes.Items[0];
Series1.CustomVertAxis := Chart1.CustomAxes.Items[1];
end;
Pep Jorge
http://support.steema.com
http://support.steema.com