The important information that every script chart developer should know, is that a Scripted Chart has 2 parts:
- a script that is responsible for collecting data and preparing it for display
We will explain both parts with examples, but keep in mind, that programming skills are required in order to be able to develop own custom script charts.
The script will be written in Groovy language (or Java), and is responsible for collecting the data and formatting/grouping it as needed in the chart.
Our xChart API provides some helper classes for creating the scripts.
Parameters are available as Variables. To get the variable name of a parameter you can just click on the name and the variable will be inserted in the script where at the point of the cursor.
The layouts are created with the help of the c3.js library. Following the documentation on their website, you can create your own layouts.