Table of Contents

Class PlotSeries

Namespace
PluginUI
Assembly
PluginUI.dll

A curve of a Plot: a function sampled across the width, or explicit points.

public sealed class PlotSeries
Inheritance
PlotSeries
Inherited Members

Constructors

PlotSeries(IReadOnlyList<Point>, Color?)

Creates a series from points (data coordinates).

public PlotSeries(IReadOnlyList<Point> points, Color? color = null)

Parameters

points IReadOnlyList<Point>
color Color?

PlotSeries(Func<double, double>, Color?)

Creates a series from a function y = f(x).

public PlotSeries(Func<double, double> function, Color? color = null)

Parameters

function Func<double, double>
color Color?

Properties

Color

Color (null = theme accent).

public Color? Color { get; set; }

Property Value

Color?

Fill

Fills between the curve and the FillBaseline.

public bool Fill { get; set; }

Property Value

bool

Function

Function (null when Points is used).

[Browsable(false)]
public Func<double, double>? Function { get; set; }

Property Value

Func<double, double>

IsVisible

Hidden series are not drawn.

public bool IsVisible { get; set; }

Property Value

bool

Name

Optional legend name.

public string? Name { get; set; }

Property Value

string

Points

Points in data coordinates (null when Function is used).

public IReadOnlyList<Point>? Points { get; set; }

Property Value

IReadOnlyList<Point>

Thickness

Line thickness.

public float Thickness { get; set; }

Property Value

float