Hi,
I am facing a problem with XamDataChart (NumericXAxis and NumericYAxis). Data is dynamic loaded but XamDataChart is placed in a non-selected TabPage. Moreover, NumericYAxis maximum and minimum are set (code behind) depending on the loaded data range.
If XamDataChart is visible, visually NumericYAxis has a correct interval, but in code behind, ActualInterval [https://es.infragistics.com/help/wpf/infragisticswpf.controls.charts.xamdatachart~infragistics.controls.charts.categoryxaxis~actualinterval] is not updated; it belongs to the previously loaded data.
The following are a summary of my chart settings:
Any idea how to enforce updating ActualInterval property?
I am using Infragistics WPF UItimate (version 18.1.20181.176).
Hello,
Thank you for contacting Infragistics. From my understanding you wish to update the axis range. This will only occur after removing a series.
Hi Michael,
Thank you very much for your response. As I mentioned earlier, I remove all series from my XamDataChart by each new data arrival. My XamDataChart is always in the background.
It seems that ‘ActualInterval’ property calculated ‘ONLY’ if XamDataChart got focus. I send a simple WPF application shows that adding Scatter Line Series to XamDataChart would not update ‘ActualInterval’ while it is not visible.
In my application, I need ‘ActualInterval’ to draw several ScatterPolygonSeries with width approximately 10% of ‘ActualInterval’. I tried also to create event handlers for both XamDataChart and NumericYAxis GotFocus() events and then update the width of my ScatterPolygonSeries lines there, but still not working as expected.
I need a formula to approximately calculate ‘ActualInterval’ value based on Maximum and Minimum Y-Axis values.
1464.ChartApp.zip