Unplanned
Last Updated: 18 Oct 2021 12:35 by Guido
Guido
Created on: 06 Oct 2021 09:19
Category: ChartView
Type: Bug Report
1
Zoom on chart area extents is not accurate

When a chart have long labels on the X axis (like date and time) the zoom is not accurate on the horizontal extents with both mouse wheel and drag area.

The reason is probably that the screen coordinates of the selected area are not mapped correctly on the X axis. The mapping works fine for tooltip.

 

You can verify this behavior in the attached Solution. In the images you can see the selected area (01), that the zoomed area is a region with no points (02) and the actual position of the points.

 

3 comments
Guido
Posted on: 18 Oct 2021 12:35

Thank you Martin, SmartLabelsMode="SmartStep" works fine and labels are no longer overlapped.

I don't need the fix anymore.

 

Regards,

Guido

ADMIN
Martin Ivanov
Posted on: 18 Oct 2021 12:11

Hello Guido,

We've checked this and we can confirm that this is an issue with setting the zoom range of the chart in some situations. You can find your Telerik points updated as a small gesture of gratitude for reporting this.

To work this around, you can disable the automatic step calculation of the axis, during the zooming. To do so, set the IsStepRecalculationOnZoomEnabled property of the axis to false.

<telerik:DateTimeContinuousAxis IsStepRecalculationOnZoomEnabled="False" />

Or alternatively, you can enable the SmartLabelsMode of the axis.

<telerik:DateTimeContinuousAxis SmartLabelsMode="SmartStep"/>

Regards,
Martin Ivanov
Progress Telerik

Remote troubleshooting is now easier with Telerik Fiddler Jam. Get the full context to end-users' issues in just three steps! Start your trial here - https://www.telerik.com/fiddler-jam.
ADMIN
Dinko | Tech Support Engineer
Posted on: 13 Oct 2021 08:22

Hi Guido,

Thank you for the provided project and details.

I was able to observe this behavior, however, I will need more time to debug the source code. I will contact you again in the next couple of days with further information regarding your scenario.

Regards,
Dinko
Progress Telerik

Remote troubleshooting is now easier with Telerik Fiddler Jam. Get the full context to end-users' issues in just three steps! Start your trial here - https://www.telerik.com/fiddler-jam.