Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
145
ActualInterval is not updated for NumericYAxis
posted

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://ko.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:

  • Horizontal/Vertical Zoom is Enabled
  • Y Axis Label Settings Location is "OutsideLeft"
  • Chart Series Clear() is called each time a new data is loaded

Any idea how to enforce updating ActualInterval property? 

I am using  Infragistics WPF UItimate   (version 18.1.20181.176).

Parents
  • 29085
    Offline posted

    Hello, 

    Thank you for contacting Infragistics. From my understanding you wish to update the axis range. This will only occur after removing a series. 

    There are a few things you can do here to remove a specific series. If you know your series, or the index of it, I would recommend using the Remove or RemoveAt methods of the XamDataChart.Series collection, like so:
    Chart.Series.Remove(mySeries);
    Chart.Series.RemoveAt(0);
    This will cause the chart to refresh itself. Let me know if you have any questions.
Reply Children