# RE: change bar width according to timestamp in reporting module

**URL:** <https://forum.inductiveautomation.com/t/re-change-bar-width-according-to-timestamp-in-reporting-module/88333>\
**Category:** Ignition\
**Tags:** ignition81, reporting\
**Created:** [April 4, 2024, 9:21am UTC](https://forum.inductiveautomation.com/t/re-change-bar-width-according-to-timestamp-in-reporting-module/88333 "2024-04-04T09:21:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amol\_Sonavale](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@Amol\_Sonavale](https://forum.inductiveautomation.com/u/Amol_Sonavale)\
**Post date:** [April 4, 2024, 9:21am UTC](https://forum.inductiveautomation.com/t/re-change-bar-width-according-to-timestamp-in-reporting-module/88333/1 "2024-04-04T09:21:29Z")

</div>

hi,

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/4/a4e3b1d057b2d8f3562357dcce52b3e0d87a627a.png)

I want similar kind of configuration but in report module and my data set look like:  
Start, End, Mode  
02-04-2024 00:00:00,02-04-2024 02:00:00,Idle  
02-04-2024 02:01:00,02-04-2024 05:00:00,Running  
02-04-2024 05:01:00,02-04-2024 09:00:00,Downtime  
02-04-2024 09:01:00,02-04-2024 12:00:00,Uptime  
02-04-2024 12:01:00,02-04-2024 15:00:00,Running  
02-04-2024 15:01:00,02-04-2024 18:00:00,Idle

for the time range the bar width should vary.  
can you please help me with that how to achieve this in report.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 4, 2024, 11:07am UTC](https://forum.inductiveautomation.com/t/re-change-bar-width-according-to-timestamp-in-reporting-module/88333/2 "2024-04-04T11:07:35Z")

</div>

That's not how column bar charts work. Each column represents one X-axis time period or category.

1. How will you display if the machine runs for 30 minutes?
2. What does the height of a bar mean?

Normally you would use a horizontal bar chart for this and "stack" the time periods left to right. There's an example in [Ribbon chart in Ignition Reporting module](https://forum.inductiveautomation.com/t/ribbon-chart-in-ignition-reporting-module/88209).

---

<div class="post-metadata">

**Author:** ![Amol\_Sonavale](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@Amol\_Sonavale](https://forum.inductiveautomation.com/u/Amol_Sonavale)\
**Post date:** [April 4, 2024, 1:10pm UTC](https://forum.inductiveautomation.com/t/re-change-bar-width-according-to-timestamp-in-reporting-module/88333/3 "2024-04-04T13:10:13Z")

</div>

hi,

1. What does the height of a bar mean?  
lets say the bar height of the each bar is 50.
2. How will you display if the machine runs for 30 minutes?  
that's where I am stuck too.  
do you have suggestion on that how it can be achieve.

I'm still unsure how to achieve the mentioned ribbon chart in reporting.

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [April 4, 2024, 1:18pm UTC](https://forum.inductiveautomation.com/t/re-change-bar-width-according-to-timestamp-in-reporting-module/88333/4 "2024-04-04T13:18:42Z")

</div>

It's probably worth noting that the image above is from this post:  
[change-each-bar-width-in-histogram-chart](https://forum.inductiveautomation.com/t/change-each-bar-width-in-histogram-chart/66847/8)
