Class PlottableAdder
- Namespace
- ScottPlot
- Assembly
- ScottPlot.dll
Helper methods to create plottable objects and add them to the plot
public class PlottableAdder
- Inheritance
-
PlottableAdder
- Inherited Members
- Extension Methods
Constructors
PlottableAdder(Plot)
Helper methods to create plottable objects and add them to the plot
public PlottableAdder(Plot plot)
Parameters
plotPlot
Properties
Palette
Color set used for adding new plottables
public IPalette Palette { get; set; }
Property Value
Plot
public Plot Plot { get; }
Property Value
Methods
Annotation(string, Alignment)
public Annotation Annotation(string text, Alignment alignment = Alignment.UpperLeft)
Parameters
Returns
AnnularEllipticalSector(Coordinates, double, double, double, double, Angle, Angle, Angle?)
public Ellipse AnnularEllipticalSector(Coordinates center, double outerRadiusX, double outerRadiusY, double innerRadiusX, double innerRadiusY, Angle startAngle, Angle sweepAngle, Angle? rotation = null)
Parameters
centerCoordinatesouterRadiusXdoubleouterRadiusYdoubleinnerRadiusXdoubleinnerRadiusYdoublestartAngleAnglesweepAngleAnglerotationAngle?
Returns
AnnularEllipticalSector(int, int, double, double, double, double, Angle, Angle, Angle?)
public Ellipse AnnularEllipticalSector(int xCenter, int yCenter, double outerRadiusX, double outerRadiusY, double innerRadiusX, double innerRadiusY, Angle startAngle, Angle sweepAngle, Angle? rotation = null)
Parameters
xCenterintyCenterintouterRadiusXdoubleouterRadiusYdoubleinnerRadiusXdoubleinnerRadiusYdoublestartAngleAnglesweepAngleAnglerotationAngle?
Returns
AnnularSector(Coordinates, double, double, Angle, Angle, Angle?)
public Ellipse AnnularSector(Coordinates center, double outerRadius, double innerRadius, Angle startAngle, Angle sweepAngle, Angle? rotation = null)
Parameters
centerCoordinatesouterRadiusdoubleinnerRadiusdoublestartAngleAnglesweepAngleAnglerotationAngle?
Returns
AnnularSector(int, int, double, double, Angle, Angle, Angle?)
public Ellipse AnnularSector(int xCenter, int yCenter, double outerRadius, double innerRadius, Angle startAngle, Angle sweepAngle, Angle? rotation = null)
Parameters
xCenterintyCenterintouterRadiusdoubleinnerRadiusdoublestartAngleAnglesweepAngleAnglerotationAngle?
Returns
Arc(Coordinates, double, Angle, Angle)
public Ellipse Arc(Coordinates center, double radius, Angle startAngle, Angle sweepAngle)
Parameters
centerCoordinatesradiusdoublestartAngleAnglesweepAngleAngle
Returns
Arc(double, double, double, Angle, Angle)
public Ellipse Arc(double xCenter, double yCenter, double radius, Angle startAngle, Angle sweepAngle)
Parameters
Returns
Arrow(CoordinateLine)
public Arrow Arrow(CoordinateLine line)
Parameters
lineCoordinateLine
Returns
Arrow(Coordinates, Coordinates)
public Arrow Arrow(Coordinates arrowBase, Coordinates arrowTip)
Parameters
arrowBaseCoordinatesarrowTipCoordinates
Returns
Arrow(double, double, double, double)
public Arrow Arrow(double xBase, double yBase, double xTip, double yTip)
Parameters
Returns
BackgroundText(string, Color?, double)
public Annotation BackgroundText(string text, Color? color = null, double size = 48)
Parameters
Returns
BackgroundText(string, string, Color?, double, double)
public (Annotation line1, Annotation line2) BackgroundText(string line1, string line2, Color? color = null, double size1 = 48, double size2 = 24)
Parameters
Returns
Bar(Bar)
public BarPlot Bar(Bar bar)
Parameters
barBar
Returns
Bar(double, double, double)
public BarPlot Bar(double position, double value, double error = 0)
Parameters
Returns
Bars(Bar[])
public BarPlot Bars(Bar[] bars)
Parameters
barsBar[]
Returns
Bars(IEnumerable<double>, IEnumerable<double>)
public BarPlot Bars(IEnumerable<double> positions, IEnumerable<double> values)
Parameters
positionsIEnumerable<double>valuesIEnumerable<double>
Returns
Bars(List<Bar>)
public BarPlot Bars(List<Bar> bars)
Parameters
Returns
Bars(double[])
public BarPlot Bars(double[] values)
Parameters
valuesdouble[]
Returns
Bars<T>(IEnumerable<double>, IEnumerable<T>)
public BarPlot Bars<T>(IEnumerable<double> positions, IEnumerable<T> values)
Parameters
positionsIEnumerable<double>valuesIEnumerable<T>
Returns
Type Parameters
T
Box(Box)
public BoxPlot Box(Box box)
Parameters
boxBox
Returns
Boxes(IEnumerable<Box>)
public BoxPlot Boxes(IEnumerable<Box> boxes)
Parameters
boxesIEnumerable<Box>
Returns
Bracket(CoordinateLine, string?)
public Bracket Bracket(CoordinateLine line, string? label = null)
Parameters
lineCoordinateLinelabelstring
Returns
Bracket(Coordinates, Coordinates, string?)
public Bracket Bracket(Coordinates point1, Coordinates point2, string? label = null)
Parameters
point1Coordinatespoint2Coordinateslabelstring
Returns
Bracket(double, double, double, double, string?)
public Bracket Bracket(double x1, double y1, double x2, double y2, string? label = null)
Parameters
Returns
Callout(string, Coordinates, Coordinates)
public Callout Callout(string text, Coordinates textLocation, Coordinates tipLocation)
Parameters
textstringtextLocationCoordinatestipLocationCoordinates
Returns
Callout(string, double, double, double, double)
public Callout Callout(string text, double textX, double textY, double tipX, double tipY)
Parameters
Returns
Candlestick(OHLC[])
public CandlestickPlot Candlestick(OHLC[] ohlcs)
Parameters
ohlcsOHLC[]
Returns
Candlestick(List<OHLC>)
public CandlestickPlot Candlestick(List<OHLC> ohlcs)
Parameters
Returns
Circle(Coordinates, double)
public Ellipse Circle(Coordinates center, double radius)
Parameters
centerCoordinatesradiusdouble
Returns
Circle(double, double, double)
public Ellipse Circle(double xCenter, double yCenter, double radius)
Parameters
Returns
CircleSector(Coordinates, double, Angle, Angle)
public Ellipse CircleSector(Coordinates center, double radius, Angle startAngle, Angle sweepAngle)
Parameters
centerCoordinatesradiusdoublestartAngleAnglesweepAngleAngle
Returns
CircleSector(int, int, int, Angle, Angle)
public Ellipse CircleSector(int xCenter, int yCenter, int radius, Angle startAngle, Angle sweepAngle)
Parameters
Returns
ColorBar(IHasColorAxis, Edge)
public ColorBar ColorBar(IHasColorAxis source, Edge edge = Edge.Right)
Parameters
sourceIHasColorAxisedgeEdge
Returns
ContourLines(Coordinates3d[,], int)
public ContourLines ContourLines(Coordinates3d[,] coordinates, int count = 10)
Parameters
coordinatesCoordinates3d[,]countint
Returns
ContourLines(Coordinates3d[], int)
public ContourLines ContourLines(Coordinates3d[] coordinates, int count = 10)
Parameters
coordinatesCoordinates3d[]countint
Returns
Coxcomb(IEnumerable<double>)
public Coxcomb Coxcomb(IEnumerable<double> values)
Parameters
valuesIEnumerable<double>
Returns
Coxcomb(IList<PieSlice>)
public Coxcomb Coxcomb(IList<PieSlice> slices)
Parameters
Returns
Crosshair(double, double)
public Crosshair Crosshair(double x, double y)
Parameters
Returns
DataLogger()
public DataLogger DataLogger()
Returns
DataLogger(List<Coordinates>)
public DataLogger DataLogger(List<Coordinates> coordinates)
Parameters
coordinatesList<Coordinates>
Returns
DataStreamer(int, double)
public DataStreamer DataStreamer(int points, double period = 1)
Parameters
Returns
DataStreamerXY(int)
public DataStreamerXY DataStreamerXY(int capacity)
Parameters
capacityint
Returns
Ellipse(Coordinates, double, double, Angle?)
public Ellipse Ellipse(Coordinates center, double radiusX, double radiusY, Angle? rotation = null)
Parameters
centerCoordinatesradiusXdoubleradiusYdoublerotationAngle?
Returns
Ellipse(double, double, double, double, Angle?)
public Ellipse Ellipse(double xCenter, double yCenter, double radiusX, double radiusY, Angle? rotation = null)
Parameters
Returns
EllipticalArc(Coordinates, double, double, Angle, Angle, Angle?)
public Ellipse EllipticalArc(Coordinates center, double radiusX, double radiusY, Angle startAngle, Angle sweepAngle, Angle? rotation = null)
Parameters
Returns
EllipticalArc(double, double, double, double, Angle, Angle, Angle?)
public Ellipse EllipticalArc(double xCenter, double yCenter, double radiusX, double radiusY, Angle startAngle, Angle sweepAngle, Angle? rotation = null)
Parameters
xCenterdoubleyCenterdoubleradiusXdoubleradiusYdoublestartAngleAnglesweepAngleAnglerotationAngle?
Returns
EllipticalSector(Coordinates, double, double, Angle, Angle, Angle?)
public Ellipse EllipticalSector(Coordinates center, double radiusX, double radiusY, Angle startAngle, Angle sweepAngle, Angle? rotation = null)
Parameters
Returns
EllipticalSector(double, double, double, double, Angle, Angle, Angle?)
public Ellipse EllipticalSector(double xCenter, double yCenter, double radiusX, double radiusY, Angle startAngle, Angle sweepAngle, Angle? rotation = null)
Parameters
xCenterdoubleyCenterdoubleradiusXdoubleradiusYdoublestartAngleAnglesweepAngleAnglerotationAngle?
Returns
ErrorBar(IReadOnlyList<double>, IReadOnlyList<double>, IReadOnlyList<double>)
public ErrorBar ErrorBar(IReadOnlyList<double> xs, IReadOnlyList<double> ys, IReadOnlyList<double> yErrors)
Parameters
xsIReadOnlyList<double>ysIReadOnlyList<double>yErrorsIReadOnlyList<double>
Returns
FillY(Scatter, Scatter)
Fill the vertical range between two Y points for each X point
public FillY FillY(Scatter scatter1, Scatter scatter2)
Parameters
Returns
FillY(ICollection<(double X, double Top, double Bottom)>)
Fill the vertical range between two Y points for each X point
public FillY FillY(ICollection<(double X, double Top, double Bottom)> data)
Parameters
Returns
FillY(double[], double[], double[])
Fill the vertical range between two Y points for each X point
public FillY FillY(double[] xs, double[] ys1, double[] ys2)
Parameters
Returns
FillY<T>(ICollection<T>, Func<T, (double X, double Top, double Bottom)>)
Fill the vertical range between two Y points for each X point This overload uses a custom function to calculate X, Y1, and Y2 values
public FillY FillY<T>(ICollection<T> data, Func<T, (double X, double Top, double Bottom)> function)
Parameters
Returns
Type Parameters
T
Function(IFunctionSource)
public FunctionPlot Function(IFunctionSource functionSource)
Parameters
functionSourceIFunctionSource
Returns
Function(Func<double, double>)
public FunctionPlot Function(Func<double, double> func)
Parameters
Returns
GetNextColor(bool)
Return the next color of the Palette. Colors reset if PlottableList is cleared.
public Color GetNextColor(bool incrementCounter = true)
Parameters
incrementCounterbool
Returns
Heatmap(Coordinates3d[,])
public Heatmap Heatmap(Coordinates3d[,] values)
Parameters
valuesCoordinates3d[,]
Returns
Heatmap(double[,])
public Heatmap Heatmap(double[,] intensities)
Parameters
intensitiesdouble[,]
Returns
Histogram(Histogram, Color?, bool)
public HistogramBars Histogram(Histogram histogram, Color? color = null, bool disableBottomPadding = true)
Parameters
Returns
HorizontalLine(double, float, Color?, LinePattern)
public HorizontalLine HorizontalLine(double y, float width = 2, Color? color = null, LinePattern pattern = default)
Parameters
ydoublewidthfloatcolorColor?patternLinePattern
Returns
HorizontalSpan(double, double, Color?)
public HorizontalSpan HorizontalSpan(double x1, double x2, Color? color = null)
Parameters
Returns
ImageMarker(Coordinates, Image, float)
public ImageMarker ImageMarker(Coordinates location, Image image, float scale = 1)
Parameters
locationCoordinatesimageImagescalefloat
Returns
ImageRect(Image, CoordinateRect)
public ImageRect ImageRect(Image image, CoordinateRect rect)
Parameters
imageImagerectCoordinateRect
Returns
InteractiveHorizontalLine(double)
public InteractiveHorizontalLine InteractiveHorizontalLine(double y)
Parameters
ydouble
Returns
InteractiveHorizontalLineSegment(double, double, double)
public InteractiveHorizontalLineSegment InteractiveHorizontalLineSegment(double x1, double x2, double y)
Parameters
Returns
InteractiveHorizontalSpan(double, double)
public InteractiveHorizontalSpan InteractiveHorizontalSpan(double x1, double x2)
Parameters
Returns
InteractiveLineSegment(CoordinateLine)
public InteractiveLineSegment InteractiveLineSegment(CoordinateLine line)
Parameters
lineCoordinateLine
Returns
InteractiveMarker(Coordinates)
public InteractiveMarker InteractiveMarker(Coordinates point)
Parameters
pointCoordinates
Returns
InteractiveRectangle(CoordinateRect)
public InteractiveRectangle InteractiveRectangle(CoordinateRect rect)
Parameters
rectCoordinateRect
Returns
InteractiveVerticalLine(double)
public InteractiveVerticalLine InteractiveVerticalLine(double x)
Parameters
xdouble
Returns
InteractiveVerticalLineSegment(double, double, double)
public InteractiveVerticalLineSegment InteractiveVerticalLineSegment(double x, double y1, double y2)
Parameters
Returns
InteractiveVerticalSpan(double, double)
public InteractiveVerticalSpan InteractiveVerticalSpan(double y1, double y2)
Parameters
Returns
Legend()
public Legend Legend()
Returns
Line(CoordinateLine)
public LinePlot Line(CoordinateLine line)
Parameters
lineCoordinateLine
Returns
Line(Coordinates, Coordinates)
public LinePlot Line(Coordinates start, Coordinates end)
Parameters
startCoordinatesendCoordinates
Returns
Line(double, double, double, double)
public LinePlot Line(double x1, double y1, double x2, double y2)
Parameters
Returns
Lollipop(IEnumerable<Coordinates>)
public LollipopPlot Lollipop(IEnumerable<Coordinates> coordinates)
Parameters
coordinatesIEnumerable<Coordinates>
Returns
Lollipop(double[])
public LollipopPlot Lollipop(double[] values)
Parameters
valuesdouble[]
Returns
Lollipop(double[], double[])
public LollipopPlot Lollipop(double[] values, double[] positions)
Parameters
Returns
Marker(Coordinates, MarkerShape, float, Color?)
public Marker Marker(Coordinates location, MarkerShape shape = MarkerShape.FilledCircle, float size = 10, Color? color = null)
Parameters
locationCoordinatesshapeMarkerShapesizefloatcolorColor?
Returns
Marker(double, double, MarkerShape, float, Color?)
public Marker Marker(double x, double y, MarkerShape shape = MarkerShape.FilledCircle, float size = 10, Color? color = null)
Parameters
xdoubleydoubleshapeMarkerShapesizefloatcolorColor?
Returns
Markers(Coordinates[], MarkerShape, float, Color?)
public Markers Markers(Coordinates[] coordinates, MarkerShape shape = MarkerShape.FilledCircle, float size = 10, Color? color = null)
Parameters
coordinatesCoordinates[]shapeMarkerShapesizefloatcolorColor?
Returns
Markers(List<Coordinates>, MarkerShape, float, Color?)
public Markers Markers(List<Coordinates> coordinates, MarkerShape shape = MarkerShape.FilledCircle, float size = 10, Color? color = null)
Parameters
coordinatesList<Coordinates>shapeMarkerShapesizefloatcolorColor?
Returns
Markers(double[], double[], MarkerShape, float, Color?)
public Markers Markers(double[] xs, double[] ys, MarkerShape shape = MarkerShape.FilledCircle, float size = 10, Color? color = null)
Parameters
xsdouble[]ysdouble[]shapeMarkerShapesizefloatcolorColor?
Returns
Markers<TX, TY>(List<TX>, List<TY>, MarkerShape, float, Color?)
public Markers Markers<TX, TY>(List<TX> xs, List<TY> ys, MarkerShape shape = MarkerShape.FilledCircle, float size = 10, Color? color = null)
Parameters
xsList<TX>ysList<TY>shapeMarkerShapesizefloatcolorColor?
Returns
Type Parameters
TXTY
Markers<TX, TY>(TX[], TY[], MarkerShape, float, Color?)
public Markers Markers<TX, TY>(TX[] xs, TY[] ys, MarkerShape shape = MarkerShape.FilledCircle, float size = 10, Color? color = null)
Parameters
xsTX[]ysTY[]shapeMarkerShapesizefloatcolorColor?
Returns
Type Parameters
TXTY
OHLC(List<OHLC>)
public OhlcPlot OHLC(List<OHLC> ohlcs)
Parameters
Returns
Phasor()
public Phasor Phasor()
Returns
Phasor(IEnumerable<PolarCoordinates>)
public Phasor Phasor(IEnumerable<PolarCoordinates> points)
Parameters
pointsIEnumerable<PolarCoordinates>
Returns
Pie(IEnumerable<double>)
public Pie Pie(IEnumerable<double> values)
Parameters
valuesIEnumerable<double>
Returns
Pie(IList<PieSlice>)
public Pie Pie(IList<PieSlice> slices)
Parameters
Returns
Plottable(IPlottable)
public IPlottable Plottable(IPlottable plottable)
Parameters
plottableIPlottable
Returns
PolarAxis(double, double, int, int)
public PolarAxis PolarAxis(double radius = 1, double spokeLength = 1.1, int circleCount = 5, int spokeCount = 12)
Parameters
Returns
Polygon(Coordinates[])
public Polygon Polygon(Coordinates[] coordinates)
Parameters
coordinatesCoordinates[]
Returns
Polygon<TX, TY>(IEnumerable<TX>, IEnumerable<TY>)
public Polygon Polygon<TX, TY>(IEnumerable<TX> xs, IEnumerable<TY> ys)
Parameters
xsIEnumerable<TX>ysIEnumerable<TY>
Returns
Type Parameters
TXTY
Population(double[], double)
public PopulationSymbol Population(double[] values, double x = 0)
Parameters
Returns
Radar()
public Radar Radar()
Returns
Radar(IEnumerable<IEnumerable<double>>)
public Radar Radar(IEnumerable<IEnumerable<double>> series)
Parameters
seriesIEnumerable<IEnumerable<double>>
Returns
Radar(double[,])
public Radar Radar(double[,] values)
Parameters
valuesdouble[,]
Returns
Radar(double[])
public Radar Radar(double[] values)
Parameters
valuesdouble[]
Returns
RadialGaugePlot(IEnumerable<double>)
public RadialGaugePlot RadialGaugePlot(IEnumerable<double> values)
Parameters
valuesIEnumerable<double>
Returns
Ranges(List<(string name, CoordinateRange range)>, Color?, bool)
Create a bar plot to represent a collection of named ranges
public BarPlot Ranges(List<(string name, CoordinateRange range)> ranges, Color? color = null, bool horizontal = false)
Parameters
Returns
Rectangle(CoordinateRect)
public Rectangle Rectangle(CoordinateRect rect)
Parameters
rectCoordinateRect
Returns
Rectangle(double, double, double, double)
public Rectangle Rectangle(double left, double right, double bottom, double top)
Parameters
Returns
ScaleBar(double, double)
public ScaleBar ScaleBar(double width, double height)
Parameters
Returns
Scatter(Coordinates, Color?)
public Scatter Scatter(Coordinates point, Color? color = null)
Parameters
pointCoordinatescolorColor?
Returns
Scatter(Coordinates[], Color?)
public Scatter Scatter(Coordinates[] coordinates, Color? color = null)
Parameters
coordinatesCoordinates[]colorColor?
Returns
Scatter(IScatterSource, Color?)
public Scatter Scatter(IScatterSource source, Color? color = null)
Parameters
sourceIScatterSourcecolorColor?
Returns
Scatter(List<Coordinates>, Color?)
public Scatter Scatter(List<Coordinates> coordinates, Color? color = null)
Parameters
coordinatesList<Coordinates>colorColor?
Returns
Scatter(double, double, Color?)
public Scatter Scatter(double x, double y, Color? color = null)
Parameters
Returns
Scatter(double[], double[], Color?)
public Scatter Scatter(double[] xs, double[] ys, Color? color = null)
Parameters
Returns
ScatterLine(Coordinates[], Color?)
public Scatter ScatterLine(Coordinates[] coordinates, Color? color = null)
Parameters
coordinatesCoordinates[]colorColor?
Returns
ScatterLine(IScatterSource, Color?)
public Scatter ScatterLine(IScatterSource source, Color? color = null)
Parameters
sourceIScatterSourcecolorColor?
Returns
ScatterLine(List<Coordinates>, Color?)
public Scatter ScatterLine(List<Coordinates> coordinates, Color? color = null)
Parameters
coordinatesList<Coordinates>colorColor?
Returns
ScatterLine(double[], double[], Color?)
public Scatter ScatterLine(double[] xs, double[] ys, Color? color = null)
Parameters
Returns
ScatterLine<T1, T2>(List<T1>, List<T2>, Color?)
public Scatter ScatterLine<T1, T2>(List<T1> xs, List<T2> ys, Color? color = null)
Parameters
Returns
Type Parameters
T1T2
ScatterLine<T1, T2>(T1[], T2[], Color?)
public Scatter ScatterLine<T1, T2>(T1[] xs, T2[] ys, Color? color = null)
Parameters
xsT1[]ysT2[]colorColor?
Returns
Type Parameters
T1T2
ScatterPoints(Coordinates[], Color?)
public Scatter ScatterPoints(Coordinates[] coordinates, Color? color = null)
Parameters
coordinatesCoordinates[]colorColor?
Returns
ScatterPoints(IScatterSource, Color?)
public Scatter ScatterPoints(IScatterSource source, Color? color = null)
Parameters
sourceIScatterSourcecolorColor?
Returns
ScatterPoints(List<Coordinates>, Color?)
public Scatter ScatterPoints(List<Coordinates> coordinates, Color? color = null)
Parameters
coordinatesList<Coordinates>colorColor?
Returns
ScatterPoints(double[], double[], Color?)
public Scatter ScatterPoints(double[] xs, double[] ys, Color? color = null)
Parameters
Returns
ScatterPoints<T1, T2>(List<T1>, List<T2>, Color?)
public Scatter ScatterPoints<T1, T2>(List<T1> xs, List<T2> ys, Color? color = null)
Parameters
Returns
Type Parameters
T1T2
ScatterPoints<T1, T2>(T1[], T2[], Color?)
public Scatter ScatterPoints<T1, T2>(T1[] xs, T2[] ys, Color? color = null)
Parameters
xsT1[]ysT2[]colorColor?
Returns
Type Parameters
T1T2
Scatter<T1, T2>(List<T1>, List<T2>, Color?)
public Scatter Scatter<T1, T2>(List<T1> xs, List<T2> ys, Color? color = null)
Parameters
Returns
Type Parameters
T1T2
Scatter<T1, T2>(T1[], T2[], Color?)
public Scatter Scatter<T1, T2>(T1[] xs, T2[] ys, Color? color = null)
Parameters
xsT1[]ysT2[]colorColor?
Returns
Type Parameters
T1T2
Signal(ISignalSource, Color?)
public Signal Signal(ISignalSource source, Color? color = null)
Parameters
sourceISignalSourcecolorColor?
Returns
Signal(double[], double, Color?)
public Signal Signal(double[] ys, double period = 1, Color? color = null)
Parameters
Returns
SignalConst<T>(T[], double, Color?)
public Signal SignalConst<T>(T[] ys, double period = 1, Color? color = null) where T : struct, IComparable
Parameters
Returns
Type Parameters
T
SignalXY(ISignalXYSource, Color?)
public SignalXY SignalXY(ISignalXYSource source, Color? color = null)
Parameters
sourceISignalXYSourcecolorColor?
Returns
SignalXY(double[], double[], Color?)
public SignalXY SignalXY(double[] xs, double[] ys, Color? color = null)
Parameters
Returns
SignalXY<TX, TY>(IReadOnlyList<TX>, IReadOnlyList<TY>, Color?)
public SignalXY SignalXY<TX, TY>(IReadOnlyList<TX> xs, IReadOnlyList<TY> ys, Color? color = null)
Parameters
xsIReadOnlyList<TX>ysIReadOnlyList<TY>colorColor?
Returns
Type Parameters
TXTY
SignalXY<TX, TY>(TX[], TY[], Color?)
public SignalXY SignalXY<TX, TY>(TX[] xs, TY[] ys, Color? color = null)
Parameters
xsTX[]ysTY[]colorColor?
Returns
Type Parameters
TXTY
Signal<T>(IReadOnlyList<T>, double, Color?)
public Signal Signal<T>(IReadOnlyList<T> ys, double period = 1, Color? color = null)
Parameters
ysIReadOnlyList<T>perioddoublecolorColor?
Returns
Type Parameters
T
Signal<T>(T[], double, Color?)
public Signal Signal<T>(T[] ys, double period = 1, Color? color = null)
Parameters
Returns
Type Parameters
T
SmithChartAxis()
public SmithChartAxis SmithChartAxis()
Returns
StackedRanges(List<(string name, double[] edgeValues)>, IPalette?, bool)
Place a stacked bar chart at a single position
public BarPlot[] StackedRanges(List<(string name, double[] edgeValues)> ranges, IPalette? palette = null, bool horizontal = false)
Parameters
Returns
- BarPlot[]
Text(string, Coordinates)
public Text Text(string text, Coordinates location)
Parameters
textstringlocationCoordinates
Returns
Text(string, double, double)
public Text Text(string text, double x, double y)
Parameters
Returns
Tooltip(Coordinates, string, Coordinates)
public Tooltip Tooltip(Coordinates tipLocation, string text, Coordinates labelLocation)
Parameters
tipLocationCoordinatestextstringlabelLocationCoordinates
Returns
Tooltip(double, double, string, double, double)
public Tooltip Tooltip(double tipX, double tipY, string text, double labelX, double labelY)
Parameters
Returns
TriangularAxis(bool, bool, bool)
public TriangularAxis TriangularAxis(bool clockwise = true, bool hideAxisAndGrid = true, bool useSquareAxisUnits = true)
Parameters
Returns
VectorField(IList<RootedCoordinateVector>, Color?)
public VectorField VectorField(IList<RootedCoordinateVector> vectors, Color? color = null)
Parameters
vectorsIList<RootedCoordinateVector>colorColor?
Returns
VerticalLine(double, float, Color?, LinePattern)
public VerticalLine VerticalLine(double x, float width = 2, Color? color = null, LinePattern pattern = default)
Parameters
xdoublewidthfloatcolorColor?patternLinePattern
Returns
VerticalSpan(double, double, Color?)
public VerticalSpan VerticalSpan(double y1, double y2, Color? color = null)