How to Total Map Selection Values

Using ADF Geographic Map Components 27-11 Example 27–2 Map Point Theme Code with Custom Point Images dvt:map id=map1 . . . dvt:mapPointTheme id=mapPointTheme1 shortLabel=Warehouse Inventory value={bindings.WarehouseStockLevelsByProduct1.geoMapModel} dvt:mapPointStyleItem id=ps0 minValue=0 maxValue=500 imageURL=imageslow.png selectedImageURL=imageslowSelected.png shortLabel=Very Low Inventory dvt:mapPointStyleItem id=ps1 minValue=500 maxValue=1000 imageURL=imagesmedium.png selectedImageURL=imagesmediumSelected.png shortLabel=Low Inventory dvt:mapPointStyleItem id=ps2 minValue=1000 maxValue=1600 imageURL=imagesregularGreen.png selectedImageURL=imagesregularGreenSelected.png shortLabel=High Inventory dvt:mapPointTheme dvt:map

27.4.6 How to Customize the Bars in a Bar Graph Theme

When you create a map bar graph theme, default colors are assigned to the bars in the graph. You can customize the colors of the bars by using the mapBarSeriesSet tag and the mapBarSeriesItem tag. Use one mapBarSeriesSet tag to wrap all the mapBarSeriesItem tags for a bar graph theme and insert a mapBarSeriesItem tag for each bar in the graph. To customize the color of the bars in a map bar graph theme: 1. In the Structure window, right-click the dvt:mapBarGraphTheme tag and choose Insert inside dvt:mapBarGraphTheme Map Bar Series Set. There are no attributes to set for this tag. It is used to wrap the individual bar series item tags.

2. In the Structure window, right-click the dvt:mapBarSeriesSet tag and choose

Insert inside dvt:mapBarSeriesSet Map Bar Series Item. 3. In the Property Inspector, enter any unique ID and color you want to use for the first bar that appears in the graph. To find the sequence of the bars in the graph, examine the Edit Bar Graph Map Theme Binding dialog. The sequence of the entries in the Series Attribute column of that dialog determines the sequence that bars appear in the graph. For example, in Figure 27–6 , the first bar in the graph represents Income2000 and the second bar represents Income2005. 27-12 Web User Interface Developers Guide for Oracle Application Development Framework Figure 27–6 Edit Bar Graph Map Theme Binding Dialog

4. Repeat Step 3 for every bar in the graph.

27.4.7 What Happens When You Customize the Bars in a Map Bar Graph Theme

When you use the Edit Bar Graph Map Theme Binding dialog to customize the bars in a map bar graph theme, the sequence of the bars reflect the sequence of the entries in the Series Attribute column in the dialog. Example 27–3 shows sample XML code generated when you customize the bars in a map bar graph. Example 27–3 Code for Customizing the Bars in a Map Bar Graph dvt:map . . . dvt:mapBarGraphTheme . . . dvt:mapBarSeriesSet dvt:mapBarSeriesItem color=333399 id=bar1 dvt:mapBarSeriesItem color=0000ff id=bar2 dvt:mapBarSeriesSet dvt:mapBarGraphTheme dvt:map

27.4.8 How to Customize the Slices in a Pie Graph Theme

When you create a map pie graph theme, default colors are assigned to the slices in the graph. You can customize the colors of the slices by using the mapPieSlicesSet tag and the mapPieSliceItem tag. Use one mapPieSliceSet tag to wrap all the mapPieSliceItem tags for a pie graph theme, and insert a mapPieSliceItem tag for each slice in the graph. To customize the color of the slices in a map pie graph theme: 1. In the Structure window, right-click the dvt:mapPieGraphTheme tag and choose Insert inside dvt:mapPieGraphTheme Pie Slice Set.