I updated some of my software and included the newest JFreeChart library (from 8 to 13). Now the plots have that hideous excel-like gray background!
I suppose I need to do this to make it go back to the right way:
plotX.setBackgroundPaint(Color.white);
plotX.setRangeGridlinePaint(Color.black);
plotX.setDomainGridlinePaint(Color.black);
for each place my plots that are plotted, but I cannot believe such a LARGE change was made, seemingly, for no apparent technical reason.
Kurt
plot background change 8 to 13
Re: plot background change 8 to 13
Code: Select all
ChartFactory.setChartTheme(ChartTheme.createLegacyTheme());
Also search the list. There are a few isolated cases (like shadows on bar charts) that require further code changes.
Re: plot background change 8 to 13
The Documentation I purchased is pretty old (Pre -version 8 ), so I'll have to check if themes are mentioned.
Thanks,
Kurt
Thanks,
Kurt
Kurt
Re: plot background change 8 to 13
Themes were introduced in 1.0.11