/// <summary>
        /// Adds SkiaSharp as the backend provider for LiveCharts.
        /// </summary>
        /// <param name="settings">The settings.</param>
        /// <returns></returns>
        public static LiveChartsSettings AddSkiaSharp(this LiveChartsSettings settings)
        {
            // ToDo: default paint needs to be simplified???
            LiveCharts.DefaultPaint = DefaultPaintTask;

            return(settings.HasProvider(new SkiaSharpProvider()));
        }
Example #2
0
 /// <summary>
 /// Adds SkiaSharp as the backend provider for LiveCharts.
 /// </summary>
 /// <param name="settings">The settings.</param>
 /// <returns></returns>
 public static LiveChartsSettings AddSkiaSharp(this LiveChartsSettings settings)
 {
     return(settings.HasProvider(new SkiaSharpProvider()));
 }