Skip to content
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

Hiding series does not remove labels (WPF?) #1710

Open
mythjuha opened this issue Nov 22, 2024 · 0 comments
Open

Hiding series does not remove labels (WPF?) #1710

mythjuha opened this issue Nov 22, 2024 · 0 comments

Comments

@mythjuha
Copy link

Describe the bug
When dynamically hiding a series by setting the IsVisible property to false, the series labels in the chart canvas are not removed

To Reproduce
Steps to reproduce the behavior:

  1. Create a graph with a few series, for example a CartesianChart with a few LineSeries
  2. Enable labels in the graph (DataLabelsPaint = new SolidColorPaint(new SKColor(45, 45, 45)))
  3. Click a button in your view that setss the 'IsVisible' property of one of the lineseries to false
  4. Labels aren't updated, and are still visible even though the line itself is gone. Hiding the line might even trigger scale changes of your graph, but the labels remain in their old positions.

Expected behavior
Labels should disappear when setting IsVisible to false

Screenshots
afbeelding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant