DataRangeType property
Returns the range type of the mapped data. Read-only GeoDataRangeType.
GeoDataRangeType | Value | Description |
---|---|---|
geoRangeTypeContinuous |
1
|
Continuous range of data (used by all map types except Multiple Symbol and Unsized Pie Chart maps) |
geoRangeTypeContinuousLog |
2
|
Continuous logarithmic range of data (used by all map types except Multiple Symbol and Unsized Pie Chart maps) |
geoRangeTypeDefault |
–1
|
Not valid for the DataRangeType property |
geoRangeTypeDiscreteEqualRanges |
3
|
Discrete equal ranges of data (used by Shaded Area, Shaded Circle, Sized Circle, Multiple Symbol, and Sized Pie Chart maps) |
geoRangeTypeDiscreteLogRanges |
5
|
Discrete logarithmic ranges of data (used by Shaded Area, Shaded Circle, Sized Circle Maps, Multiple Symbol, and Sized Pie Chart maps) |
geoRangeTypeEqualDataPoints |
4
|
Equal data points (used by Shaded Area, Shaded Circle, Sized Circle, Multiple Symbol, and Sized Pie Chart maps) |
geoRangeTypeNone |
7
|
Data is not mapped as a range (used for Unsized Pie Chart maps) |
geoRangeTypeUniqueValues |
6
|
Data that contains text strings, categories, or classes of data (used by Shaded Area, Shaded Circle, Sized Circle, and Multiple Symbol maps) |
Applies to
Collections: DataRanges
Syntax
object.DataRangeType
Parameters
Part | Description |
---|---|
object | Required. An expression that returns a DataRanges collection. |
Example
Sub GetInfoAboutDataMap()
Dim objApp As New mappoint.Application
Dim objDataMap As mappoint.DataMap
Dim objDataSet As mappoint.DataSet
Dim lngSymbolID As Long
'Set up application and objects to use
objApp.Visible = True
objApp.UserControl = True
'Let user create a data map
Set objDataMap = objApp.ActiveMap.DataSets.ShowDataMappingWizard()
'Get information about the data map
Select Case objDataMap.DataRanges.DataRangeType
Case geoRangeTypeDiscreteEqualRanges
MsgBox "The data range type is discrete equal ranges."
Case geoRangeTypeContinuous
MsgBox "The data range type is continuous."
Case geoRangeTypeEqualDataPoints
MsgBox "The data range type is equal data points."
Case geoRangeTypeContinuousLog
MsgBox "The data range type is continuous logarithmic."
Case geoRangeTypeDiscreteLogRanges
MsgBox "The data range type is discrete logarithmic ranges."
Case geoRangeTypeUniqueValues
MsgBox "The data range type is unique values."
Case geoRangeTypeNone
MsgBox "The data has no range type; must be an Unsized Pie Chart map."
End Select
End Sub