Skip to content

[SUPPORT/FEATURE] Display the data points in a bar-chart as a time period (from-to, eg. for energy consumption) #4343

Description

@SesioN

Chartjs 2.5

I am looking at a possibility of displaying the data points on the bar-chart so that the bar width represents/shows the given time period. This would be useful for displaying all kinds of consumption entries, like energy consumption, where you have data points that represent a consumption over time (eg. from 15:00 to 16:00 or from a whole day, week, month, year etc. )

Note: I am also using the zoom-plugin, which changes the view-point based on the zoom-level.

Example:

Like, we want to show a daily energy consumption for a time range of the month June. Now we would need 30 entries each representing a whole day, so that each bar represents exactly one day (eg. stretching between 1st and 2nd and so on..)

Any ideas on how to approach this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions