Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Interactive Charts and Jelly

Andrew Pishchul
Giga Expert

Hi Guys,
I'm working on some nice charts in ServiceNow, which are based on morris.js components (http://www.oesmith.co.uk/morris.js/). It's really simple and there are no problem if you just want to display a static chart, which loads data only once, before it's displayed.

But now I need to put some parameters and 'Refresh/Apply' button on a form and be able to refresh the chart correspondingly. I think it should be possible with some javascript, but I don't know how to 'link' that button with data retrieval and chart refresh.

Any ideas how to do that?

(How to put morris.js chart in SN: I use Dynamic block, retrieve data in

<g:evaluate>
and display a chart with javascript)

[flickr-photo:id=9155182158]
5 REPLIES 5

Righto! 🙂