FastBandRenderableSeries

StockSharp.Xaml.Charting.Visuals.RenderableSeries

A raster RenderableSeries type which displays two lines and shaded bands between them, where band-colors depend on whether one line is greater than the other For usage, bind to an XyyDataSeries and set the SeriesColor, Series1Color, BandUpColor and BandDownColor properties

Hereda de: BaseRenderableSeries

Constructores

FastBandRenderableSeries()

Initializes a new instance of the FastBandRenderableSeries class.

Propiedades

BandDownColor : Color

Gets or sets the Color of the shaded area when Y1 is less than Y0

BandUpColor : Color

Gets or sets the Color of the shaded area when Y1 is greater than Y0

IsDigitalLine : bool

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

RolloverMarker1 : FrameworkElement

Gets or sets the RolloverMarker for one of the series

Series0StrokeDashArray : 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

Series1Color : Color

Gets or sets the SeriesColor of the Y1 line. For the Y0 line, use SeriesColor

Series1StrokeDashArray : 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

Métodos

CreateBandPolygons(IRenderContext2D, IRenderPassData, IPointSeries, IBrush2D, IPointSeries, IBrush2D) : IList<Polygon>

Creates the band polygons given two IPointSeries inputs

renderContext
The render context.
renderPassData
The render pass data.
yPointSeries
The y point series.
yBrush
The y brush.
y1PointSeries
The y1 point series.
y1Brush
The y1 brush.
CreateRolloverMarker()

Creates a RolloverMarker from the RolloverMarkerTemplate property

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
NearestHitResult(Point, double, SearchMode, bool) : HitTestInfo

Called by Boolean) to get the nearest (non-interpolated) HitTestInfo to the mouse point

rawPoint
The mouse point
hitTestRadius
The radius (in pixels) to use when determining if the is over a data-point
searchMode
The search mode.
considerYCoordinateForDistanceCalculation
if set to true then perform a true euclidean distance to find the nearest hit result.

Devuelve: The HitTestInfo result

OnDataSeriesDependencyPropertyChanged(IDataSeries, IDataSeries)

Called when the DataSeries property changes - i.e. a new IDataSeries has been set

oldDataSeries
The old IDataSeries
newDataSeries
The new IDataSeries

Campos

BandDownColorProperty : DependencyProperty

Defines the BandDownColor DependencyProperty

BandUpColorProperty : DependencyProperty

Defines the BandUpColor DependencyProperty

IsDigitalLineProperty : DependencyProperty

Defines the IsDigitalLine DependencyProperty

Series0StrokeDashArrayProperty : DependencyProperty

Defines the StrokeDashArray DependencyProperty

Series1ColorProperty : DependencyProperty

Defines the Series1Color DependencyProperty

Series1StrokeDashArrayProperty : DependencyProperty

Defines the StrokeDashArray DependencyProperty