I need my yAxis categories to be 0 = 'Poor', 0.25 = 'Below Average', 0.75 = 'Average' 1="Good"
I set the categories right, but Highcharts seems to interpret each point I plot to be equal to "1" step on the yAxis. See /
Ideally, that chart should always show 4 labels on the yAxis and the plotted points should line up at "Below Average" and "Average".
Is there a setting I'm missing? I think I pretty much tried everything at /
I need my yAxis categories to be 0 = 'Poor', 0.25 = 'Below Average', 0.75 = 'Average' 1="Good"
I set the categories right, but Highcharts seems to interpret each point I plot to be equal to "1" step on the yAxis. See http://jsfiddle/54cFG/
Ideally, that chart should always show 4 labels on the yAxis and the plotted points should line up at "Below Average" and "Average".
Is there a setting I'm missing? I think I pretty much tried everything at http://www.highcharts./ref/
Share asked May 15, 2012 at 17:40 NarenNaren 1,9201 gold badge17 silver badges22 bronze badges 2- 1 Probably not what you want but it might solve this issue: Since your yAxis is actually your "value" why not use plotBands instead to mark which yAxis values are in poor, below average, average, or good? See highcharts./demo/spline-plot-bands – wergeld Commented May 15, 2012 at 17:50
- @Naren ~ What is the status on this question? Were you ever able to e to an acceptable solution? – Linger Commented Jun 6, 2012 at 3:47
1 Answer
Reset to default 6You could always use plot bands to display categories on the Y axis. That way you could still keep the actual values. I have demonstrated that with your code here.
EDIT
Here is another example with the grid lines taken off and the plotBands each with their own color. Here is the color chart if you wan to change any of them.
If you prefer to use the plot bands and no y-axis labels, here is an example of that. I think it works just fine. If the user really wants to see the exact value they can hover over the point.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744861839a4597748.html
评论列表(0条)