Hello,
I created an interface using library 2020.2.624.1 in Xamarin Forms project in which there are two different chart:
- a pie chart, where are showed all my data collection
- a stacked bar chart, in which are showed different data derived from the previous dataset.
In my ViewModel I calculate data for the pie chart and then data for the bar chart. In my XAML View, each chart has different "ItemSource".
What happened is that, at the end of calculation, the same data showed (correctly) in the stacked bar chart are also showed (incorrectly) in the pie chart (see attached image).
On the other hand, when I exclude (comment) calculation for the stacked bar chart, the correct dataset is showed on the pie chart.
I am not able to find any solution.
Thanks in advance,
Davide
Hi Davide,
I would need more details on the concrete scenario, so I can research what exactly went wrong. Could you post at least the ViewModel with the calculations and the Charts definitions?