106
Views
2
Comments
Multiple Bars in Bar Graph
Application Type
Reactive
Service Studio Version
11.53.12 (Build 61136)

Hello Everyone,

So, here is the situation that I am trying to create.

I have (let's say) 5 different workers working on something. They all check-in when they start working and check-out when they finish the job.  So, I have the data on how much time they spends doing one job before moving on to the other. Now I am trying make a graph shown in the picture attached if the data is as follows:

Worker 1: 

Works on Job #1 from 8am-11am. Works on Job #2 form 12pm-5pm

Worker 2: 

Works on Job #3 from 8am-10am. Works on Job #4 from 10am-2pm. Works on Job #5 from 3pm-5pm.


Can anyone propose some ideas on how I can Achieve this?


2022-07-22 08-49-20
Laura Fidalgo

Hi @Md Abiruzzaman 

Here's some outsystems documentation that will help you creating the chart you want: https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/Charts_API/Create_Column_and_Bar_Charts

You'll just need to create a chart with multiple series, you can find info in that link.

Cheers

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Md,

What you want can't be achieved with bar charts, I think you'll need an X-range series chart. Since OutSystems Charts doesn't have this out-of-the-box, you'll need to start with a bar chart, and add the appropriate JSON to the Advanced Formatting property. Also, it seems you need to add an extra JavaScript module, so I'm not 100% sure this will work.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.