Gauges not updating on value change #1819
Unanswered
DefinitivVair0
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @DefinitivVair0, Have you considered changing your Example:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I am currently rewriting my program, updating it to LiveCharts V2 and ran into the problem that I can't get my gauges to update. I am using an ObservableCollection and every other object (PieChart and CartesianChart) work perfectly fine with
public static ObservableCollection<long> value = new ObservableCollection<long> { 0 };
and later changing it withvalue[0] = Convert.ToInt64(funnyNumber);.
When trying with the gauge, it takes the value from the declaration but after that nothing changes no matter what I do.
Small example:
Main Window Constructor:
Main Logic:
View Model:
And xaml:
I am going completely insane here so any help is appreciated. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions