What I need to achieve is to allow the user to change the thickness of the axis line for example, the font size of the axis legend, the background color, the grid lines visibility, etc.
My first idea would be to create a ViewModel with all these properties and bind them to the plot, so that when the user changes them via some other control like a slider or a textbox, they get updated in the plot.
Is that the right way to do it ?
Well you could bind properties in the axis to a ViewModel yes.
We have an example which allows some setting & changing of axis properties here called WPF Chart Modify Axis Properties.
Take a look, let me know if it helps,
Please login first to submit.