Comment on page
To initialize with a chart object within the chart script:
var vividChart = new VividChart(chart);
Tips: The chart object is generated by the record and does not need to be initialized.
If you want to initialize the class without the chart object and instead plan on using options to add fields and value you can initialize the object in one of two ways:
var vividChart = new VividChart();
var vividChart = new VividChart(null);
Warning: If a chart is initialized this way all required chart fields must be initialized using options.