2

In my linecharts I had passed negative values in the data array, and those are not showing in the linecharts. What would be the problem.

When I am creating the data array I am just casting the values into a float using parseFloat.

If the data array is like this:

[-1.800000000,2.57,-3.72,7.82,-5.0]

The chart is only showing for positive values not for negative values like below.

enter image description here

1 Answer 1

14

Make sure that the property -

yAxis: {
    min: 0,//<----Remove
    /*max: 100,*/
    title: {
        text: this.yAxisTitle,
        align: 'low'
    }
}
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.