图中的顶部标签被剔除,15个数字是可见的一半,条形图的标签也被隐藏,如何更改amchartoptions来修复它。我尝试了文档,但似乎无济于事。
Amchart选项包括:
{
data: $scope.getChartData(),
type: "serial",
theme: "black",
categoryField: "year",
rotate: false,
legend: {
enabled: false
},
chartScrollbar: {
enabled: false
},
categoryAxis: {
gridPosition: "start",
parseDates: false,
},
valueAxes: [
{
position: "left",
title: 'dummy'
],
graphs: [
{
type: "column",
title: "",
offset: 40,
labelText: "[[value]]",
valueField: "value",
fillAlphas: 1
}
]
};