Page 1 of 1

CustomBarHeight behavior change into Version 7.07

Posted: Fri May 05, 2006 7:22 pm
by 9333098
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;

Posted: Wed May 17, 2006 9:05 am
by Pep
Hi Steve,
plotted. Is this change intended or as a result of a change in some other behavior ?
Yes, in the latest v7.07 we've fixed some problems related with the BarWidthPercent which could make change this. Now using the BarWidthPercent:=0; will be the best option for you.