CustomBarHeight behavior change into Version 7.07
Posted: Fri May 05, 2006 7:22 pm
In vesion 7.06 I was able to vary the height of a Horizontal Bar series bars from 1 to some larger value in one pixel increments by setting the value of CustomBarHeight to one less than my desired number of pixels. For example, CustomBarHeight=0 makes 1 pixel tall bars, CustomBarHeight=1 makes them 2 pixels.
Now in 7.07, the pixel height is one less than the CustomBarHeight and worse, setting CustomBarHeight=1 results in nothing being plotted. Is this change intended or as a result of a change in some other behavior ?
series1.FillSampleValues(20);
// set BarWidthPercent := 0; so that 1 pixel can be shown by using CustomBarHeight := 0 in Version 7.06
series1.BarWidthPercent := 0;
series1.ColorEachPoint := true;
{ hide border since border can only be set to one color
and thus cannot be made to match each series's ColorEachPoint.
Otherwise the single-colored border would appear around each different colored series value }
series1.BarPen.Visible := true;
series1.CustomBarHeight := spinedit1.Value;
Now in 7.07, the pixel height is one less than the CustomBarHeight and worse, setting CustomBarHeight=1 results in nothing being plotted. Is this change intended or as a result of a change in some other behavior ?
series1.FillSampleValues(20);
// set BarWidthPercent := 0; so that 1 pixel can be shown by using CustomBarHeight := 0 in Version 7.06
series1.BarWidthPercent := 0;
series1.ColorEachPoint := true;
{ hide border since border can only be set to one color
and thus cannot be made to match each series's ColorEachPoint.
Otherwise the single-colored border would appear around each different colored series value }
series1.BarPen.Visible := true;
series1.CustomBarHeight := spinedit1.Value;