chartViewer.setDataViewMarkerSize(newdataViewId, 5);
String plotKey = newdataViewId.replaceFirst(scanServerDeviceName + "/", "");
if (plotPropertiesMap != null && plotPropertiesMap.containsKey(plotKey)
&& plotPropertiesMap.get(plotKey) != null) {
PlotProperties plotProperties = plotPropertiesMap.get(plotKey);
setDataViewConfiguration(newdataViewId, plotProperties);
// chartViewer.setDataViewPlotProperties(newdataViewId, plotProperties);
}
else {
chartViewer.setDataViewCometeColor(newdataViewId, dataViewColor);
chartViewer.setDataViewMarkerStyle(newdataViewId, IChartViewer.MARKER_DOT);
chartViewer.setDataViewMarkerCometeColor(newdataViewId, dataViewColor);
chartViewer.setDataViewMarkerSize(newdataViewId, 5);
}
chartViewer.setDataViewAxis(newdataViewId, axis);
PlotProperties plotProperties = chartViewer
.getDataViewPlotProperties(newdataViewId);
if (plotProperties != null) {
plotProperties.setAxisChoice(axis);
}
chartViewer.setDataViewDisplayName(newdataViewId, newDisplayName);
dataViewIdList.add(newdataViewId);
}