User:Lmorillas/ExhibitFormat

Work in progress

The Exhibit Format
The Exhibit framework lets you easily create interactive maps, timelines, and other visualizations with advanced text search and filtering functionalities With the 'exhibit format lets you easily create these interactive visualizations as a result format of Cargo queries.

All the parameters are optional. Cargo autodiscover most of them. Set them only for view needs.


 * exhibit: Displays results in an exhbit visualization.
 * Parameters:
 * view - sets the views exhibit will create. If most than one, it uses a comma separator. If not set, Cargo autodiscovers the possible views analyzing the results of the query.
 * for map views
 * latlng - sets the column name with the coordinates info. If not set, Cargo autodiscovers it.
 * center - sets the center of the map (format: lat,lng). If not set, Cargo chooses the best center for the map.
 * zoom - sets the zoom level of the map. The exhibit default is 2. An integer from 0 to 18.
 * for time views
 * start - sets the column name with the time info. If not set, Cargo autodiscovers it.
 * end - sets the column name with the end time info for the events (if needed)
 * color</tt> - sets the name of the column used to color-code the markers
 * topunit</tt> - sets unit for the top band: millisecond</tt>, second</tt>, minute</tt>, hour</tt>, day</tt>, week</tt>, month</tt>, year</tt>, decade</tt>, century</tt>, millennium</tt>
 * toppx</tt> - sets the pixels wide for each interval in the top band.
 * bottompx</tt> - sets the pixels wide for each interval in the bottom band.
 * for tabular views
 * columns</tt> - sets the titles for the columns in the tabular view. If not set, Cargo uses the column names.
 * facets
 * <tt>facets</tt> - sets the column names for the exhbit facets.Three comma separated columns maximum. If not set, Cargo uses the first three columns of the result.