通过使用下面的代码,X轴的最大值只有85000
,并隐藏了部分120k
值,是否有任何选项来修复此轴渲染行为?BarChart不适合图表区域
var s1 = ["84486", "74987", "120249"];
var ticks = ['Length', 'Width', 'Height'];
$.jqplot('revi_chart', [s1], {
seriesDefaults: {
renderer: $.jqplot.BarRenderer,
pointLabels: { show: true, location: 'w'},
rendererOptions: { barDirection: 'horizontal'},
},
axes: {
xaxis: { tickOptions: { showLabel: true, showGridline: false}},
yaxis: { renderer: $.jqplot.CategoryAxisRenderer, ticks: ticks,
tickOptions: { showGridline: false }}
},
highlighter: { show: false}
});
这里是小提琴: http://jsfiddle.net/frelis/x7Lyj5t6/12/
它的作品,是如此明显,谢谢。 – Luis