We have a case that we want to save all the options the users can select on the chart (chart type, all selected indicators, period etc.), so when they come back to the application they will see the same state.
We found that this is not possible, because the options of the chart are not in sync with what user selects.
I also tried the event propertyChanged, but it isn't called at all.
I'm attaching a video with the actual problem (please ignore the teams messages).
The problem begins after I changed to "Column" chart type, and the button "Set ChartType to bar" is not working any more, because the control thinks that it already selected. You can see that when I clicked "Get ChartType" the value was "bar" and not "column".
When I clicked "Set ChartType to candle" started working again.
Result
Options are not in sync with control's state when the end user sets an option from the toolbar
Description
We have a case that we want to save all the options the users can select on the chart (chart type, all selected indicators, period etc.), so when they come back to the application they will see the same state.
We found that this is not possible, because the options of the chart are not in sync with what user selects. I also tried the event propertyChanged, but it isn't called at all.
Steps to reproduce
Fiddler
I'm attaching a video with the actual problem (please ignore the teams messages).
The problem begins after I changed to "Column" chart type, and the button "Set ChartType to bar" is not working any more, because the control thinks that it already selected. You can see that when I clicked "Get ChartType" the value was "bar" and not "column".
When I clicked "Set ChartType to candle" started working again.
Result
Options are not in sync with control's state when the end user sets an option from the toolbar
Expected result
Get the current selected option
Attachments