Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines
Hi Sean,
To add a chartjs plugin to the Chartjs package, please build your plugin to a final js file and add it to folder chartjs/clients. Then open the file chartjs/Chart.php and replace the following function:
protected function resourceSettings()
{
return array(
"folder" => "clients",
"js" => array("Chart.bundle.min.js", "chartjs.js"),
);
}
with:
protected function resourceSettings()
{
return array(
"folder" => "clients",
"js" => array("Chart.bundle.min.js", "chartjs.js", array("my-chartjs-plugin.js")),
);
}
Hope that helps!
Let KoolReport help you to make great reports. It's free & open-source released under MIT license.
Download KoolReport View demo