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

how to modify the type of the child chart in linked fusion chart?

本文关键字:子图 类型 融合 链接 何修改 修改      更新时间:2023-09-26

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

尝试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