IStackedColumnRenderableSeries

StockSharp.Xaml.Charting.Visuals.RenderableSeries

Defines the interface to StackedColumnRenderableSeries

Implements: IStackedRenderableSeries, IRenderableSeries, IRenderableSeriesBase, IDrawable, IXmlSerializable

Properties

DataPointWidth
public double DataPointWidth { get; set; }
value = iStackedColumnRenderableSeries.DataPointWidth
iStackedColumnRenderableSeries.DataPointWidth = value

Gets or sets the value between 0.0 and 1.0 indicating how much of the space available every column occupies.

LabelColor
public Color LabelColor { get; set; }
value = iStackedColumnRenderableSeries.LabelColor
iStackedColumnRenderableSeries.LabelColor = value

Gets or sets the foreground color for text labels.

LabelFontSize
public float LabelFontSize { get; set; }
value = iStackedColumnRenderableSeries.LabelFontSize
iStackedColumnRenderableSeries.LabelFontSize = value

Gets or sets the font size for text labels.

LabelTextFormatting
public string LabelTextFormatting { get; set; }
value = iStackedColumnRenderableSeries.LabelTextFormatting
iStackedColumnRenderableSeries.LabelTextFormatting = value

Gets or sets the formatting string for text labels.

ShowLabel
public bool ShowLabel { get; set; }
value = iStackedColumnRenderableSeries.ShowLabel
iStackedColumnRenderableSeries.ShowLabel = value

Gets or sets the value indicating whether to show text labels over the columns.

Spacing
public double Spacing { get; set; }
value = iStackedColumnRenderableSeries.Spacing
iStackedColumnRenderableSeries.Spacing = value

Gets or sets the value which specifies the width of the gap between horizontally stacked columns. Can be set to either a relative or absolute value depending on the SpacingMode used.

SpacingMode
public SpacingMode SpacingMode { get; set; }
value = iStackedColumnRenderableSeries.SpacingMode
iStackedColumnRenderableSeries.SpacingMode = value

Gets or sets the SpacingMode to use for the space between columns computations. E.g. the default of Absolute requires that Spacing is in pixels. The value of Relative requires that Spacing is a double value from 0.0 to 1.0.

Wrapper
public IStackedColumnsWrapper Wrapper { get; }
value = iStackedColumnRenderableSeries.Wrapper

Gets the instance of IStackedColumnsWrapper used internally for stacked series composition and rendering.

Methods

GetDatapointWidth
public int GetDatapointWidth(ICoordinateCalculator<double> xCoordinateCalculator, IPointSeries pointSeries, double barsAmount, double widthFraction)
result = iStackedColumnRenderableSeries.GetDatapointWidth(xCoordinateCalculator, pointSeries, barsAmount, widthFraction)

Calculates the space available per a data-point.

xCoordinateCalculator
The current x coordinate calculator instance
pointSeries
The current IPointSeries being rendered.
barsAmount
Amount of bars within the viewport
widthFraction
The width fraction from 0.0 to 1.0, where 0.0 is infinitey small, 0.5 takes up half the available width and 1.0 means a data-point is the full width between points