Extension:SemanticHighcharts

The SemanticHighcharts extension extends Semantic MediaWiki with a higcharts result format. Allowing for the creation of charts using the highcharts javascript library.

License
This extension uses a library that is free for non-commercial use (CC BY-NC 3.0). However if you plan on using this in a commercial setting then please read about highcharts licensing.

Due to this license, the extension is by default disabled until the configuration  is set in LocalSettings.php. By adding this, you effectively agree to the license of the Highcharts library.

The rest is licensed under GPLv3.

Installation
Download and install using Composer or Extension Installer

Usage
Will output a table of defined charts and a description of both the chart, and applicable parameters.

For example the given code:

Would create a frequency histogram of the values contained in "SomeParameter".

The following image show's how what the frequency-histogram format looks like.



Develop new charts
If you are unable to find a chart that suits your particular data, then you have the option to create your own chart or even modify existing charts. To create a new chart, just add a class that extends the Chart class and register this chart class in Highcharts.php with a format name.

Take a look at the FrequencyHistogram class for help implementing your own chart.

After you have developed a chart, then you are welcome to submit the patch to the gerrit repository for review.