如何修改链接融合图表中子图表的类型?

时间:2015-09-15 09:33:24

标签: javascript fusioncharts

默认情况下,子图表将遵循父图表的类型,在我的情况下,父图表是bar2d。我的孩子图表我想显示为折线图。如何配置?

1 个答案:

答案 0 :(得分:0)

尝试configureLink方法。

myChart.configureLink({
    type: 'pie2d', // Set the linked-charts configuration to load all linked charts as Pie
    width: '80%', // The width of the charts would be 80% of their parent container
    overlayButton: {
        message: ' X ', // Set the button to show letter "X"
        bgColor:'#999999',
        borderColor: '#cccccc'
    }
});

http://www.fusioncharts.com/dev/api/fusioncharts/fusioncharts-methods.html#configureLink