【问题标题】:Column Chart in Second Panel in AmchartsAmcharts 的第二个面板中的柱形图
【发布时间】:2016-08-19 14:28:47
【问题描述】:

我试图从第二个面板开始更改图表的显示类型,但即使在指定更改后 - "type" : "column" 第二个图表仍继续显示为折线图。

https://www.amcharts.com/kbase/stock-chart-displaying-data-different-data-sets-separate-panels/

我在这里缺少一些设置吗?

【问题讨论】:

    标签: amcharts


    【解决方案1】:

    对于比较数据集,您必须设置相应的compareGraph* 设置才能使设置生效。在这种情况下,您希望将compareGraphType 设置为"column"。如果要填充列,请将compareGraphFillAlphas 设置为1。您可以在stockGraph documentation 中查看所有可用属性。

    这是上述演示的更新版本:http://codepen.io/team/amcharts/pen/9f58168c0164f51c0f4549780143d37e?editors=0010

    【讨论】:

      猜你喜欢
      • 2011-10-17
      • 2016-11-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多