[RadCartesianChart] DateTimeContinuousAxis.Minimum and Maximum are not respected

1 Answer 103 Views
Chart
Sébastien
Top achievements
Rank 2
Iron
Iron
Iron
Sébastien asked on 27 Jun 2022, 07:33 PM
Hi,

My item source contains values from June 23rd and June 24th only.

When I start the app, I set the axis minimum date to today June 27th (and max June 28th).

When I click go previous day to June 24th and June 23rd, data appears -> Good.

However, when I go further in the past or go back to June 25th, 26th, 27th, etc, the data of June 24th are still there!
Sébastien
Top achievements
Rank 2
Iron
Iron
Iron
commented on 28 Jun 2022, 02:32 AM

Please see the alternative to bypass this bug: https://www.telerik.com/forums/radcartesianchart-why-does-lineseries-have-abysmal-performance-compared-to-splineseries

1 Answer, 1 is accepted

Sort by
0
Accepted
Yana
Telerik team
answered on 02 Jul 2022, 06:36 AM

Hello Sebastien,

Thank you again for the detailed report. I am afraid you came across another issue in the Chart rendering related to DateTimeContinuousAxis. I've logged a public bug report in the feedback portal on your behalf, here is the link:

Chart: Chart data is not cleared when the DateTimeContinuousAxis.Minimum and Maximum values are updated

As a workaround, you can load the data according to the Minimum-Maximum range - just the data points in between, rather than loading the whole source and relying only on switching the Minimum and Maximum values for the Chart to refresh. Please give this approach a try and let me know how it goes.

I've also updated your points for your involvement on this.

Regards,
Yana
Progress Telerik

The Premier Dev Conference is back! 

Coming to you live from Progress360 in-person or on your own time, DevReach for all. Register Today.


Sébastien
Top achievements
Rank 2
Iron
Iron
Iron
commented on 02 Jul 2022, 10:45 AM

Hi,

Thank you for confirming the behavior as a bug.

I did go with my own logic to provide the data to the chart.

Sébastien 

Tags
Chart
Asked by
Sébastien
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Yana
Telerik team
Share this question
or