【问题标题】:How to show only category axes values in AMCharts for AMStock chart如何仅在 AMCharts 中为 AMStock 图表显示类别轴值
【发布时间】:2018-10-27 19:38:42
【问题描述】:

我正在与 amchart 合作使用 AMstock(旋转)构建条形图。

有没有办法在面板上只显示类别轴值? see sample screenshot here.

我有 2 张图表。左侧应仅显示类别轴值。右侧显示条形图。

现在我被困在创建图表选项以仅显示类别轴值(双值)。

任何帮助将不胜感激。

【问题讨论】:

    标签: amcharts amstock


    【解决方案1】:

    我可以通过删除面板的股票图表条目来解决这个问题。

    ...
    'panels': [
            {
              'showCategoryAxis': true,
              'title': 'Value',
              'percentHeight': 100,
              'lineThickness': 2,
              'autoMargins': true,
              'autoMarginOffset': 0,
              // as you can see, the stockGraphs is commented out.
              // 'stockGraphs': [{
              // }],
            }
          ],
    ...
    

    希望这对某人有所帮助。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多