Help with Time Series Bar Chart in Ignition - Bars Displayed by Minute Instead of Hour

Hi everyone,

I'm currently working on a project where I need to plot a time series bar chart in Ignition Perspective. My goal is to display data aggregated by each hour (e.g., 12:00, 13:00, etc.), and I've been using timestamp values in milliseconds for each hour.

However, I've encountered an issue where the bars are displayed by minute rather than by hour, which makes the bars look very narrow and almost like columns (see the attached image). The top chart shows what I'm aiming for (bars by hour), while the bottom chart shows what I'm currently getting (bars by minute).

What I've Tried:

  • Verified that the timestamps are correct and reflect the start of each hour.
  • Attempted to adjust the data resolution, but it still shows bars every minute.

My Question:

How can I configure the bar chart so that the data is displayed correctly by each hour? Is there a setting or script adjustment I can use to ensure that each bar represents an entire hour rather than just a minute?

Thank you in advance for your help!

hi,

it would be best if you change your data source to hours.
aggregating your data in the backend would be easier than doing it on ignition