Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Potential improvements in Autoscaling of CartesianCharts #483

Closed
w3sz opened this issue Mar 3, 2017 · 2 comments
Closed

Potential improvements in Autoscaling of CartesianCharts #483

w3sz opened this issue Mar 3, 2017 · 2 comments

Comments

@w3sz
Copy link

w3sz commented Mar 3, 2017

Issues are:

  1. When bottom limit is a negative number it is often hidden below the bottom of the chart. Note in the image below that the Black Diamond for Doppler Shift is missing. It is below the lower limit. Its value is -1772.89. In this image I have formatted Left axis to display as integer. But problem occurs whether or not this is done.

as_anotherfirstnegpointhiddencut

  1. When new low value is, say -5500 and previous LowerLimit is -5000, axis will not rescale until a low value of -6000 is obtained, so all values between -5000 and -6000 remain hidden until value of -6000 is obtained. Note in the image below several missing Black Diamonds for Doppler Shift at the right of the graph. Minimum datapoint has value of -5496.79.

as_axisnotresized

  1. Autoscaling choices may leave nearly half of chart empty. In the image below, note that the axis has scaled so that the right third of the graph is empty. Better maximum values for the axis would include 750 or 800.

as_poortimescalingcut

How to reproduce?

Create CartesianChart with one X axis and 3 Y axes. Set two Y axes to be fixed ranges, and set third to be automatic

Extra notes

Would like to have autoscaling improved as regards the above.

I am using

Live-Charts version 0.9.3.5
.Net Version *.NET Framework 4.5
Windows *Windows 10 Pro Build 14393.rs1_release.161220-1747
@beto-rodriguez
Copy link
Collaborator

Thank you very much for the report, the referenced commit should improve the series auto scale.

It's being a long way in the library, for some reason this was not updated, thanks for the catch.

this fix will be included in the next version of the library 0.9.4

@w3sz
Copy link
Author

w3sz commented Mar 10, 2017

Thank you very much! I compiled 0.9.4 and it works great, looks beautiful. Very much appreciated!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants