How can you ensure that data is polled upon startup of a dashing widget?
ready
gets triggered once the widget finishes rendering.
class Dashing.Tagcloud extends Dashing.Widget
ready: ->
onData: (data) ->
The widget I've created utilizes D3 to showcase data. Initially, the widget appears empty and then fetches data through subsequent polling events. While other widgets receive their data promptly, is there a way to prompt an immediate data query?
Could it be possible that D3 or jQuery are not fully loaded by the time this is executed during the first run?