public void addPlotPropertiesMap(String dataViewId, PlotProperties plotProperties) {
// System.out.println("addPlotPropertiesMap= " + dataViewId +
// System.currentTimeMillis());
// new Exception().printStackTrace();
if (dataViewId != null && !dataViewId.isEmpty()) {
PlotProperties oldProp = getPlotProperties(dataViewId);
if (plotProperties == null) {
plotProperties = oldProp;
} else {
// Do not change the axis information
if (oldProp != null) {
int oldAxis = oldProp.getAxisChoice();
plotProperties.setAxisChoice(oldAxis);
}
}
plotProperties.getMarker().setLegendVisible(true);
plotPropertiesMap.put(dataViewId.toLowerCase(), plotProperties);