Page 1 of 1

Charts.JS in a page

Posted: Thu Jul 20, 2017 12:31 am
by MorningLight
Hi All,

Is it possible to add a bar-chart from Charts.JS (http://www.chartjs.org/samples/latest/) into a WWB page?
I don't know where exactly to load the script file and how to put, for instance, this code:
http://www.chartjs.org/docs/latest/

Is it possible to put them into a Layoutgrid?

Thanks for any help.
Kind regards,
David

Re: Charts.JS in a page

Posted: Thu Jul 20, 2017 1:16 am
by BaconFries
You can insert external scripts/code using the HTML Object along with using Page HTML placing the code were required this could between the <head>code here</head>tags* or between the <body>here</body>tags*
https://www.wysiwygwebbuilder.com/add_html.html
You may also need to use the File Publisher Object for any external files needed these will also require you to insert the paths of these into the HTML for them to work.
Please note that in general there is no support/assistance with external code or scripts as it is out with help offered.

I cannot say if they can be used in Layout Grids or not but can see no reason why not.

Re: Charts.JS in a page

Posted: Thu Jul 20, 2017 2:51 am
by MorningLight
Thank you again Bacon Fries.
I got success following your recommendations.
:D

Kindest regards,
David