Search Locate Previous Next Contents

CDATA – chart data was clicked

A CDATA event is reported when the user clicks on any item of chart data. This could be a marker (on a line chart) a bar or a pie wedge. Towers have sensitive tops and 3D scatters have markers.

The message will report:

  1. chart id (string) e.g. ‘chart9876513’
  2. series id (string) e.g. ‘usage’ or null if you don’t set it
  3. row,col of the item in the original dataset (if you plot a simple vector then col is always = 1) as integer pair
  4. mouse button (integer)
  5. keyboard state (integer – sum of Shift+Ctrl+Alt)

You can use this to enable drill-down, removal of ‘outliers’ from a regression analysis etc.



Continue to: CHINT – mouse over hinted data
© Copyright Causeway Graphical Systems Ltd 2003