GetDatapointWidth(ICoordinateCalculator<Double>,IPointSeries,Double) Method
Gets the width of data-points, used to compute column and OHLC bar widths
Syntax
[Obsolete("This method is obsolete. Please use DataPointWidthProvider instead.", false)] public int GetDatapointWidth( ICoordinateCalculator<double> coordinateCalculator, IPointSeries pointSeries, double widthFraction )
Parameters
- coordinateCalculator
- The current x coordinate calculator.
- pointSeries
- The current SciChart.Data.Model.IPointSeries being rendered.
- 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
Exceptions
Exception | Description |
---|---|
System.ArgumentException | widthFraction should be between 0.0 and 1.0 inclusive;widthFraction |
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