Help:Jqplotbar format

From Linux Web Expert

Revision as of 12:53, 7 April 2021 by >Kghbln (chg)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Jqplotbar format
Produces a bar chart using the jqPlot Javascript library
Further Information
Provided by: Semantic Result Formats
Added: 1.5.1
Removed:
Succeeded by: jqplotchart
Requirements: none
Format name: jqplotbar
Enabled? Indicates whether the result format is enabled by default upon installation of the respective extension. yes
Authors: Sanyam Goyal , Yaron Koren
Categories: charts
Table of Contents

The result format jqplotbar, part of Semantic Result Formats, is used to display a bar chart of number values, using the jqPlot Javascript library.

This format has been deprecated with SRF 1.8, please use result format "jqplotchart"Displays aggregated numerical data as a bar, line, pie, or donut chart instead.

Parameters

Examples

{{#ask:
 [[Category:City]] [[located in::Germany]]
 |?population
 |format=jqplotbar
 |height=200
 |width=400
}}


Display of data (point) labels

As of version 1.7.0 (r102487) it is possible to display individual data (point) labels by using the option pointlabels=yes.

{{#ask:
 [[Category:City]] [[located in::Germany]]
 |charttitle=Population of selected German cities
 |?population
 |format=jqplotbar
 |height=200
 |width=400
 |pointlabels=yes
}}

... further results

Chart formats

These are the chart related result formats provided by Semantic MediaWiki and extensions to Semantic MediaWiki.