Constructs a factor from an enumeration type.
Namespace: Extreme.StatisticsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public CategoricalScale(
Type enumType,
SortOrder sortOrder
)
Public Sub New (
enumType As Type,
sortOrder As SortOrder
)
public:
CategoricalScale(
Type^ enumType,
SortOrder sortOrder
)
new :
enumType : Type *
sortOrder : SortOrder -> CategoricalScale
Parameters
- enumType
- Type: SystemType
An enumeration Type. - sortOrder
- Type: Extreme.StatisticsSortOrder
A SortOrder value that specifies whether the scale is ordered.
Use this constructor to create a CategoricalScale that corresponds to the
values of an enumeration type. Each member of the enumeration type corresponds to a level on the scale.
By default, scales created in this fashion are unordered, i.e. nominal. You can specify a SortOrder
value to indicate that the values are ordered.
The captions corresponding to the levels are the names of the members of the enumeration.
Numerical Libraries
Supported in: 5.x, 4.x
Reference