Is there any way of having bars in a barseries or histogramseries (custom...) to be placed from the tickmark instead of centered around the tickmark.
E.g. data
1 2 3 4 1 2
will show up as four bars placed centered around the values 1 2 3 4
I wished instead the bars to start from 1 2 3 4 and to the right of the number.
regards
Jens Lauritsen[/img]
Histogram - placement of bars from tick mark - not centered
Hi.
I think in this case the easiest solution is to use area series with it's Stairs property set to true:
I think in this case the easiest solution is to use area series with it's Stairs property set to true:
Code: Select all
area1.Stairs := True;
area1.AddXY(1,10);
area1.AddXY(2,3);
area1.AddXY(3,5);
area1.AddXY(4,7);
area1.AddXY(5,7); // add fake point to show last bin
Marjan Slatinek,
http://www.steema.com
http://www.steema.com