GetDatapointWidth Method (IStackedColumnRenderableSeries)
Calculates the space available per a data-point.
Syntax
int GetDatapointWidth( ICoordinateCalculator<double> xCoordinateCalculator, IPointSeries pointSeries, double barsAmount, double widthFraction )
Parameters
- xCoordinateCalculator
- The current x coordinate calculator instance
- pointSeries
- The current SciChart.Data.Model.IPointSeries being rendered.
- barsAmount
- Amount of bars within the viewport
- widthFraction
- The width fraction from 0.0 to 1.0, where 0.0 is infinitely small, 0.5 takes up half the available width and 1.0 means a data-point is the full width between points
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also