-
Notifications
You must be signed in to change notification settings - Fork 663
Chart: ArgumentAxisClick is triggered for removed labels (T1317590) #32064
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chart: ArgumentAxisClick is triggered for removed labels (T1317590) #32064
Conversation
e8492cb to
b44d619
Compare
b44d619 to
9e02caa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes issue T1317590 where the ArgumentAxisClick event was being triggered for axis labels that should have been removed after a dataSource update. The fix ensures that argument axis tick labels are properly cleaned up when the chart's data is refreshed.
Key Changes:
- Added logic to remove major and minor tick labels from argument axes during series data updates
- Added a test to verify that old axis labels are properly removed when the dataSource is updated
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| packages/devextreme/js/__internal/viz/m_chart.ts | Implements the fix by calling removeLabel() on all major and minor ticks of argument axes in _handleSeriesDataUpdated() before processing the new data |
| packages/devextreme/testing/tests/DevExpress.viz.charts/chart.integration.tests.js | Adds a QUnit test that verifies axis labels from the old dataSource are removed when a new dataSource is applied |
No description provided.