Help:Google bar format

The result format googlebar, part of, is used to produce pie charts using the Google Charts API.

Usage
You use the same queries as usual, but make sure to add a printout statement with a property that is of type Number. All printouts of properties of type number will be taken for the visualization. The only further parameters are  and. If not given, mostly sensible values are assumed.

You may want a bar chart to not show property values directly, but rather the popularity of different values of a property across the entire wiki; i.e. a numerical distribution. This is fairly easy to do; see here for how.

Example

 * Syntax

Enabling
This result format is not enabled by default on a wiki. To enable it add the following line to your "LocalSettings.php" file after the inclusion of Semantic MediaWiki and Semantic Result Formats: