我正在使用 extjs 和 highcharts 开发风玫瑰图。我需要将数据显示为具有直边的梯形,而不是默认显示以弧作为分隔符的线段。这是我正在尝试做的图片
我已经能够使用 JoeKuan 提供的包装器将 highcharts 对象集成到我的应用程序中
但是,我没有在 highcharts 文档中看到如何将极坐标图列配置为直边段,如图所示。
这是目前工作的极坐标图的小提琴..小提琴
Highcharts.chart('container', {
data: {
table: 'freq',
startRow: 1,
endRow: 17,
endColumn: 7
},
chart: {
polar: true,
type: 'column'
},
title: {
text: 'Wind rose for South Shore Met Station, Oregon'
},
subtitle: {
text: 'Source: or.water.usgs.gov'
},
pane: {
size: '85%'
},
legend: {
align: 'right',
verticalAlign: 'top',
y: 100,
layout: 'vertical'
},
xAxis: {
tickmarkPlacement: 'on'
},
yAxis: {
min: 0,
endOnTick: false,
showLastLabel: true,
title: {
text: 'Frequency (%)'
},
labels: {
formatter: function () {
return this.value + '%';
}
},
reversedStacks: false
},
tooltip: {
valueSuffix: '%'
},
plotOptions: {
series: {
stacking: 'normal',
shadow: false,
groupPadding: 0,
pointPlacement: 'on'
}
}
});
非常感谢所有帮助
丽莎