Generating Custom Legends For Charts By Defining Legends As Mini-Charts
Publication Date: 2014-Jun-19
The IP.com Prior Art Database
This article describes a method for describing legends as charts. The key benefits are easier of creation of new types of legends and reuse of code.
Page 01 of 2
Generating Custom Legends For Charts By Defining Legends As Mini -
The invention disclosed herein provides a method for creating a legend for a chart characteristic such as color, size, texture, etc. by creating a miniature chart definition that creates a chart that has the same form as a legend, then defining new data to make it match the mapping between existing data and the graphic appearance that the main charts shows, and finally rendering that mini-chart into the appropriate location for the overall chart.
One definition of a chart legend is "an explanation of symbols used on a map, chart, sketch, etc., commonly printed in tabular form at the side of the map, etc." In practice, though, there are a wide variety of different types of legends that are used. Map elevations often have a very custom look, legends can be shown as axes, as swatches, or as a variety of different representations.
Traditionally, each time a new type of legend is requested, the group responsible for the charting or visualization system must develop new software to draw the legend, correctly size it, position it and handle expected interactivity such as ability to click on legend items to filter data etc. This is both expensive (in terms of developer time required) and slow (as a full cycle of requirements, development and testing must be followed).
Embodiments of the present invention use a powerful underlying visualization system that supports defining a legend using the visualization system's language for creating a chart. Candidate systems for this include IBM's RAVE system, SPSS's VizML, R's ggp...