1. Home
  2. Docs
  3. GLayer
  4. Charts
  5. RealtimeHtmlChart

RealtimeHtmlChart

Example of a RealtimeHtmlChart showing current traffic data for Klatovská street in Pilsen.

RealtimeHtmlChart is similar to HtmlChart, but in addition to using static data or User Functions,

In addition to Common chart settings, the RealtimeHtmlChart type has the following settings:

  • HTML:
    The HTML to display. It is formatted by Bootstrap Framework and can use its available classes (e.g., col-x).
  • URLs:
    An array of URLs of valid and CORS accessible file(s) that should contain any JSON valid value (Array, Object, String, etc.). All returned data are then accessible as data[n] in the HTML (using JS/User Functions), e.g., if the first URL returns a string, data0 will contain this string, and if the second URL returns a valid JSON object, this object (and all its properties) will be accessible under data1.
  • Refresh Interval:
    Interval (in seconds) in which to reload the data from all URLs.

Was this article helpful to you? Yes No

How can we help?