Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

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! 🙂