Help:Google pie format

The result format googlepie, part of, is used to produce bar 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 pie 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


 * Result

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: