Visit Gigasoft's Web Site
ProEssentials v11 Help

JS / .NET Events Reference

 

40 events. The same 40 in JavaScript and in .NET, under the same names. The per-event topics linked below document the parameters; this page is the index and says what raises each one.

 

For the JavaScript subscribe syntax see ProEssentialsJS Events. In .NET they are ordinary events on the control. Under ActiveX and VCL the same events carry the name without the Pe prefix, which is the name each per-event topic is titled with, and OCX/VCL Events covers that form.

 

Which Objects Carry Events

Pego, Graph 37 of the 40
Pesgo, Scientific Graph 35
Pe3do, 3D Scientific Graph 25
Pepso, Polar / Smith / Rose 23
Pepco, Pie Chart 14

 

Raised By A Hot-Spot Click

Twenty. Click a data point, an axis, a title, a table cell or an annotation and the matching event fires with what was hit. Nothing fires when the click hit nothing. Most are gated by an Allow...HotSpots property, named on each topic.

JS / .NET

OCX / VCL, and the topic

PeDataHotSpotDataHotSpot
PeSubsetHotSpotSubsetHotSpot
PePointHotSpotPointHotSpot
PeGraphHotSpotGraphHotSpot
PeGridNumberGridNumber
PeTableHotSpotTableHotSpot
PeTableAnnotationTableAnnotation
PeXAxisXAxis
PeYAxisYAxis
PeXAxisLabelXAxisLabel
PeYAxisLabelYAxisLabel
PeMainTitleMainTitle
PeSubTitleSubTitle
PeMultiSubTitleMultiSubTitle
PeMultiBottomTitleMultiBottomTitle
PeGraphAnnotHotSpotGraphAnnotHotSpot
PeXAxisAnnotHotSpotXAxisAnnotHotSpot
PeYAxisAnnotHotSpotYAxisAnnotHotSpot
PeHorzLineAnnotHotSpotHorzLineAnnotHotSpot
PeVertLineAnnotHotSpotVertLineAnnotHotSpot

 

Raised By Interaction And By The Chart's Own Work

Thirteen. Zooming, scrolling, the tracking cursor, dragging an annotation, the popup menu, a property change, and the three that let you replace text.

JS / .NET

OCX / VCL, and the topic

PeZoomInZoomIn
PeZoomOutZoomOut
PeHorzScrollHorzScroll
PeVertScrollVertScroll
PeCursorMovedCursorMoved
PePreCursorMovePreCursorMove
PeParamUpdateParamUpdate
PePopupMenuPopupMenu
PeTAMovedTAMoved
PeGraphAnnotationMovedGraphAnnotationMoved
PeCustomGridNumberCustomGridNumber
PeCustomTrackingDataTextCustomTrackingDataText
PeCustomTrackingOtherTextCustomTrackingOtherText

 

Scroll Gate Notifications

Two, raised before a scroll is applied.

PePreHScrollPreHScroll
PePreVScrollPreVScroll

 

In JavaScript, PePreVScroll is present only where a vertical scroll range exists. A Graph, Scientific Graph or Polar chart lays out no vertical scrollbar, so the event is not published on those and appears in the control's eventsBlocked list.

 

Declared, Not Raised

Five. Present in the object model and documented here so the model is complete, and listed as not raised so no one waits on one.

JS / .NET

Status

PeXAxisLineAnnotHotSpot Declared on the desktop and here. No hot-spot type dispatches to it on either, so nothing raises it.
PeYAxisLineAnnotHotSpot As above.
PeZAxisLineAnnotHotSpot As above.
PeCustomMenu CustomMenu. Not available in JavaScript. Use PePopupMenu.
PeCustomizeDlg CustomizeDlg. Not available in JavaScript; the customize dialog is a desktop construct.

 

In JavaScript the last two are undefined on the control rather than handles that never fire, and the control names them in eventsBlocked.

 

See also JS / .NET Charts Reference, ProEssentialsJS Events, OCX/VCL Events, How do I use Hot Spots?