Documentation

FAQs:

Q: Can I manage the colour of the graph via block interface?
A: Yes you can configure the colour of the bar and the background of the graphs. 

Tips: 

Data series are added in JSON format. Each value is separated by a comma, and data sets are wrapped in square brackets. This allows you to add a virtually unlimited amount of data to your charts.

In a line graph, you usually show 2 values to represent the X and Y axis (2 dimensions). Each value pair is wrapped in square brackets and the entire series is then also wrapped again.

In a bar graph, there is typically only a Y axis value (1 dimension). As such you don't need to wrap each value in square brackets as with a line graph.

In a pie graph, you typically just show 1 series of values (in 1 dimension).

Here are the data sets from the example charts:

Example 1) Line graph: 2D, 2 series

[[1, 2],[2,5.12],[3,13.1],[4,33.6],[5,85.9],[6,119.9]],[[1, -3.6],[2,1.12],[3,14.1],[4,19.6],[5,60.9],[6,150.9]]

 

Example 2) Line graph: 2D, 2 series

[[1, -2],[2,-5.12],[3,-13.1],[4,3.6],[5,35.9],[6,69.9]],[[1, -13.6],[2,1.12],[3,4.1],[4,19.6],[5,-20.9],[6,40.9]]

 

Example 3) Bar graph: 1D, 2 series

[-2,-5.12,-13.1,3.6,35.9,69.9],[-13.6,1.12,4.1,19.6,-20.9,40.9]

 

Example 4) Pie graph: 1D, 1 series

[8,30,12,10,40]

 


This add-on uses jQuery 1.6, and so it requires Concrete 5.4.2 (or newer). If you'd like to make this work on an older version of Concrete5, simply download the latest version of jQuery and replace files in your Concrete5 site: /concrete/js/jquery.X.js with the new 1.6 version. All other add-ons SHOULD work ok, so always backup your old jquery.js file just in case.


FAQs:

Q: Can I show negative data values with this graph system?
A: Yes.

Q: Can I change the colours?
Y: Yes, absolutely. You can easily change the background, grid and data set colours via the editor interface. If you wish to make more advanced colour changes, such as the label values, legend, etc, you will require more advanced CSS knowledge. If you need any tips in this regard, just submit a support request.

Q: Can I feed Database data into this add-on?
A: Yes you can but you will have to programatically do that and display the correct pattern given above. We also offer paid customisations so if you cannot do that just hit us a message. 

 

Need support?

Please read this page on our website for more details.

 

News:

Please check our Twitter page for latest news.

 

Response Times:

We generally respond to all support enquiries within 1 business day (often within a few hours). I stand behind all my Concrete5 add-ons & themes and want to ensure you have complete satisfaction. Please note, there are some occasions where I'll be away from my computer for a longer period (such as Xmas holidays), but I will always post news about this on Twitter so you can stay up-to-date.