Programming User Interaction > Programming Actions > Calling an Action Directly |
To call an action directly, call the CallAction method, which is defined by the Chart2D object. This method is passed the action to be performed and the X- and Y- coordinates of a window location.
For examples of code using CallAction, refer to the actions demo provided with your ComponentOne Chart distribution.