Skip to content

Conversation

@aruljenithberkmans
Copy link
Contributor

@aruljenithberkmans aruljenithberkmans commented Mar 11, 2025

Root Cause of the Issue

The issue occurred because the text measure font manager wasn't set when the chart view handler was null, especially after navigating back to the base view. This caused the chart axis labels to overlap the chart area.

Description of Change

We fixed the issue by implementing a fallback to provide a default font manager when the chart view handler is null. This ensures the axis labels are always measured and rendered correctly, even after navigation.

Issues Fixed

Fixes: #85

Test Cases

  • Tested the tooltip text and position for navigation.
  • Tested the Data Label text and position for navigation it rendered as expected.
  • Tested the trackball labels text and position.

Screenshots

Before:

NavigationBeforeChanges.mp4

After:

NavigationAfterChanges.mp4

@Saravanan-Madhesh
Copy link
Collaborator

@aruljenithberkmans mention test cases.

Copy link
Collaborator

@Saravanan-Madhesh Saravanan-Madhesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes was confirmed.

@Saravanan-Madhesh Saravanan-Madhesh added bug Something isn't working chart Chart and graph related issues labels Mar 11, 2025
@PaulAndersonS PaulAndersonS merged commit d8eaa8b into syncfusion:main Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working chart Chart and graph related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SfCartesianChart LineChart draw under y-as labels

3 participants