user1703378
user1703378

Reputation: 1

Highcharts Drilldown Y axis min and max

Can anybody give an example of drilldown chart that has min and max for the Y axis labels? Here is the jsfiddle of the example from the Highcharts website.

I have been trying to figure out how to set a min and max for the Y axis labels. So for example instead of starting at 0 i would like to start at 88.

Upvotes: 0

Views: 1108

Answers (1)

Igor Shastin
Igor Shastin

Reputation: 2888

To get the desired result - for example, start yAxis values at 88, you should use this settings:

new Highcharts.Chart({
    ....
    yAxis: {
        min: 88,
        startOnTick: false // To prevent rounding of this value.
    },
    ....
});

Hope this helps.

Upvotes: 0

Related Questions