Time-based

Time-based Chart example

Time-based charts are very similar to distribution charts, the only differences being that:

  • An additional parameter tells the frontend if the dates should be displayed by Day, Week, Month, or Year,

  • The keys of the returned object can be ISO-8601 compliant string dates, python datetime.date object, or python datetime.datetime object.

If you want to add several lines to the same chart, you can use the multiple_time_based method:

Last updated

Was this helpful?