FastLineRenderableSeries
Defines a Line renderable series, supporting solid, stroked (thickness 1+) lines, dashed lines and optional Point-markers
Inherits: BaseRenderableSeries
Constructors
public FastLineRenderableSeries()
fastLineRenderableSeries = FastLineRenderableSeries()
Initializes a new instance of the class.
Properties
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
public OhlcLineDrawMode OhlcDrawMode { get; set; }
value = fastLineRenderableSeries.OhlcDrawMode
fastLineRenderableSeries.OhlcDrawMode = value
OHLC line draw mode.
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
protected override bool GetIsValidForDrawing()
result = fastLineRenderableSeries.GetIsValidForDrawing()
Gets a value indicating whether this BaseRenderableSeries is valid for drawing.
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
protected override void OnSeriesColorChanged()
fastLineRenderableSeries.OnSeriesColorChanged()
Called when the SeriesColor dependency property changes. Allows derived types to do caching
Fields
public static readonly DependencyProperty IsDigitalLineProperty
value = FastLineRenderableSeries.IsDigitalLineProperty
Defines the IsDigitalLine DependencyProperty
public static readonly DependencyProperty OhlcDrawModeProperty
value = FastLineRenderableSeries.OhlcDrawModeProperty
Defines the OhlcDrawMode DependencyProperty
public static readonly DependencyProperty StrokeDashArrayProperty
value = FastLineRenderableSeries.StrokeDashArrayProperty
Defines the StrokeDashArray DependencyProperty