我正在使用amchart使用AMstock (旋转)来构建条形图。
有没有办法在面板上只显示类别轴值?see sample screenshot here。
我有两张图表。左侧应仅显示类别轴值。右侧显示的是条形图。
现在我只能创建图表选项,只显示类别轴值(双精度值)。
任何帮助都将不胜感激。
发布于 2019-03-17 13:52:44
我可以通过删除面板的股票图表条目来解决这个问题。
...
'panels': [
{
'showCategoryAxis': true,
'title': 'Value',
'percentHeight': 100,
'lineThickness': 2,
'autoMargins': true,
'autoMarginOffset': 0,
// as you can see, the stockGraphs is commented out.
// 'stockGraphs': [{
// }],
}
],
...希望这能对某些人有所帮助。
https://stackoverflow.com/questions/53025629
复制相似问题