chart.addPickListener(this);
    public void initialize(String title) {	int gridx = 0;	int gridy = 0;	viewIndex=0;	logger = Logging.getLogger(this);	colorTable = new InventoryColorTable();	Insets blankInsets = new Insets(0, 0, 0, 0);	myTitle = title;	chart = new JCChart();	initializeChart();	customizeAxes("");	if(myTitle != null) {	    chart.setHeader(new JLabel(myTitle));	}// allow user to zoom in on chart	chart.setTrigger(0, new EventTrigger(0, EventTrigger.ZOOM));	// allow interactive customization using left shift click	chart.setAllowUserChanges(true);	chart.setTrigger(1, new EventTrigger(Event.SHIFT_MASK,					     EventTrigger.CUSTOMIZE));	// allow user to display labels using right mouse click	chart.addPickListener(this);	chart.setTrigger(1, new EventTrigger(Event.META_MASK, EventTrigger.PICK));	// set header and legend to black	// set beveled borders around plot area and chart	((JLabel)chart.getHeader()).setForeground(Color.black);	chart.setBorder(BorderFactory.createLoweredBevelBorder());	chart.getChartArea().setBorder(BorderFactory.createLoweredBevelBorder());	// add chart to panel	setLayout(new GridBagLayout());	chart.getHeader().setVisible(false);	add(chart, new GridBagConstraints(gridx, gridy++, 1, 1, 1.0, 1.0,					  GridBagConstraints.CENTER, 					  GridBagConstraints.BOTH, 					  blankInsets, 0, 0));	JCMultiColLegend legend = new JCMultiColLegend();	legend.setNumColumns(1);	chart.setLegend(legend);	// set legend invisible, because we create our own??	chart.getLegend().setVisible(true);	chart.getLegend().setPreferredSize(new Dimension(141,95));	// provide for point labels displayed beneath chart         // to leave space in layout	/***	pointLabel = new JLabel("Right click to get quantity at a point.");	pointLabel.setBackground(Color.magenta);	add(pointLabel, new GridBagConstraints(gridx, gridy, 1, 1, 1.0, 0.0,					       GridBagConstraints.CENTER, 					       GridBagConstraints.NONE, 					       blankInsets, 0, 0));	***/    }