Quick Start
 
 Dynamic style
 
 Dynamic model
 
 Drill-down
 
 
 
 
   Swing         SWT       

WebCharts3D component fires a selection change event when an end-user clicks on one of the chart's active elements. To process a selection change event, add an instance of MxComponentListener to the chart and check the event id for MxComponentEvent.STATE_CHANGED, for example:

	chart.addMxComponentListener(
		new MxComponentListener() { 
			public void componentChanged(MxComponentEvent event) { 
				if(event.getID() == MxComponentEvent.STATE_CHANGED) { 
				 	// some action code here 
				 } 
			} 
		});

You can see this example running by selecting Samples topic of Swing section in WebCharts3D Designer's Help and clicking the appropriate sample link.

 

   Copyright © 1994-2010 GreenPoint, Inc. All rights reserved.