|
|
|
Supermap Objects 的分区统计图表专题图,把制图区域分成几个区划单位(通常是以行政区为区划单位),按其相应的统计数据,描绘不同形式的统计图表,以表示并比较各个区划单位内现象的总和及其动态,统计图通常绘制在地图上各相应的分区内。 |
|
 |
|
For i = 1 To frmThemeWizard1_G.lstDestination.ListCount
frmThemeWizard1_G.lstDestination.ListIndex = i - 1
objThemeGraph.Field(i) = frmThemeWizard1_G.lstDestination.List(i - 1)
Next i |
|
选择其他信息: |
|
 |
|
objThemeGraph.GraphType = scpPie3D '三维饼图 |
|
'设置字段值和颜色 |
|
flxgLegend.Col = 0 |
|
For i = 1 To frmThemeWizard1_G.lstDestination.ListCount |
|
flxgLegend.Row = i |
|
objThemeGraph.Color(i) = Me.flxgLegend.CellBackColor '设置颜色 |
|
Next i |
|
objThemeGraph.Enable = True '产生统计图 |
|
运行结果示意: |
|
 |