[Lazarus] Unexpected TAChart's axis scaling
Valdas Jankūnas
zmuogs at gmail.com
Sun Jan 6 18:00:54 CET 2019
Hello,
in Test Project I have a Chart with several LineSeries and one AreaSeries. AutoScaleAxisTransform in each Axis is used. I noticed some unexplainable behavior:
- in fig_A you can see Chart in "all is OK" state,
- if I do Chart1LineSeries1.Active:=FALSE (this series is tied to Axis #0) then all Axes suddenly expands (see attached fig_B),
- if I do Chart.Axis#0.Range.UseMin/Max:=FALSE then all Axes scales to expected range (see attached fig_C).
Attached Test Project.
Is this a Bug?
--
Valdas Jankūnas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fig_A.png
Type: image/png
Size: 19558 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190106/3b7dbe94/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fig_B.png
Type: image/png
Size: 16517 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190106/3b7dbe94/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fig_C.png
Type: image/png
Size: 20691 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190106/3b7dbe94/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_project.zip
Type: application/zip
Size: 4551 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190106/3b7dbe94/attachment-0001.zip>
More information about the lazarus
mailing list