Hi,
I updated the control to version 17.2.0.51 and the problem seems fixed.
I found another issue: one of my four charts is a Stacked doughnut with a CenterView, containg an image. This is the code of the xaml part:
<chart:DoughnutSeries.CenterView>
<ffimageloading:CachedImage x:Name="centerImage" Aspect="AspectFill" DownsampleToViewSize="True" HeightRequest="{Binding InnerRadius, Converter={StaticResource ImageSize}, ConverterParameter=Series}" HorizontalOptions="Center" VerticalOptions="Center" WidthRequest="{Binding InnerRadius, Converter={StaticResource ImageSize}, ConverterParameter=Series}">
<ffimageloading:CachedImage.Transformations>
<fftransformations:CircleTransformation />
</ffimageloading:CachedImage.Transformations>
</ffimageloading:CachedImage>
</chart:DoughnutSeries.CenterView>
This is the converter:
public class ImageSizeConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (value == null)
return value;
float size = (float)value;
return float.IsNaN(size) ? 0 : /*(Device.RuntimePlatform == Device.Android) ? size / 1.75 + 4 :*/ (size * 2) - 10;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
return value;
}
}
The first time the chart loads, it displays the image correctly. From the second time, the image disappears. I took the code from one of your samples, but I don't remember which one. What am I doing wrong?
Thanks in advance,
Matteo