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
public bool AntiAliasing { get; set; }
value = iRenderableSeries.AntiAliasing
iRenderableSeries.AntiAliasing = value

Gets or sets whether this series uses AntiAliasing when drawn

CurrentRenderPassData
public IRenderPassData CurrentRenderPassData { get; set; }
value = iRenderableSeries.CurrentRenderPassData
iRenderableSeries.CurrentRenderPassData = value

Gets or sets the RenderPassData instance used for this render pass

DataContext
public object DataContext { get; set; }
value = iRenderableSeries.DataContext
iRenderableSeries.DataContext = value

Gets or sets the DataContext to apply to the IRenderableSeries

DataSeries
public IDataSeries DataSeries { get; set; }
value = iRenderableSeries.DataSeries
iRenderableSeries.DataSeries = value

Gets or sets the DataSeries associated with this series

DisplaysDataAsXy
public bool DisplaysDataAsXy { get; }
value = iRenderableSeries.DisplaysDataAsXy

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

IsSelected
public bool IsSelected { get; set; }
value = iRenderableSeries.IsSelected
iRenderableSeries.IsSelected = value

Gets or sets value, indicates whether this IRenderableSeries is selected

IsVisible
public bool IsVisible { get; set; }
value = iRenderableSeries.IsVisible
iRenderableSeries.IsVisible = value

Gets or sets whether the series is visible when drawn

PaletteProvider
public IPaletteProvider PaletteProvider { get; set; }
value = iRenderableSeries.PaletteProvider
iRenderableSeries.PaletteProvider = value

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
public object PointSeriesArg { get; }
value = iRenderableSeries.PointSeriesArg

ToPointSeries argument.

ResamplingMode
public ResamplingMode ResamplingMode { get; set; }
value = iRenderableSeries.ResamplingMode
iRenderableSeries.ResamplingMode = value

Gets or sets the ResamplingMode used when drawing this series

RolloverMarker
public FrameworkElement RolloverMarker { get; }
value = iRenderableSeries.RolloverMarker

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
public Style SelectedSeriesStyle { get; set; }
value = iRenderableSeries.SelectedSeriesStyle
iRenderableSeries.SelectedSeriesStyle = value

Gets or sets style for selected series

SeriesColor
public Color SeriesColor { get; set; }
value = iRenderableSeries.SeriesColor
iRenderableSeries.SeriesColor = value

Gets or sets the SeriesColor.

StrokeThickness
public int StrokeThickness { get; set; }
value = iRenderableSeries.StrokeThickness
iRenderableSeries.StrokeThickness = value

Gets or sets the StrokeThickness in pixels for this series

Style
public Style Style { get; set; }
value = iRenderableSeries.Style
iRenderableSeries.Style = value

Gets or sets the style to apply to the IRenderableSeries

XAxis
public IAxis XAxis { get; set; }
value = iRenderableSeries.XAxis
iRenderableSeries.XAxis = value

Gets or sets the XAxis that this IRenderableSeries is associated with

XAxisId
public string XAxisId { get; set; }
value = iRenderableSeries.XAxisId
iRenderableSeries.XAxisId = value

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

YAxis
public IAxis YAxis { get; set; }
value = iRenderableSeries.YAxis
iRenderableSeries.YAxis = value

Gets or sets the YAxis that this IRenderableSeries is associated with

YAxisId
public string YAxisId { get; set; }
value = iRenderableSeries.YAxisId
iRenderableSeries.YAxisId = value

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

Methods

GetExtendedXRange
public IndexRange GetExtendedXRange(IndexRange IndexRange)
result = iRenderableSeries.GetExtendedXRange(IndexRange)

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

GetSeriesInfo
public SeriesInfo GetSeriesInfo(HitTestInfo hitTestInfo)
result = iRenderableSeries.GetSeriesInfo(hitTestInfo)

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
public IRange GetXRange()
result = iRenderableSeries.GetXRange()

Returns the data range of the assosiated IDataSeries on X direction

GetYRange
public IRange GetYRange(IRange xRange)
result = iRenderableSeries.GetYRange(xRange)

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

GetYRange
public IRange GetYRange(IRange xRange, bool getPositiveRange)
result = iRenderableSeries.GetYRange(xRange, getPositiveRange)

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
public HitTestInfo HitTest(Point rawPoint, double hitTestRadius, bool interpolate)
result = iRenderableSeries.HitTest(rawPoint, hitTestRadius, interpolate)

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
public HitTestInfo HitTest(Point rawPoint, bool interpolate)
result = iRenderableSeries.HitTest(rawPoint, interpolate)

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
public HitTestInfo VerticalSliceHitTest(Point rawPoint, bool interpolate)
result = iRenderableSeries.VerticalSliceHitTest(rawPoint, interpolate)

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
public event EventHandler SelectionChanged
iRenderableSeries.SelectionChanged += handler

Event raised whenever IsSelected property changed