histoPlot.xsd 3.87 KB
<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:include schemaLocation="plot.xsd" />  
    
    <xs:element name="histoPlot" substitutionGroup="PlotElement">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="legends" type="PlotLegendType"
        		minOccurs="0" maxOccurs="1" />
          <xs:element name="params" minOccurs="0" maxOccurs="1">
            <xs:complexType>
              <xs:annotation>
        	      <xs:documentation>Parameter serie definition</xs:documentation>
              </xs:annotation>
              <xs:sequence>
			          <xs:element name="param" minOccurs="0" maxOccurs="unbounded">
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="default"
                        type="ParameterDefaultPropertiesType" minOccurs="0"
                        maxOccurs="1">
                      </xs:element>
                      <xs:element name="xserie"
                        type="ParameterXPropertiesType" maxOccurs="unbounded"
                        minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>
                            define xaxis values
                          </xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="histogram2d"
                        type="Parameter2dhistogramPropertiesType" maxOccurs="unbounded"
                        minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>
                            define drawing properties for 2D histogram.
                            To be filled.
                          </xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="histogram1d"
                        type="Parameter1dhistogramPropertiesType" maxOccurs="unbounded"
                        minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>
                            define drawing properties for 1D histogram.
                            To be filled.
                          </xs:documentation>
                        </xs:annotation>
                      </xs:element>
                    </xs:sequence>
                	  <xs:attribute name="id" type="xs:string"/>                	
                  </xs:complexType>                        
                </xs:element>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="axes" minOccurs="1" maxOccurs="1">
            <xs:complexType>
            <xs:sequence>
              <xs:element name="xAxis">
                <xs:complexType>
                  <xs:sequence minOccurs="1" maxOccurs="1">
                    <xs:choice>
                      <xs:element name="digitalAxis" type="DigitalAxis"/>
                    </xs:choice>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="yAxis">
                <xs:complexType>
                  <xs:sequence minOccurs="1" maxOccurs="unbounded">                    
                    <xs:element name="digitalAxis" type="DigitalAxis"/>                    
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="zAxis" minOccurs="0" maxOccurs="1">
        		<xs:complexType>
        			<xs:sequence minOccurs="1" maxOccurs="1">
        				<xs:element name="colorAxis" type="ColorAxis" />
        			</xs:sequence>
        		</xs:complexType>
        	  </xs:element>
            </xs:sequence>
          </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </xs:element>      
</xs:schema>