IRenderableSeries

StockSharp.Xaml.Charting.Visuals.RenderableSeries

Defines the interface to all RenderableSeries within Ultrachart. A RenderableSeries is a Line series, or Scatter series or Candlestick series and provides the visual element in pair of BaseRenderableSeries and IDataSeries

Implements: IRenderableSeriesBase, IDrawable, IXmlSerializable

Properties

AntiAliasing : bool

Gets or sets whether this series uses AntiAliasing when drawn

CurrentRenderPassData : IRenderPassData

Gets or sets the RenderPassData instance used for this render pass

DataContext : object

Gets or sets the DataContext to apply to the IRenderableSeries

DataSeries : IDataSeries

Gets or sets the DataSeries associated with this series

DisplaysDataAsXy : bool

If true, the data is displayed as XY, e.g. like a Scatter plot, not a line (time) series

IsSelected : bool

Gets or sets value, indicates whether this IRenderableSeries is selected

IsVisible : bool

Gets or sets whether the series is visible when drawn

PaletteProvider : IPaletteProvider

Gets or Sets an optional IPaletteProvider instance, which may be used to override specific data-point colors during rendering. For more details, see the IPaletteProvider documentation

PointSeriesArg : object

ToPointSeries argument.

ResamplingMode : ResamplingMode

Gets or sets the ResamplingMode used when drawing this series

RolloverMarker : FrameworkElement

Gets a cached Framework Element which is used as a Rollover Marker. This is generated from a ControlTemplate in xaml via the RolloverMarkerTemplateProperty DependencyProperty

SelectedSeriesStyle : Style

Gets or sets style for selected series

SeriesColor : Color

Gets or sets the SeriesColor.

StrokeThickness : int

Gets or sets the StrokeThickness in pixels for this series

Style : Style

Gets or sets the style to apply to the IRenderableSeries

XAxis : IAxis

Gets or sets the XAxis that this IRenderableSeries is associated with

XAxisId : string

Gets or sets the ID of the X-Axis which this renderable series is measured against

YAxis : IAxis

Gets or sets the YAxis that this IRenderableSeries is associated with

YAxisId : string

Gets or sets the ID of the Y-Axis which this renderable series is measured against

Methods

GetExtendedXRange(IndexRange) : IndexRange

Returns the data range of the assosiated IDataSeries on X direction which is enough to render VisibleRange=xRange correctly.

GetSeriesInfo(HitTestInfo) : SeriesInfo

Converts a HitTestInfo hit-test result into a SeriesInfo viewmodel for use in the UltrachartLegend, RolloverModifier, CursorModifier.

hitTestInfo
The hit-test result to convert
GetXRange() : IRange

Returns the data range of the assosiated IDataSeries on X direction

GetYRange(IRange) : IRange

Returns the data range of the assosiated IDataSeries on Y direction The X-Axis Range currently in view

GetYRange(IRange, bool) : IRange

Returns the data range of the assosiated IDataSeries on Y direction The X-Axis Range currently in viewIndicates whether to return positive YRange only

HitTest(Point, double, bool) : HitTestInfo

Performs a hit-test at the specific mouse point (X,Y coordinate on the parent UltrachartSurface), returning a HitTestInfo struct with the results

rawPoint
The mouse point on the parent UltrachartSurface
hitTestRadius
The radius in pixels to determine whether a mouse is over a data-point
interpolate
If true, use interpolation to perform a hit-test between data-points, or on the area if a FastMountainRenderableSeries, FastColumnRenderableSeries or FastCandlestickRenderableSeries

Returns: A HitTestInfo struct with the results

HitTest(Point, bool) : HitTestInfo

Performs a hit-test at the specific mouse point (X,Y coordinate on the parent UltrachartSurface), returning a HitTestInfo struct with the results

rawPoint
The mouse point on the parent UltrachartSurface
interpolate
If true, use interpolation to perform a hit-test between data-points, or on the area if a FastMountainRenderableSeries, FastColumnRenderableSeries or FastCandlestickRenderableSeries

Returns: A HitTestInfo struct with the results

VerticalSliceHitTest(Point, bool) : HitTestInfo

Performs a hit-test at the specific mouse point with zero hit-test radius. Method considers only X values and returns a HitTestInfo struct with the closest X value

rawPoint
The mouse point on the parent UltrachartSurface
interpolate
If true, use interpolation to perform a hit-test between data-points, or on the area if a , or

Returns: A HitTestInfo struct with the results

Events

SelectionChanged : EventHandler

Event raised whenever IsSelected property changed