Version

GetSeriesLabelSpanRatio Method

Gets the span of the Series Label bounds proportional to the span of the Item Label bounds.
Syntax
'Declaration
 
Protected Overridable Function GetSeriesLabelSpanRatio( _
   ByVal vertical As Boolean, _
   ByVal itemLabels As AxisLabelInfoCollection, _
   ByVal seriesLabels As AxisLabelInfoCollection, _
   ByVal bounds As Rectangle, _
   ByVal axisApp As AxisAppearance _
) As Double
protected virtual double GetSeriesLabelSpanRatio( 
   bool vertical,
   AxisLabelInfoCollection itemLabels,
   AxisLabelInfoCollection seriesLabels,
   Rectangle bounds,
   AxisAppearance axisApp
)

Parameters

vertical
Whether or not this is a vertically oriented axis.
itemLabels
The Item Labels to be displayed.
seriesLabels
The Series Labels to be displayed.
bounds
The bounding rectangle in context.
axisApp
The AxisAppearance object in context.

Return Value

The relative span of the series label bounds, if the span of Item Labels were 1.0.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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