ka215 / jquery.timeline

You can easily create the horizontal timeline with two types by using this jQuery plugin.
MIT License
240 stars 43 forks source link

Can't set "quarter-hours" as scale #50

Open simone-b opened 4 years ago

simone-b commented 4 years ago

Hi,

I'm trying to set the "scale" option to "quarter-hour" on the widget. It seems impossible for the widget to handle it. It always writes the following error on the console: "Property "grids" cannot set because undefined or invalid variable."

here are the given parameters :

{"type":"bar","startDatetime":"2020-01-05T00:00:00.000Z","scale":"quarter-hour"}

I also tried to set the "scale" option to "minute", it works well, so I don't think it's a performance issue. I thought it was because no "endDatetime" was provided, so I tried to set it at "2020-01-05T12:00:00.000Z" it doesn't work neither.

Does anyone have encountered and fixed this issue ?

Thank you very much for the time given to my issue,

Have a nice day,

ka215 commented 4 years ago

Hi there,

Sorry, the "quarter-hours" and "half-hours" scaling options are still incompletely implemented on the current version. Well, it's supposed to, anyway, but I've never tested it and I seriously doubt it actually works.

Thank you,