Hide Comments
Hide Comments

Comments (0)

Defines the mouse and keyboard action the user must perform in order to select chart values in the chart panel. Note that this property only defines the action the user must take. The  UserActions property actually enables or disables the action.
 

Namespace: FMX.RS.ChartPanel

expandingSyntax

Delphi

public
  property UserSelect: TShiftState read FUserSelect write SetUserSelect default DefaultUserSelect;
 

Property Value

Type: TShiftState

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.UserProportional := [ssShift];  // hold down shift button to constrain the zoom
      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