LineGraphMap Object

 

The LineGraphMap object contains the properties and methods of a line graph map. Line graph maps are created with the CreateLineGraphMap method.

 

Derived from: Map object (All methods and properties of Map apply to this object.)

 

Properties

AddBaseline

AddBreakLine

BaseHeight

Baseline

BreakLine

BreakValue

DescendingOrder

GlobalData

GraphFill

GraphHeight

GraphLine

GraphPosOffsetType

GraphPosXOffset

GraphPosYOffset

HorizontalGraph

PIDCol

ProfileFill

ProfileLine

UserLimitMaxVal

UserLimitMinVal

UserLimits

VarCol

Width

 

Methods

SetUserLimits

 

Example

This example creates a line graph map of Colorado.

 

Sub main

'Creates an instance of the MapViewer Application

'object and assigns it to the variable named "mvApp"

 Set mvApp = CreateObject("MapViewer.Application")

 

'Makes the application main window visible

 mvApp.Visible = True

 

'Assigns the location of the samples folder

'to the variable "InPath"

 InPath$ = mvApp.ApplicationFolder + " samples\"

 

'Creates a map document object, and assigns it

'to the variable named "Plot"

 Set Plot = mvApp.Documents.Add(DocType:=mvDocPlot)

 

'Creates a line graph map object and assigns it to  

'the variable named "LineGraphMap"

 Set LineGraphMap = Plot.CreateLineGraphMap( BoundaryFileName:=InPath$ _

 +"co2010.gsb", DataFileName:=InPath$ + "co2010.dat", _

 BoundaryFileOptions:= "SecondaryIDField=2, Attribute1Field=1", _

 PIDCol:=1, VarCol:=5 )

End Sub