matoos32 / jfreechart-builder

A builder pattern module for working with the jfreechart library.
Other
11 stars 2 forks source link

Plot builders use y-axis color settings to update shared x-axis colors #97

Closed matoos32 closed 11 months ago

matoos32 commented 11 months ago

OhlcPlotBuilder and XYTimeSeriesPlotBuilder are currently using the intended y-axis line and font colors to update the applicable colors of the shared x-axis. The impact is the last plot added wins in updating the x-axis configuration. They should not be modifying the x-axis at all, but instead the ChartBuilder class should as it creates the shared axis.