I don't know, at the moment, where the minimum is forced to 0 - normally this does not happen, it is probably a bug with the multi-value series which I don't use that much, I don't know...

Until this is fixed you have to determine the minimum of the y axis on your own. Declare a variable "mn: Double", set it to a very large value before you begin reading data ("mn := 1E308"), and then, each time after adding a value to the series, compare the currently added Low-value (it should be the smallest one of this record) with the current mn value and update it: "if lLow < mn then mn := lLow".

At the end, use the Chart's Extent property to force the yMin to the final result obtained for mn: "Chart1.Extent.YMin := mn". And this setting has to be activated by setting the Extent's UseYMin to true: "Chart1.Extent.UseYMin := true".



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to