myYAxisTitle = data.getUnit();
    public void setData(InventoryData data) {	inventory = data;	java.util.List viewList = chart.getDataView();	for (int i = 0; i < viewList.size(); i++) {	    ChartDataView chartDataView = (ChartDataView)viewList.get(i);	    InventoryBaseChartDataModel dataModel = (InventoryBaseChartDataModel)chartDataView.getDataSource();	    dataModel.resetInventory(data);	}	chart.reset();	resetAxes();    }