One embodiment is directed generally to a computer system, and in particular to a system for creating interactive custom regions in a visualization component.
Visualization components include components or interfaces for applications that allow users, such as software developers, to visualize and display data in meaningful ways. Many visualization components have built-in, interactive regions with which software developers can stylize based on the data. Mapping components are one example of a visualization component that may include existing, built-in regions. However, these visualization components typically do not allow developers to easily group the existing regions into an aggregated region. In the case of mapping components, for instance, developers are not able to group certain states to form a region. For example, developers cannot easily group California, Oregon, and Washington states into a larger region called “West.” Another limitation of existing visualization components is that they typically force users to work with non-visual forms of the territories, such as tables and trees.
One embodiment is directed to a computer program, embodied on a computer readable medium. The computer program is configured to control a processor to execute instructions. The instructions include receiving a selection of interactive regions from a user. The interactive regions are selected from among a set of built-in interactive regions provided by a visualization component. The instructions further include aggregating the selected set of built-in interactive regions, and creating at least one custom region from the aggregation of the selected set of built-in interactive regions.
a illustrates an example of an interactive map according to an embodiment;
b illustrates an example of an interactive map according to another embodiment;
c illustrates an example of an interactive map according to another embodiment;
d illustrates an example of an interactive map according to another embodiment;
e illustrates an example of an interactive map according to another embodiment;
One embodiment is directed to a visualization component that is configured to receive a set of interactive regions. The set of interactive regions may be selected from among a set of existing, built-in regions that are provided by the visualization component. The visualization component may then aggregate the selected set of built-in regions, and create a new custom interactive region that is the aggregate of the selected set of regions.
System 10 also includes a processor 22, coupled to bus 12, for processing information and executing instructions or operations. Processor 22 may be any type of general or specific purpose processor. System 10 further includes a memory 14 for storing information and instructions to be executed by processor 22. Memory 14 can be comprised of any combination of random access memory (“RAM”), read only memory (“ROM”), static storage such as a magnetic or optical disk, or any other type of machine or computer readable media. System 10 further includes a communication device 20, such as a network interface card or other communications interface, to provide access to a network. As a result, a user may interface with system 10 directly or remotely through a network or any other method.
Computer readable media may be any available media that can be accessed by processor 22 and includes both volatile and nonvolatile media, removable and non-removable media, and communication media. Communication media may include computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
Processor 22 is further coupled via bus 12 to a display 24, such as a Liquid Crystal Display (“LCD”), for displaying information or data to a user, such as maps or diagrams, as will be discussed in more detail below. A keyboard 26 and a cursor control device 28, such as a computer mouse, are further coupled to bus 12 to enable a user to interface with system 10.
Processor 22 and memory 14 may also be coupled via bus 12 to a database system 30 and, thus, may be able to access and retrieve information stored in database system 30. Although only a single database is illustrated in
In one embodiment, memory 14 stores software modules that provide functionality when executed by processor 22. The modules may include an operating system 15 that provides operating system functionality for system 10. The memory may also store a custom visualization component module 16, which can provide the functionality for creating a custom region, according to one embodiment. System 10 may also include one or more other functional modules 18 to provide additional functionality.
Database system 30 may include a database server and any type of database, such as a relational or flat file database. Database system 30 may store attributes related to the maps or regions. Database system 30 may also store any other data required by the custom visualization component module 16, or data associated with system 10 and its associated modules and components.
In certain embodiments, custom visualization component module 16, and other functional modules 18 may be implemented as separate physical and logical units or may be implemented in a single physical and logical unit. Furthermore, in some embodiments, custom visualization component module 16, and other functional modules 18 may be implemented in hardware, or as any suitable combination of hardware and software.
In one embodiment, custom visualization component module 16 is configured to control system 10 to perform a process of creating one or more interactive custom regions in a map or diagram. According to certain embodiments, custom visualization component module 16 is configured to receive a selection of a set of built-in interactive regions provided by custom visualization component module 16. Custom visualization component module 16 may then be configured to aggregate the selected regions and create a new custom interactive region that is the aggregate of the selected regions. The newly created custom region functions like any of the built-in regions and users can use or interact with the custom regions as they would with the built-in regions. For example, the new custom region can be used to show data as well as display markers and images. Custom visualization component module 16 can also be configured to allow for drilling down to view the individual regions that make up that custom region.
In certain embodiments, custom visualization component module 16 includes a receiver configured to receive the selection of built-in interactive regions provided by a visualization component, an aggregating unit configured to aggregate the selected set of regions, and a creating unit configured to create at least one custom region from the aggregation of the selected set of regions.
a-2e illustrate examples of an interactive custom region applied to a map of the United States, according to one embodiment. It should be noted that embodiments of the invention are not limited to such maps, but can be applied to maps of other regions, as well as other types of charts, graphs, or visual depictions of data.
a illustrates a map 200 of the United States showing and labeling each of the states.
In one embodiment, a custom map layer, such as a custom region layer, can be defined from regional data and inserted into the natural geographical hierarchy of a thematic map, for example. The custom layer can be created by extending a predefined map layer and aggregating the lower level regions to form the new regions in the custom layer. After defining a custom map layer, it can be used in the same manner as any other map layer. For instance, geographical regions for the Northeast 201, South 202, Midwest 203, and West 204 can be created as a U.S. regions custom map layer, as discussed above. The U.S. regions custom layer is extended from the states layer in the U.S. base map illustrated in
According to certain embodiments, each custom region, although formed by aggregating multiple states, is treated as an individual region. Each custom region can be formatted, such as applying coloring and labeling, similar to other non-custom regions on the map. Labels can be applied to the custom region as a whole.
c illustrates an example of a map 200 with the four custom regions, Northeast 201, South 202, Midwest 203, and West 204. In one embodiment, a user can select a region to highlight that region, and/or mouse over a region to see the tooltip for that region. A user may select a region by moving the cursor over that region, and clicking the cursor control device or tapping a touchscreen or touchpad, for example. As illustrated in
d again illustrates an example of a map 200 with the four custom regions, Northeast 201, South 202, Midwest 203, and West 204. In this embodiment, a user can drill down onto a custom region to see more detail for that region, such as any sub-regions. For example, a user can select a region in order to highlight that region, and to display each of the states or sub-regions included within that region and their labels. As illustrated in the example of
e illustrates another example of a map 200 with the four custom regions, Northeast 201, South 202, Midwest 203, and West 204. In this example, tooltip 206 lists the states in the South region 202. Further, as illustrated in
In the extends section 303 of create custom layer dialog user interface 300, search icon 308 can be used to display the built-in map layers that can be used to aggregate areas for the custom layer. Then, the map layer that the custom layer will extend is selected. Area List section 304 provides a drop down list to select the data collection attribute representing the list of lower level map regions that are used to aggregate the areas in the custom map layer. Area ID section 305 uses a drop down list to select the data collection attribute representing the unique identifier of lower level map regions that are used to aggregate the areas in the custom map layer. Area Label section 306 uses a drop down list to select the data collection attribute representing the names of lower level map regions that are used to aggregate the areas in the custom map layer. After creating a custom layer using, for example, create custom layer dialog user interface 300, the custom layer can be added to the map layer hierarchy and used in the same way as a built-in map layer.
Below is an example of computer program pseudo-code that may be used to configure and/or add a custom layer to the map layer, according to an embodiment:
The following is an example of computer program pseudo-code for using a custom layer in a thematic map, according to an embodiment:
Referring to
In certain embodiments, a Java class may be used to implement some aspects of the method illustrated in
Next, an Area with the path is created as follows: Area a=new Area(path). Area a will now have the combined region.
Accordingly embodiments of the invention provide a computer implemented method that can be executed by a processor. The method may include receiving a selection of built-in interactive regions provided by a visualization component, aggregating the selected set of regions, and creating one or more custom regions from the aggregation of the selected set of regions. As a result, application developers are now able to extend the built-in regions provided by a visualization component by creating these custom regions. Previously, developers were limited to working with only the regions provided by the visualization component. As such, users could not see visual effects applied to a region, such as sales volume, success rates, etc., which would enable better decision making.
It should be noted that many of the functional features described in this specification have been presented as modules, applications or the like, in order to more particularly emphasize their implementation independence. For example, a module may be implemented as a hardware circuit comprising custom VLSI circuits or gate arrays, off-the-shelf semiconductors such as logic chips, transistors, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices or the like.
Modules may also be partially implemented in software for execution by various types of processors. An identified module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions which may, for instance, be organized as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but may comprise disparate instructions stored in different locations which, when joined logically together, comprise the module and achieve its stated purpose.
Indeed, a module of executable code or algorithm could be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices. Similarly, operational data may be identified and illustrated herein within modules, and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations including over different storage devices, and may exist, at least partially, merely as electronic signals on a system or network.
Several embodiments are specifically illustrated and/or described herein. However, it will be appreciated that modifications and variations of the disclosed embodiments are covered by the above teachings and within the purview of the appended claims without departing from the spirit and intended scope of the invention.
This application claims priority from provisional application Ser. No. 61/487,856, filed on May 19, 2011, the contents of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
61487856 | May 2011 | US |