问题
I have came across the following implementation.
http://jsfiddle.net/ao617j2j/1/
As a default stack bar chart starts from 0, however, what if I want to start from +200. Is it possible?
categoryAxis: {
categories: ["First Stock", "Second Stock", "Third Stock", "Fourth Stock", "Fifth Stock"],
axisCrossingValues: [0, 0, 10, 10],
},
回答1:
Did you tried to change the valueAxes.min
value?
valueAxes: [{
title: {
text: "Dollar($)"
},
reverse: true,
min: 200, // Changed this from 0 to 200
max: 1600
}],
Fiddle.
来源:https://stackoverflow.com/questions/30377141/changing-the-start-point-in-stack-bar-chart