LiveChartsSkiaSharp

Defines the default LiveCharts-SkiaSharp settings

Class · Namespace LiveChartsCore.SkiaSharpView · Assembly LiveChartsCore.SkiaSharpView · View source

Inheritance

Object LiveChartsSkiaSharp

Members

Methods

UseDefaults 1 parameter

Configures LiveCharts using the default settings for SkiaSharp.

LiveChartsSettings settings The settings.

AddSkiaSharp 1 parameter

Adds SkiaSharp as the library backend.

LiveChartsSettings settings The settings.

HasGlobalSKTypeface 2 parameters

Registers a global SKTypeface instance to use on any SkiaPaint that does not specify a typeface.

LiveChartsSettings settings The current settings.

SKTypeface typeface The typeface to load for text paints.

HasTextSettings 2 parameters

Registers the text settings to use for SkiaSharp.

LiveChartsSettings settings The current settings.

TextSettings textSettings The text settings to use for SkiaSharp text rendering.

AsSKColor 2 parameters

Converts a LvcColor to a SKColor instance.

LvcColor color The color.

Nullable<Byte> alphaOverrides The alpha overrides.

WithOpacity 2 parameters

Creates a new color based on the

LvcColor color The color.

Byte opacity The opacity from 0 to 255.

AsLvcColor 1 parameter

Converts a SKColor to a LvcColor intance.

SKColor color The color

GetDistanceTo 2 parameters

Calculates the distance in pixels from the target ChartPoint to the given location in the UI.

ChartPoint target The target.

LvcPoint location The location.