如何修改链接融合图表中子图表的类型?
how to modify the type of the child chart in linked fusion chart?
默认情况下,子图表将遵循父图表的类型,在我的例子中,父图表是 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
默认情况下,子图表将遵循父图表的类型,在我的例子中,父图表是 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