jfreechart Chinese garbage problem

 

jfreechart in the default state relies StandardChartTheme to control some of the themes of the report, so you can override this topic will be,

Create a chart is generally reliable ChartFactory, and therefore also in the jfreechart CreateFactory for each createXXXChart applied to the default theme, this class setChartTheme (CharTheme theme) can change the theme settings so only you need to override

 

Then call ChartFactory.createXXXChart (); then it

It may be further packaged as a class, different aspects of local calls

 

Guess you like

Origin blog.csdn.net/soliy/article/details/5605098