javascript - how to draw column with value=0 in highcharts -
i have chart , have line/bar when y-axis value zero.. (that because 0 right value , null absence of value).is possible? illustration in column-basic chart (http://www.highcharts.com/demo/column-basic). possible have value=0 tokio serie?.. draw it?
{ name: 'tokyo', data: [0, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4] }
i tried min property value less zero.. bar not visible... idea?
set minimum of yaxis below 0 , threshold null (that way columns extend padding y axis minimum) highcharts api: plotoptions.bar.threshold
example: http://jsfiddle.net/4w23mrod/
... yaxis: { min: -50, ... }, plotoptions: { bar: { threshold: null, ...
or
you can utilize minpointlength
example
javascript highcharts
No comments:
Post a Comment