iReport Ultimate Guide - Nimsoft Library
iReport Ultimate Guide - Nimsoft Library iReport Ultimate Guide - Nimsoft Library
iReport Ultimate GuideFigure 13-4Advanced options on the Map Configuration tabWith the advanced properties you can enter static or dynamic expressions for any property that is supported by URon map elements.Click Add to add a property. In the Map property window that appears, enter a property name or select one from the dropdownmenu, and specify a proper expression. For information about all the available properties, refer to the Fusion MapsHTML documentation at /ireportpro/FusionMaps_Enterprise/Maps/index.html.It is important that the expressions return the Java types expected for each property.• Properties that you toggle on and off with check boxes in the Simple Options view must have an expression that evaluatesto a Boolean value.• Properties that represent a color must return an object of type java.awt.Color.• Numbers must return valid numeric objects.• The rest of the attributes are of type String.• To define a color you can use an expression such as:java.awt.Color.REDnew java.awt.Color(255,255,255) /* This is the color white */Refer to the Javadoc of the java.awt.Color class for the list of static color names and instantiation parameters.Regardless of whether you use the simple or advanced properties, the map configuration that is saved in the XML of yourreport consists of pairs of property names and value expressions.13.2.2 Determining Map Entity IDsThe countries or other geographical regions in a map are called “entities” in Maps Pro. Each entity is identified by an ID that isunique within a map but not among all maps. Entity IDs are sometimes called entity codes. In some cases, entity IDscorrespond to the geographical regions they represent; in other cases they are simply numbers.244
Flash ChartsThe following figure shows a map of the United States of America, which is composed of 51 entities representing the statesplus the District of Columbia:Figure 13-5Map of the United States of AmericaIn the case of the United States, the entity IDs for the states are the same as their two-letter postal abbreviations:Table 13-1 Entity IDs of States of the USAEntity ID Entity ID Entity IDAlabama AL Louisiana LA Ohio OHAlaska AK Maine ME Oklahoma OKArizona AZ Maryland MD Pennsylvania PACalifornia CA Michigan MI Rhode Island RIColorado CO Minnesota MN South Carolina SCConnecticut CT Mississippi MS South Dakota SDDelaware DE Missouri MO Tennessee TNFlorida FL Montana MT Texas TXGeorgia GA Nebraska NE Utah UTHawaii HI Nevada NV Vermont VTIdaho ID NewHampshireNH Virginia VAIllinois IL New Jersey NJ Washington WAIndiana IN New Mexico NM West Virginia WVIowa IA New York NY Wisconsin WIKansas KS North Carolina NC Wyoming WYKentucky KY North Dakota ND District ofColumbiaDC245
- Page 193 and 194: Data Sources and Query Executerspub
- Page 195 and 196: Data Sources and Query ExecutersFig
- Page 197 and 198: Data Sources and Query ExecutersFig
- Page 199 and 200: Data Sources and Query Executersbe
- Page 201 and 202: Data Sources and Query ExecutersFig
- Page 203 and 204: Data Sources and Query ExecutersWhe
- Page 205 and 206: Data Sources and Query ExecutersCod
- Page 207 and 208: Data Sources and Query ExecutersPre
- Page 209 and 210: Data Sources and Query ExecutersFig
- Page 211 and 212: Data Sources and Query Executersspe
- Page 213 and 214: Data Sources and Query Executers•
- Page 215 and 216: Data Sources and Query Executersof
- Page 217 and 218: Data Sources and Query ExecutersThi
- Page 219 and 220: Data Sources and Query ExecutersCod
- Page 221 and 222: Data Sources and Query ExecutersIf
- Page 223 and 224: ChartsCHAPTER 12 CHARTSUR provides
- Page 225 and 226: ChartsFigure 12-3Chart selection wi
- Page 227 and 228: ChartsFigure 12-6Dataset configurat
- Page 229 and 230: settings). These four fields have t
- Page 231 and 232: ChartsFigure 12-10 Chart Theme Desi
- Page 233 and 234: ChartsFigure 12-12 Example chart th
- Page 235 and 236: Run your report. iReport should dis
- Page 237 and 238: Charts1. First create a report.Figu
- Page 239 and 240: Charts4. Right-click on the chart a
- Page 241 and 242: Flash ChartsCHAPTER 13 FLASH CHARTS
- Page 243: Flash ChartsThe layout properties f
- Page 247 and 248: Flash ChartsTable 13-2Entity IDs of
- Page 249 and 250: Flash ChartsTable 13-3Entity expres
- Page 251 and 252: Flash ChartsFigure 13-10 Specifying
- Page 253 and 254: Flash ChartsFigure 13-12 Bar chart
- Page 255 and 256: Flash ChartsFigure 13-16 The Charts
- Page 257 and 258: Flash ChartsFigure 13-19 Advanced o
- Page 259 and 260: Flash ChartsFigure 13-22 Entering t
- Page 261 and 262: Flash ChartsFigure 13-24 Specifying
- Page 263 and 264: Flash ChartsSpark LineSpark ColumnS
- Page 265 and 266: Flash ChartsFigure 13-32 Common opt
- Page 267 and 268: Flash ChartsFigure 13-35 Output of
- Page 269 and 270: Flash ChartsFigure 13-39 Output of
- Page 271 and 272: Flash ChartsFigure 13-43 Example of
- Page 273 and 274: Flash ChartsFigure 13-46 Specifying
- Page 275 and 276: Flash ChartsFigure 13-49 Specifying
- Page 277 and 278: Lists, Tables, and BarcodesCHAPTER
- Page 279 and 280: Lists, Tables, and BarcodesFor your
- Page 281 and 282: Lists, Tables, and Barcodesidentifi
- Page 283 and 284: Lists, Tables, and BarcodesList ele
- Page 285 and 286: 14.2 TablesLists, Tables, and Barco
- Page 287 and 288: Lists, Tables, and BarcodesiReport
- Page 289 and 290: Lists, Tables, and BarcodesFigure 1
- Page 291 and 292: Lists, Tables, and BarcodesSimilarl
- Page 293 and 294: Lists, Tables, and BarcodesFigure 1
Flash ChartsThe following figure shows a map of the United States of America, which is composed of 51 entities representing the statesplus the District of Columbia:Figure 13-5Map of the United States of AmericaIn the case of the United States, the entity IDs for the states are the same as their two-letter postal abbreviations:Table 13-1 Entity IDs of States of the USAEntity ID Entity ID Entity IDAlabama AL Louisiana LA Ohio OHAlaska AK Maine ME Oklahoma OKArizona AZ Maryland MD Pennsylvania PACalifornia CA Michigan MI Rhode Island RIColorado CO Minnesota MN South Carolina SCConnecticut CT Mississippi MS South Dakota SDDelaware DE Missouri MO Tennessee TNFlorida FL Montana MT Texas TXGeorgia GA Nebraska NE Utah UTHawaii HI Nevada NV Vermont VTIdaho ID NewHampshireNH Virginia VAIllinois IL New Jersey NJ Washington WAIndiana IN New Mexico NM West Virginia WVIowa IA New York NY Wisconsin WIKansas KS North Carolina NC Wyoming WYKentucky KY North Dakota ND District ofColumbiaDC245