Member Avatar

I've been working on a project using Morris JS and since there was no solution out there for the Y axis scaling that I could find I wanted to posted where I got. Note you will need [morris JS]( & [Moment JS]( to run it. You just need a div with the id "home_chart_0" and it should run. It rounds the max value up, compares it to the min value rounded down and divides it by 10 and spreads over 10 lines. The properties "yLabelFormat" & "numLines" in Morris JS are not documented but exist. Let me know if you …


The End.