Hide Comments
Hide Comments

Comments (0)

Defines the actions that the user may take with the chart panel. Use the UserActions to enable or disable actions that the user may take with the chart panel. The  UserPan,  UserSelect, and  UserZoom properties define how the user interacts with the chart panel.
 

Namespace: RSChartPanel

expandingSyntax

Delphi

public
  property UserActions: TChartUserActions read FUserActions write FUserActions default DefaultUserActions;
 

Property Value

Type: TChartUserActions

expandingExamples

The following code enables the pan, select, and zoom actions for the chart panel. It then defines the mouse and keyboard combinations needed by the user to interact with the chart panel:

Delphi

begin
      RSChartPanel1.UserActions := [cuaZoom, cuaPan, cuaSelect];
      RSChartPanel1.UserZoom := [ssLeft];           // Left mouse button
      RSChartPanel1.UserPan := [ssAlt, ssLeft];     // Left mouse button and holding down Alt key
      RSChartPanel1.UserSelect := [ssCtrl, ssLeft]; // Left mouse button and holding down Control key
 end;

expandingSee Also

Comments (0)

RiverSoftAVG Charting Component Suite (RCCS) © 2005-2015, Thomas G. Grubb