StackedColumnRenderableSeries

StockSharp.Xaml.Charting.Visuals.RenderableSeries

Defines a Stacked-Column renderable series, supporting rendering of column bars which have accumulated Y-values for multiple series in a group.

Inherits: BaseColumnRenderableSeries

Implements: IStackedColumnRenderableSeries, IStackedRenderableSeries, IRenderableSeries, IRenderableSeriesBase, IDrawable, IXmlSerializable

Constructors

StackedColumnRenderableSeries
public StackedColumnRenderableSeries()
stackedColumnRenderableSeries = StackedColumnRenderableSeries()

Initializes a new instance of the StackedColumnRenderableSeries class.

Properties

IsOneHundredPercent
public bool IsOneHundredPercent { get; set; }
value = stackedColumnRenderableSeries.IsOneHundredPercent
stackedColumnRenderableSeries.IsOneHundredPercent = value

Gets or sets the value which indicates whether the series are 100% stacked

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

Gets or sets the foreground color for text labels.

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

Gets or sets the font size for text labels.

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

Gets or sets the formatting string for text labels.

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

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

Spacing
public double Spacing { get; set; }
value = stackedColumnRenderableSeries.Spacing
stackedColumnRenderableSeries.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 = stackedColumnRenderableSeries.SpacingMode
stackedColumnRenderableSeries.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.

StackedGroupId
public string StackedGroupId { get; set; }
value = stackedColumnRenderableSeries.StackedGroupId
stackedColumnRenderableSeries.StackedGroupId = value

Gets or sets a string StackedGroupId. All series within the same group get stacked vertically.

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

The IStackedColumnsWrapper instance which wraps this StackedColumnRenderableSeries.

Methods

GetChartRotationAngle
public double GetChartRotationAngle()
result = stackedColumnRenderableSeries.GetChartRotationAngle()

Used Internally: gets the rotation angle of the chart, which is 0 degrees or 90 degrees depending on whether the parent UltrachartSurface has swapped X and Y Axes or not.

GetSeriesBodyLowerDataBound
protected override double GetSeriesBodyLowerDataBound(HitTestInfo nearestHitPoint)
result = stackedColumnRenderableSeries.GetSeriesBodyLowerDataBound(nearestHitPoint)

Returns the series lower bound at nearest hit point

GetSeriesBodyUpperDataBound
protected override double GetSeriesBodyUpperDataBound(HitTestInfo nearestHitPoint)
result = stackedColumnRenderableSeries.GetSeriesBodyUpperDataBound(nearestHitPoint)

Returns the series upper bound at nearest hit point

GetSeriesBodyWidth
protected override double GetSeriesBodyWidth(HitTestInfo nearestHitPoint)
result = stackedColumnRenderableSeries.GetSeriesBodyWidth(nearestHitPoint)

Returns the width of a single column at DataSeriesIndex.

GetXRange
public override IRange GetXRange()
result = stackedColumnRenderableSeries.GetXRange()

Computes the full X data range which current StackedColumnRenderableSeries occupies.

GetYRange
public override IRange GetYRange(IRange xRange, bool getPositiveRange)
result = stackedColumnRenderableSeries.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

InternalDraw
protected override void InternalDraw(IRenderContext2D renderContext, IRenderPassData renderPassData)
stackedColumnRenderableSeries.InternalDraw(renderContext, renderPassData)

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

Fields

IsOneHundredPercentProperty
public static readonly DependencyProperty IsOneHundredPercentProperty
value = StackedColumnRenderableSeries.IsOneHundredPercentProperty

Defines the IsOneHundredPercent DependnecyProperty

LabelColorProperty
public static readonly DependencyProperty LabelColorProperty
value = StackedColumnRenderableSeries.LabelColorProperty

Defines the LabelColor DependnecyProperty

LabelFontSizeProperty
public static readonly DependencyProperty LabelFontSizeProperty
value = StackedColumnRenderableSeries.LabelFontSizeProperty

Defines the LabelFontSize DependnecyProperty

LabelTextFormattingProperty
public static readonly DependencyProperty LabelTextFormattingProperty
value = StackedColumnRenderableSeries.LabelTextFormattingProperty

Defines the LabelTextFormatting DependnecyProperty

ShowLabelProperty
public static readonly DependencyProperty ShowLabelProperty
value = StackedColumnRenderableSeries.ShowLabelProperty

Defines the ShowLabel DependnecyProperty

SpacingModeProperty
public static readonly DependencyProperty SpacingModeProperty
value = StackedColumnRenderableSeries.SpacingModeProperty

Defines the SpacingMode DependnecyProperty

SpacingProperty
public static readonly DependencyProperty SpacingProperty
value = StackedColumnRenderableSeries.SpacingProperty

Defines the Spacing DependnecyProperty

StackedGroupIdProperty
public static readonly DependencyProperty StackedGroupIdProperty
value = StackedColumnRenderableSeries.StackedGroupIdProperty

Defines the StackedGroupId DependnecyProperty