I'm trying to make the equipment schedule component show all planned events (startDate=first event start date and endDate=last event end date) but initially focus on the current day when the page is opened.
Is there a way to do so? If I set the startDate to whatever in the past when I load the page the focus is on the start date, not on the currentTimeIndicator.
Thanks
As far as I know, you can't control the horizontal scroll position as a built-in feature of Ignition. What you can do is inject javascript through markdown.
So no way to do so other than this right? Kind of strange the feature hasn't been implemented expecially considering that starting always from the first date ever in the long run is going to be fairly inconvenient
There are a lot of missing features on this component. Some people have made their own versions from apex charts and such because of that.
Okay, I'm kind of a newcomer to Ignition, any tips on where to look/what to do? I didn't know we could integrate Javascript code into Ignition
It's unsupported and could likely break in the future. This is not the best choice for sure.
The ideas webpage has feature requests and status updates. Check there and vote for ideas you like.
The only supported work around that I can think of is to change the date ranges to force it to encapsulate the item in question, but then you would need a way to reset it too. This could be really cumbersome.