jsx3.chart.ChartAPI


DestroyFires after this chart is removed from the DOM.
MenuFires after the user right-clicks this chart and before the bound context menu displays.
SpyglassFires after the user hovers the mouse over this chart and before the spyglass displays.

Spyglassjsxspy

Fires after the user hovers the mouse over this chart and before the spyglass displays. The event script must evaluate to the HTML content to display in the spyglass. Canceling this event prevents the spyglass from displaying.
Cancelable: Evaluate to false to cancel event.

Context Variables

this {jsx3.chart.Chart} - the object that publishes this event.
objEVENT {jsx3.gui.Event} - the browser event that triggers this event.

Menujsxmenu

Fires after the user right-clicks this chart and before the bound context menu displays. Canceling this event prevents the menu from displaying.
Cancelable: Evaluate to false to cancel event.

Context Variables

this {jsx3.chart.Chart} - the object that publishes this event.
objEVENT {jsx3.gui.Event} - the browser event that triggers this event.
objMENU {jsx3.gui.Menu} - the menu to display.

Return Fields

objMENU {jsx3.gui.Menu} - use this field to override the default menu with an instance of jsx3.gui.Menu.

Destroyjsxdestroy

Fires after this chart is removed from the DOM.

Context Variables

this {jsx3.chart.Chart} - the object that publishes this event.
objPARENT {jsx3.app.Model} - the parent of this chart before it is removed from the DOM.