IStackedColumnRenderableSeries
Defines the interface to StackedColumnRenderableSeries
Implements: IStackedRenderableSeries, IRenderableSeries, IRenderableSeriesBase, IDrawable, IXmlSerializable
Properties
DataPointWidth : double
Gets or sets the value between 0.0 and 1.0 indicating how much of the space available every column occupies.
LabelColor : Color
Gets or sets the foreground color for text labels.
LabelFontSize : float
Gets or sets the font size for text labels.
LabelTextFormatting : string
Gets or sets the formatting string for text labels.
Spacing : double
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 : SpacingMode
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 : IStackedColumnsWrapper
Gets the instance of IStackedColumnsWrapper used internally for stacked series composition and rendering.
Methods
GetDatapointWidth(ICoordinateCalculator<double>, IPointSeries, double, double) : int
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