JFreeChart lineChart title in Chinese overlap to each other
JFreeChart lineChart title in Chinese overlap to each other
I am using the following setting to generate the lineChart, but the Chinese title is overlap to each other.
That problem only happen on my prod (linux server) but local (MS PC). Any suggestion to solve this problem ?
Thanks.
private static Font FONT = new Font("Arial Unicode MS",Font.PLAIN, 16);
private static Font TITLEFONT = new Font("Arial Unicode MS",Font.PLAIN, 16);
...
StandardChartTheme chartTheme = new StandardChartTheme("CN");
chartTheme.setExtraLargeFont(TITLEFONT);
chartTheme.setRegularFont(FONT);
chartTheme.setLargeFont(FONT);
chartTheme.setSmallFont(FONT);