MAPX+VB actual Combat Summary (v)

Source: Internet
Author: User
1 How do I change the style of a columnar thematic map?
Map1.DataSets.Item (DSName). Themes ("Trafficflubar"). Properties.size = Barsize
Map1.DataSets.Item (DSName). Themes ("Trafficflubar"). Properties.barwidth = BarWidth

Map1.DataSets.Item (DSName). Themes ("Trafficflubar"). ThemeProperties.MultivarCategories.Item (1). style. Regioncolor = Smalltruck_color
Map1.DataSets.Item (DSName). Themes ("Trafficflubar"). ThemeProperties.MultivarCategories.Item (2). style. Regioncolor = Middletruck_color
Map1.DataSets.Item (DSName). Themes ("Trafficflubar"). ThemeProperties.MultivarCategories.Item (3). style. Regioncolor = Bigtruck_color

2 How do I modify the style of a pie-shaped thematic map?
Map1.DataSets.Item (DSName). Themes ("Trafficflupiebar"). Properties.size = Piebarsize
' Map1.DataSets.Item (dsname). Themes ("Trafficflupiebar"). Properties.width = Piebarwidth

Map1.DataSets.Item (DSName). Themes ("Trafficflupiebar"). ThemeProperties.MultivarCategories.Item (1). style. Regioncolor = Smalltruck_color
Map1.DataSets.Item (DSName). Themes ("Trafficflupiebar"). ThemeProperties.MultivarCategories.Item (2). style. Regioncolor = Middletruck_color
Map1.DataSets.Item (DSName). Themes ("Trafficflupiebar"). ThemeProperties.MultivarCategories.Item (3). style. Regioncolor = Bigtruck_color
Map1.DataSets.Item (DSName). Themes ("Trafficflupiebar"). ThemeProperties.MultivarCategories.Item (4). style. Regioncolor = Smallcar_color

3 How do I modify the callout style?
Set Ostyle = New Mapxlib.style
OStyle.TextFont.Size = 12
OStyle.TextFont.Bold = True
Ostyle.symbolfontcolor = Vbwhite
Ostyle.textfontbackcolor = Vbblue
Ostyle.textfontopaque = True

Map1.Annotations.AddText (RS (Showfield), Lyr. Selection (1). CenterX, Lyr. Selection (1). CenterY, 3). Graphic.style = Ostyle
(White and black background)




Author blog:http://blog.csdn.net/ppp80/


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.