if (extraGridX == INVENTORY_GRIDX) { extraGridX = SHORTFALL_GRIDX; } else { extraGridX++; }
extraGridX++;
    protected void addOtherDataView(ChartDataView chartDataView) {	String name = chartDataView.getName();	JComponent component;	Color color;	JLabel label;		ChartDataViewSeries series;//  	JPanel newPanel = new JPanel();//  	newPanel.setLayout(new GridBagLayout());//  	newPanel.setBorder(defaultBorder);		initDemandSupplyPanel();	// add checkbtn or label for the view	int y = 0;	if (inventoryChart.isChartDataViewSelectable(chartDataView)) {	    component = createCheckBox(name,chartDataView.isVisible());	} else {	    component = createLabel(name);	}	demandSupplyPanel.add(component,	    new GridBagConstraints(extraGridX, y++, 1, 1, 0.0, 0.0,				   GridBagConstraints.WEST, 				   GridBagConstraints.NONE, 				   insets, 0, 0));	// add label w/ color coded circle for each series	int numSeries = chartDataView.getNumSeries();	if (numSeries == 0) {	    label = new JLabel("No "+name);	    label.setForeground(Color.black);	    demandSupplyPanel.add(label, 			 new GridBagConstraints(extraGridX, y++, 1, 1, 0.0, 0.0,						GridBagConstraints.WEST, 						GridBagConstraints.NONE, 						insets, 0, 0));	}	for (int j = 0; j < numSeries; j++) {	    series = chartDataView.getSeries(j);	    color = series.getStyle().getSymbolColor();	    label = new JLabel(series.getLabel(),			       new SquareIcon(color, iconWidth),			       SwingConstants.RIGHT);	    label.setForeground(Color.black);	    demandSupplyPanel.add(label, 			 new GridBagConstraints(extraGridX, y++, 1, 1, 0.0, 0.0,						GridBagConstraints.WEST, 						GridBagConstraints.NONE, 						insets, 0, 0));	}        if (extraGridX == INVENTORY_GRIDX) {            extraGridX = SHORTFALL_GRIDX;        } else {            extraGridX++;        }//  	panels.add(newPanel);    }