SeriesRenderContext Struct
Definition
Provides all the data a Avalonia.Controls.Charts.CartesianSeries needs to render itself inside a Avalonia.Controls.Charts.CartesianChart.
public struct SeriesRenderContext
Constructors
| Name | Description |
|---|---|
| SeriesRenderContext | No summary available. |
SeriesRenderContext Constructor
public SeriesRenderContext(Avalonia.Media.DrawingContext drawingContext, Avalonia.Rect plotArea, System.Collections.Generic.List<object> categories, System.Collections.Generic.Dictionary<object, int> categoryMap, double axisMin, double axisMax, Avalonia.Media.IBrush fillBrush, Avalonia.Media.IBrush strokeBrush, double minX, double maxX, int seriesIndex, Avalonia.Controls.Charts.CartesianChart chart)
Parameters
drawingContext Avalonia.Media.DrawingContext
plotArea Avalonia.Rect
categories System.Collections.Generic.List<object>
categoryMap System.Collections.Generic.Dictionary<object, int>
axisMin double
axisMax double
fillBrush Avalonia.Media.IBrush
strokeBrush Avalonia.Media.IBrush
minX double
maxX double
seriesIndex int
Fields
| Name | Description |
|---|---|
| AxisMax | Gets the effective vertical-axis maximum. |
| AxisMin | Gets the effective vertical-axis minimum. |
| Categories | Gets the resolved category collection for the chart. |
| CategoryMap | Gets the category lookup used to resolve horizontal positions. |
| Chart | Gets the chart requesting the render. |
| DrawingContext | Gets the drawing context for the current render pass. |
| FillBrush | Gets the resolved fill brush for the series. |
| MaxX | Gets the effective horizontal viewport maximum. |
| MinX | Gets the effective horizontal viewport minimum. |
| PlotArea | Gets the plot area in chart coordinates. |
| SeriesIndex | Gets the series index within the owning chart. |
| StrokeBrush | Gets the resolved stroke brush for the series. |
AxisMax Field
Gets the effective vertical-axis maximum.
public double AxisMax
AxisMin Field
Gets the effective vertical-axis minimum.
public double AxisMin
Categories Field
Gets the resolved category collection for the chart.
public System.Collections.Generic.List<object> Categories
CategoryMap Field
Gets the category lookup used to resolve horizontal positions.
public System.Collections.Generic.Dictionary<object, int> CategoryMap
Chart Field
Gets the chart requesting the render.
public Avalonia.Controls.Charts.CartesianChart Chart
DrawingContext Field
Gets the drawing context for the current render pass.
public Avalonia.Media.DrawingContext DrawingContext
FillBrush Field
Gets the resolved fill brush for the series.
public Avalonia.Media.IBrush FillBrush
MaxX Field
Gets the effective horizontal viewport maximum.
public double MaxX
MinX Field
Gets the effective horizontal viewport minimum.
public double MinX
PlotArea Field
Gets the plot area in chart coordinates.
public Avalonia.Rect PlotArea
SeriesIndex Field
Gets the series index within the owning chart.
public int SeriesIndex
StrokeBrush Field
Gets the resolved stroke brush for the series.
public Avalonia.Media.IBrush StrokeBrush