.netCHARTING v10.7 Documentation


dotnetCHARTING Namespace > DataSource Class : FromScaleRange Method
Axis containing the scale range.
Given ScaleRange object.
FromScaleRange Method
Creates a DataSource object from an ScaleRange object.
Syntax
'Declaration
 
Public Shared Function FromScaleRange( _
   ByVal sourceAxis As Axis, _
   ByVal sr As ScaleRange _
) As DataSource
'Usage
 
Dim sourceAxis As Axis
Dim sr As ScaleRange
Dim value As DataSource
 
value = DataSource.FromScaleRange(sourceAxis, sr)
public static DataSource FromScaleRange( 
   Axis sourceAxis,
   ScaleRange sr
)

Parameters

sourceAxis
Axis containing the scale range.
sr
Given ScaleRange object.
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