Axiom scripting class reference
I've been playing with scripting in Axiom and I'm wondering if there is documentation of the classes available, eg properties for all the control objects that can be put on the screen. As there is no intellisense, it's tricky to know what we can do with these objects.
As an example, I have an Events Table showing events for all my assets. I'd like to add a script so that when a user clicks on an event, they get taken to a screen for the effected asset (preferably with any trends and values set to the time range of the event). The OnEventClick() event handler has a PropertyEventInstance argument but I have no idea what properties this type has so I don't know how to find the asset that was clicked on.
Is there any documentation on this?
2 replies
-
Hi ,
All of our Axiom scripting documentation can be found at https://axiomscripting.canarylabs.com.
-
Yep, thanks. I also found there's a link to it in the '?' on the title bar of the script edit window.
Unfortunately, the event handler crashes, even with nothing in it: