垂直轴标签隐藏在弹药中

时间:2019-06-04 14:24:36

标签: javascript amcharts

图中的顶部标签被剔除,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
        }
      ]
    };

enter image description here

0 个答案:

没有答案