using chartjs or highcharts in widget

yundlu316
Kilo Guru

Hi Experts, I am building a widget and would like to include a donut chart in it.   I know that there is a chartjs widget in ServiceNow share that I could use and embed within my widget, but I need more flexibility than the reports that SN provides.   I am attempting to either use chartjs or highcharts to produce my chart, but am unable to get anything to work.   Has anyone coded a custom chart in a widget before?   I've included all the necessary CDN libraries in <head>, but can't seem to get any of the sample codes I copied/pasted from the sites to render.  

Any thoughts?

1 ACCEPTED SOLUTION

I aim for one article a week and I have one other one I'm trying to get out before I tackle the HighChart series... so it might be a while .   I'll tell you what, though, I have some experimental code in my dev instance on this.   If you send me your email (feel free to use the forms on my blog if you don't want to publicly post) I will try to package up this widget I've got so far and send it to you with some of the notes I've compiled for the blog articles.   That way you can get started!


View solution in original post

5 REPLIES 5

amazing, thanks!