private void setDataViewConfiguration(final String dataViewId, final PlotProperties properties) {
if ((dataViewId != null) && (properties != null) && (chartViewer != null)) {
// Do not modified the label
// CurveProperties
CurveProperties curveProp = properties.getCurve();
chartViewer.setDataViewCometeColor(dataViewId, curveProp.getColor());
chartViewer.setDataViewLineStyle(dataViewId, curveProp.getLineStyle());
chartViewer.setDataViewLineWidth(dataViewId, curveProp.getWidth());
chartViewer.setDataViewFillStyle(dataViewId, properties.getBar().getFillStyle());
chartViewer.setDataViewFillMethod(dataViewId, properties.getBar().getFillingMethod());
chartViewer.setDataViewMarkerProperties(dataViewId, properties.getMarker());
chartViewer.setDataViewBarProperties(dataViewId, properties.getBar());