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?
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?