private void load(Axis type) {
    	try {
	    	JTable axisTable = xAxisTable;
	    	JComboBox<String> axisList = xAxisList;
	    	if (type == Axis.YAXIS) {
	    		axisTable = yAxisTable;
	    		axisList = yAxisList;
	    	}
	    	if (axisList.getSelectedItem() == null)
	    		return;
	    	String axisName = axisList.getSelectedItem().toString();
	    	if (axisName.isEmpty())
	    		return;
	    	String[] values = Config.getProperty(axisName).split(",");
	        Utils.ensureColumnCount(values.length, axisTable);
	        Utils.clearTable(axisTable);
	    	for (int i = 0; i < values.length; ++i)
	    		axisTable.setValueAt(values[i], 0, i);
	        for (int i = axisTable.getColumnCount() - 1; i >= 0 && axisTable.getValueAt(0, i).toString().equals(""); --i)
	            Utils.removeColumn(i, axisTable);
    	}
    	catch (Exception e) {
            logger.error(e);
            JOptionPane.showMessageDialog(null, e, "Error load axis template", JOptionPane.ERROR_MESSAGE);
    	}
    }