InMemorySkiaSharpChart
Class

Assembly LiveChartsCore.SkiaSharpView
Namespace LiveChartsCore.SkiaSharpView.SKCharts

Summary:
A chart that is able to generate images or draw to a given canvas.

Inheritance:
Object =>
InMemorySkiaSharpChart
Derived:

Constructors

// Initializes a new instance of the InMemorySkiaSharpChart class.

Properties

Gets the core canvas.
Type: MotionCanvas<SkiaSharpDrawingContext>
Gets the core.
Type: IChart
Gets or sets the background.
Type: SKColor
Gets or sets the height.
Type: Int32
Gets or sets the width.
Type: Int32

Methods

// Gets the current SKSurface.
// Saves the image to the specified path.
Stream stream, // The stream.
SKEncodedImageFormat format, // The format.
Int32 quality// The quality, an integer from 0 to 100.
)
// Saves the image to the specified path.
String path, // The path.
SKEncodedImageFormat format, // The format.
Int32 quality// The quality, an integer from 0 to 100.
)
// Draws the image to the specified canvas.
SKCanvas canvas, // The canvas
Boolean clearCanvasOnBeginDraw// Indicates whether the canvas should be cleared when the draw starts, default is false.
)
// Draws the chart to the specified canvas.
SKCanvas canvas, // The canvas.
SKSurface surface, // The surface.
Boolean clearCanvasOnBeginDraw// [probably an obsolete param] Indicates whether the canvas should be cleared when the draw starts, default is false.
)