IgniteUI / ignite-ui

Ignite UI for jQuery by Infragistics
https://bit.ly/2kuu1fT
Other
477 stars 84 forks source link

[igFinancialChart] Options are not in sync when end users change them from control's built-in toolbar #2238

Open jded76 opened 7 months ago

jded76 commented 7 months ago

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

Recording 2023-12-06 173015