diff --git a/config/xsd/request/plot.xsd b/config/xsd/request/plot.xsd index bbe7668..df82164 100644 --- a/config/xsd/request/plot.xsd +++ b/config/xsd/request/plot.xsd @@ -869,6 +869,7 @@ Note : This attribute may be unecessary since kind of line may be deduce from Pl + diff --git a/src/ParamOutputImpl/Plot/SpectroNode.hh b/src/ParamOutputImpl/Plot/SpectroNode.hh index 4a66685..ce72dbe 100644 --- a/src/ParamOutputImpl/Plot/SpectroNode.hh +++ b/src/ParamOutputImpl/Plot/SpectroNode.hh @@ -49,9 +49,16 @@ public: std::shared_ptr spectroPropsPtr = std::shared_ptr(new SpectroProperties(defaultProps)); - // read index definition xmlChar * value = NULL; + // -- parameter resolution + value = xmlGetProp(pNode_, (const xmlChar *) "resolution"); + if( value ) { + spectroPropsPtr->setMaxResolution(atoi((const char*)value)); + xmlFree(value); + } + + // read index definition value = xmlGetProp(pNode_, (const xmlChar*) "index"); if (value) { spectroPropsPtr->setIndexDef((const char*) value); -- libgit2 0.21.2