react-native-pathjs-charts icon indicating copy to clipboard operation
react-native-pathjs-charts copied to clipboard

Wrong Y labels values on Stockline

Open AndrePech opened this issue 6 years ago • 2 comments

Hello, I have been using this library in a couple of projects, it is very good, thank you for taking your time to develop it.

I am facing a issue, can anybody help me?

I am trying to display a Stockline chart with cumulative data, and the Y labels are wrong, they are displaying just the min value (19.5 )of the chart data as follows:

If I don't make the values cumulative, it works fine.

screenshot_20180119-164350

Before filing an issue please ensure the following boxes are checked, if applicable:

  • [X] I have searched for existing issues
  • [X] I have provided detailed instructions that can reproduce the issue (including code and data necessary)

AndrePech avatar Jan 19 '18 18:01 AndrePech

What you mean by just displaying the min val?

you want to display lower values?

or the data points contain values lower than 19.5

More information needed.

soloviola avatar Feb 19 '18 20:02 soloviola

19.5 is the lowest value on the y-axis among my dataset.

In the screenshot you can see it, the y-axis does not make sense, it is repeating 19.5 on every label when it should be increasing with the lines, which are correct.

AndrePech avatar Feb 20 '18 00:02 AndrePech