How to create chart with highchart in which bar doesn't start from 0 in y axis? -
i'm working this chart, , thing i'm trying create example "apples" bar not start 0 on y axis. instead of that, want start from example 25%, , end in 75% (so bar in chart (its height) 25 75, when @ values in y-axis). have idea of how that? change?
you can use column range chart type. see this official demonstration.
here sample of apples (jsfiddle):
$('#container').highcharts({ chart: { type: 'columnrange' }, xaxis: { categories: ['apples'] }, yaxis: [{ min: 0, max: 100 }], series: [{ data: [ [25, 75], ] }] });
Comments
Post a Comment