Gant chart for different categories in perspecive

Good day,

I am trying to build something like this in ignition perspective:

I am using an XYChart

xAxis defined as Date

yAxis defined as Category

The data I am using is like this

the idea is to position in the chart with ‘x’ and then plot a column with ‘dur’ width.

But somehow I am not able to do that, can anyone give me some light with an idea?

Thanks in advance

I would start by playing with the example in the manual.

Then come up with a strategy based on your data. It could as simple using an end_date instead of dur (duration). Assuming dur is in minutes, you could convert to milliseconds then calculate the end_date based on x with system.date.addMillis(x, durMillis).

Date add functions link:

Take a look at this Exchange item. Ignition Exchange | Inductive Automation

It takes a bit to figure out how to model up your data, but once you do it's not to bad. But the chart comes out like you want.