StackedColumnRenderableSeries
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
public StackedColumnRenderableSeries()
stackedColumnRenderableSeries = StackedColumnRenderableSeries()
Initializes a new instance of the StackedColumnRenderableSeries class.
Properties
public bool IsOneHundredPercent { get; set; }
value = stackedColumnRenderableSeries.IsOneHundredPercent
stackedColumnRenderableSeries.IsOneHundredPercent = value
Gets or sets the value which indicates whether the series are 100% stacked
public Color LabelColor { get; set; }
value = stackedColumnRenderableSeries.LabelColor
stackedColumnRenderableSeries.LabelColor = value
Gets or sets the foreground color for text labels.
public float LabelFontSize { get; set; }
value = stackedColumnRenderableSeries.LabelFontSize
stackedColumnRenderableSeries.LabelFontSize = value
Gets or sets the font size for text labels.
public string LabelTextFormatting { get; set; }
value = stackedColumnRenderableSeries.LabelTextFormatting
stackedColumnRenderableSeries.LabelTextFormatting = value
Gets or sets the formatting string for text labels.
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.
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.
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.
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.
public IStackedColumnsWrapper Wrapper { get; }
value = stackedColumnRenderableSeries.Wrapper
The IStackedColumnsWrapper instance which wraps this StackedColumnRenderableSeries.
Methods
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.
protected override double GetSeriesBodyLowerDataBound(HitTestInfo nearestHitPoint)
result = stackedColumnRenderableSeries.GetSeriesBodyLowerDataBound(nearestHitPoint)
Returns the series lower bound at nearest hit point
protected override double GetSeriesBodyUpperDataBound(HitTestInfo nearestHitPoint)
result = stackedColumnRenderableSeries.GetSeriesBodyUpperDataBound(nearestHitPoint)
Returns the series upper bound at nearest hit point
protected override double GetSeriesBodyWidth(HitTestInfo nearestHitPoint)
result = stackedColumnRenderableSeries.GetSeriesBodyWidth(nearestHitPoint)
Returns the width of a single column at DataSeriesIndex.
public override IRange GetXRange()
result = stackedColumnRenderableSeries.GetXRange()
Computes the full X data range which current StackedColumnRenderableSeries occupies.
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
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
public static readonly DependencyProperty IsOneHundredPercentProperty
value = StackedColumnRenderableSeries.IsOneHundredPercentProperty
Defines the IsOneHundredPercent DependnecyProperty
public static readonly DependencyProperty LabelColorProperty
value = StackedColumnRenderableSeries.LabelColorProperty
Defines the LabelColor DependnecyProperty
public static readonly DependencyProperty LabelFontSizeProperty
value = StackedColumnRenderableSeries.LabelFontSizeProperty
Defines the LabelFontSize DependnecyProperty
public static readonly DependencyProperty LabelTextFormattingProperty
value = StackedColumnRenderableSeries.LabelTextFormattingProperty
Defines the LabelTextFormatting DependnecyProperty
public static readonly DependencyProperty ShowLabelProperty
value = StackedColumnRenderableSeries.ShowLabelProperty
Defines the ShowLabel DependnecyProperty
public static readonly DependencyProperty SpacingModeProperty
value = StackedColumnRenderableSeries.SpacingModeProperty
Defines the SpacingMode DependnecyProperty
public static readonly DependencyProperty SpacingProperty
value = StackedColumnRenderableSeries.SpacingProperty
Defines the Spacing DependnecyProperty
public static readonly DependencyProperty StackedGroupIdProperty
value = StackedColumnRenderableSeries.StackedGroupIdProperty
Defines the StackedGroupId DependnecyProperty