5.7.3 Toolbar plug-in

This plug-in allows quickly changing the chart elements style (an axis tittle, series, grid, legend and etc..), saving, and loading styles from the chart toolbar.

Toolbar Control

To enable the toolbar in your application and load a style file :

1
2
3
4
5
6
7
    m_chartPanel = new JChartPanel(m_chart);
    // Enable chart toolbar control
    m_chartPanel.enableChartObjectPropertiesEditor();
 
    // Load stylesheet from file  
    StyleLoader loader = new StyleLoader();
    loader.loadStyles("RedChartStyle.mchs", m_chartPanel, null);