Simple, flexible, interactive & powerful charts, maps and gauges for .Net, LiveCharts2 can now practically run everywhere Maui, Uno Platform, Blazor-wasm, WPF, WinForms, Xamarin, Avalonia, WinUI, UWP.
Describe the bug
ZeroPaint of Axis cannot be changed from one colour to another once the Axis has been constructed. It just disappears, as if it was set to null.
To Reproduce
Create a Cartesian plot and add an Axis reference, with ZeroPaint set to any colour. Then, set the ZeroPaint to a new colour. The separator at 0 will disappear.
Expected behavior
When the colour of ZeroPaint is set to a new value, the separator at 0 changes to newly set colour.
Screenshots
If applicable, add screenshots to help explain your problem.
Describe the bug ZeroPaint of Axis cannot be changed from one colour to another once the Axis has been constructed. It just disappears, as if it was set to null.
To Reproduce Create a Cartesian plot and add an Axis reference, with ZeroPaint set to any colour. Then, set the ZeroPaint to a new colour. The separator at 0 will disappear.
Expected behavior When the colour of ZeroPaint is set to a new value, the separator at 0 changes to newly set colour.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop