dotnetCHARTING Send comments on this topic.
FromScaleRange Method
See Also 
dotnetCHARTING Namespace > DataSource Class : FromScaleRange Method


sourceAxis
Axis containing the scale range.
sr
Given ScaleRange object.
Creates a DataSource object from an ScaleRange object.

Syntax

Visual Basic (Declaration) 
Public Shared Function FromScaleRange( _
   ByVal sourceAxis As Axis, _
   ByVal sr As ScaleRange _
) As DataSource
Visual Basic (Usage)Copy Code
Dim sourceAxis As Axis
Dim sr As ScaleRange
Dim value As DataSource
 
value = DataSource.FromScaleRange(sourceAxis, sr)
C# 
public static DataSource FromScaleRange( 
   Axis sourceAxis,
   ScaleRange sr
)

Parameters

sourceAxis
Axis containing the scale range.
sr
Given ScaleRange object.

See Also