FastLineRenderableSeries

StockSharp.Xaml.Charting.Visuals.RenderableSeries

Defines a Line renderable series, supporting solid, stroked (thickness 1+) lines, dashed lines and optional Point-markers

Inherits: BaseRenderableSeries

Constructors

FastLineRenderableSeries
public FastLineRenderableSeries()
fastLineRenderableSeries = FastLineRenderableSeries()

Initializes a new instance of the class.

Properties

IsDigitalLine
public bool IsDigitalLine { get; set; }
value = fastLineRenderableSeries.IsDigitalLine
fastLineRenderableSeries.IsDigitalLine = value

Gets or sets a value indicating whether this line series is a digital (step) line

OhlcDrawMode
public OhlcLineDrawMode OhlcDrawMode { get; set; }
value = fastLineRenderableSeries.OhlcDrawMode
fastLineRenderableSeries.OhlcDrawMode = value

OHLC line draw mode.

StrokeDashArray
public double[] StrokeDashArray { get; set; }
value = fastLineRenderableSeries.StrokeDashArray
fastLineRenderableSeries.StrokeDashArray = value

Gets or sets a StrokeDashArray property, used to define a dashed line. See the MSDN Documentation for StrokeDashArray as this property attempts to mimic the same behaviour

Methods

GetIsValidForDrawing
protected override bool GetIsValidForDrawing()
result = fastLineRenderableSeries.GetIsValidForDrawing()

Gets a value indicating whether this BaseRenderableSeries is valid for drawing.

InternalDraw
protected override void InternalDraw(IRenderContext2D renderContext, IRenderPassData renderPassData)
fastLineRenderableSeries.InternalDraw(renderContext, renderPassData)

Draws the series using the IRenderContext2D and the IRenderPassData passed in

renderContext
The render context. This is a graphics object which has methods to draw lines, quads and polygons to the screen
renderPassData
The render pass data. Contains a resampled IPointSeries, the IndexRange of points on the screen and the current YAxis and XAxis ICoordinateCalculator to convert data-points to screen points
OnSeriesColorChanged
protected override void OnSeriesColorChanged()
fastLineRenderableSeries.OnSeriesColorChanged()

Called when the SeriesColor dependency property changes. Allows derived types to do caching

Fields

IsDigitalLineProperty
public static readonly DependencyProperty IsDigitalLineProperty
value = FastLineRenderableSeries.IsDigitalLineProperty

Defines the IsDigitalLine DependencyProperty

OhlcDrawModeProperty
public static readonly DependencyProperty OhlcDrawModeProperty
value = FastLineRenderableSeries.OhlcDrawModeProperty

Defines the OhlcDrawMode DependencyProperty

StrokeDashArrayProperty
public static readonly DependencyProperty StrokeDashArrayProperty
value = FastLineRenderableSeries.StrokeDashArrayProperty

Defines the StrokeDashArray DependencyProperty