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.
To enable the toolbar in your application and load a style file :
1 | 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); |