RenderPassData
StockSharp.Xaml.Charting.Visuals.RenderableSeries
Provides data used in a single render pass by BaseRenderableSeries derived types
Implements: IRenderPassData
Constructors
RenderPassData
public RenderPassData(IndexRange pointRange, ICoordinateCalculator<double> xCoordinateCalculator, ICoordinateCalculator<double> yCoordinateCalculator, IPointSeries pointSeries, ITransformationStrategy transformationStrategy)
renderPassData = RenderPassData(pointRange, xCoordinateCalculator, yCoordinateCalculator, pointSeries, transformationStrategy)
Initializes a new instance of the RenderPassData class.
- pointRange
- The integer indices to the X-data array that are currently in range.
- xCoordinateCalculator
- The current X Coordinate Calculator
- yCoordinateCalculator
- The current Y Coordinate Calculator
- pointSeries
- The resampled PointSeries to draw
- transformationStrategy
Properties
IsVerticalChart
public bool IsVerticalChart { get; }
value = renderPassData.IsVerticalChart
Gets a value, indicating whether current chart is vertical
PointRange
public IndexRange PointRange { get; }
value = renderPassData.PointRange
Gets the integer indices of the X-Data array that are currently in range.
Returns: The indices to the X-Data that are currently in range
PointSeries
public IPointSeries PointSeries { get; }
value = renderPassData.PointSeries
Gets the current point series.
TransformationStrategy
public ITransformationStrategy TransformationStrategy { get; }
value = renderPassData.TransformationStrategy
Gets the current pixel transformation strategy
XCoordinateCalculator
public ICoordinateCalculator<double> XCoordinateCalculator { get; }
value = renderPassData.XCoordinateCalculator
Gets the current X coordinate calculator.
YCoordinateCalculator
public ICoordinateCalculator<double> YCoordinateCalculator { get; }
value = renderPassData.YCoordinateCalculator
Gets the current Y coordinate calculator.