-
Notifications
You must be signed in to change notification settings - Fork 601
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 not updating when changing Axis value ShowSeparatorLines #413
Comments
This might help? In my code I use:
|
strange 🤔 I will investigate this. |
Thank you for this link. I do not hold a reference to the Chart in the ViewModel normally so this might be an issue, but still worth investigating! |
Fixed with the referenced commit and will be included in the next version of the library. |
Hi @beto-rodriguez the changes you made have improved the situation, but it seems the issue partially remain still:
|
Thanks for the update, I will take a look. |
Ok it seems that I got this now with the referenced commit. Thanks for the update and the issue, this will be included in the next version of the library. |
Describe the bug
When changing the ShowSeparatorLines value of an Axis, the chart is not update automatically. I'm using live charts v2 (2.0.0-beta.101 also tested with 2.0.0-beta.60) and I have the following Nugets added to the test project: liveChartsCore & liveChartsCore.SkiaSharpView.WinForms.
To Reproduce
Note: If I toggle the Axis IsVisible value twice (through a button) the axis will display the Separator Lines correctly
Expected behavior
My understanding is that all the values from an Axis trigger change Notification. Some values do impact the Axis instantly (like changing the SeparatorsPaint value, the label rotation, the visibility).
Screenshots
![Demo-livecharts-v2-separatorLines](https://user-images.githubusercontent.com/1083543/156610118-caaaa3c7-90a4-4eb8-81e6-17c11a42c36b.gif)
See attached Gif
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: