The background color of the JFreeChart XYPlot changes with setBackgroundPaint(), but there seems to be no matching one setForegroundPaint().
setBackgroundPaint()
setForegroundPaint()
XYPlot plot = (XYPlot) chart.getPlot(); plot.setBackgroundPaint(Color.BLACK);
How has the foreground color (chart) changed?
eg:
XYItemRenderer renderer = plot.getRenderer(); renderer.setSeriesPaint(0, Color.CYAN);
Source: https://habr.com/ru/post/1772114/More articles:ILDasm Visual Studio 2010 - c #How to run an EXE file from Flash / Flex / AIR? - flexIs there a way to render ItemTemplate in WPF - wpfМожно ли перейти от VB.Net к С# для использования с Mac - c#How to synchronize multiple video streams in ActionScript? - synchronizationWhen the space is blank using jQuery, the input window is inserted to the left. How to make it slide? - javascriptpre-filling an iframe form from another domain - htmlIs it possible to selectively apply CSS depending on the browser used? - cssInterpret string 0x as hex in python - pythonПеренаправить Magento для проверки одной страницы после добавления товара в корзину - magentoAll Articles