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()

Initializes a new instance of the class.

Properties

IsDigitalLine : bool

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

OhlcDrawMode : OhlcLineDrawMode

OHLC line draw mode.

StrokeDashArray : double[]

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() : bool

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

InternalDraw(IRenderContext2D, IRenderPassData)

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()

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

Fields

IsDigitalLineProperty : DependencyProperty

Defines the IsDigitalLine DependencyProperty

OhlcDrawModeProperty : DependencyProperty

Defines the OhlcDrawMode DependencyProperty

StrokeDashArrayProperty : DependencyProperty

Defines the StrokeDashArray DependencyProperty