javascript - Highcharts Solid Gauge with min number NOT zero -
i want create solid gauge using high chart want yaxis min value zero. whenever, alter value, label disappears. there way create label appear again? or maybe has alternative way create labels.
in project, have alter min amount dynamically, depending on user's settings.
here's fiddle sample:
jsfiddle.net/th2ab/1/
you can label specifying startontick:true,
yaxis: { stops: [ [0.1, '#55bf3b'], // greenish [0.5, '#dddf0d'], // yellowish [0.9, '#df5353'] // reddish ], linewidth: 0, minortickinterval: null, tickpixelinterval: 400, tickwidth: 0, startontick:true, title: { y: -70 }, labels: { y: 16 } }, http://jsfiddle.net/yu7em/
you can explicitly set tick positions using tickpositions option:
tickpositions:[10,200], http://jsfiddle.net/l6vvr/
javascript highcharts
No comments:
Post a Comment