The App.Chart module is responsible for rendering charts. It is based on chartist.js.
Input
// The module is instantiated with the following input
var input = {
widget: widget, // the widget that instantiated this chart
element: element, // the dom element where the chart should be rendered
context: context, // object containing current context ids
// specific options for this chart instance.
options: {
// string, reference to chart configuration file to use
chartConfigName: '<config-ref>'
}
}
var chart = App.Chart.create(input)