Skip to content

Conversation

@dmlvr
Copy link
Contributor

@dmlvr dmlvr commented Dec 29, 2025

No description provided.

@dmlvr dmlvr force-pushed the chart_26_1_argumentaxisclick_triggered_for_removed_labels branch from e8492cb to b44d619 Compare December 29, 2025 11:48
@dmlvr dmlvr changed the title DRAFT: centralize tick cleanup and creation via setTicks in createTicks DRAFT: T1317590 spike Dec 29, 2025
@dmlvr dmlvr force-pushed the chart_26_1_argumentaxisclick_triggered_for_removed_labels branch from b44d619 to 9e02caa Compare December 29, 2025 13:34
@dmlvr dmlvr self-assigned this Dec 29, 2025
@dmlvr dmlvr changed the title DRAFT: T1317590 spike T1317590 - Chart - ArgumentAxisClick is triggered for removed labels Dec 30, 2025
@dmlvr dmlvr marked this pull request as ready for review December 30, 2025 11:31
@dmlvr dmlvr requested a review from a team as a code owner December 30, 2025 11:31
Copilot AI review requested due to automatic review settings December 30, 2025 11:31
@dmlvr dmlvr added the 26_1 label Dec 30, 2025
Copy link
Contributor

Copilot AI left a 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

@dmlvr dmlvr changed the title T1317590 - Chart - ArgumentAxisClick is triggered for removed labels Navigation: T1317590 - Chart - ArgumentAxisClick is triggered for removed labels Dec 30, 2025
@dmlvr dmlvr merged commit 281af18 into DevExpress:26_1 Dec 30, 2025
98 of 99 checks passed
dmlvr added a commit to dmlvr/DevExtreme that referenced this pull request Dec 30, 2025
dmlvr added a commit to dmlvr/DevExtreme that referenced this pull request Dec 30, 2025
@pharret31 pharret31 changed the title Navigation: T1317590 - Chart - ArgumentAxisClick is triggered for removed labels Chart: ArgumentAxisClick is triggered for removed labels (T1317590) Dec 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants