Showing posts from November, 2015


What saddened me most is when I see my mom cry.
It's not heartache, it's more than that.
She's been through alot.
Her mom left her.
Lost her husband.
People misunderstood her sometimes.
She's loud though.
She loves planning ahead.
Her love is overwhelming.
She deserves more than us, her children.

Setting max and min range in Highcharts with multiple y-axis

Let's say you have that kind of chart/graph above, and then you want to set its min and max range...Nah, here's the code:

chart: { renderTo: 'container', type: 'line', //width: 800, height: 450, alignTicks: false }, ... yAxis: [{ //primary y axis min: 0, max: 100, tickInterval: 20 }, { min: 0, max: 150, tickInterval: 30, opposite: !0 }] ...

You just need to add alignTicks: false in your chart option then set the y-axis' tickInterval. It is much better to divide each max range with the same value.