xyPlot.xsd 4.29 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="xyPlot" 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="yserie"
                			type="ParameterYPropertiesType" maxOccurs="unbounded"
                			minOccurs="0">
                			<xs:annotation>
                				<xs:documentation>
                					define drawing properties for one
                					serie associated to that parameter.
                					At least one serie should be
                					attached to a parameter, but more
                					can be associated when related
                					parameter is not a simple type (a
                					vector for instance).
                				</xs:documentation>
                			</xs:annotation>
                		</xs:element>
                	    <xs:element name="orbitserie"
                			type="ParameterOrbitPropertiesType" maxOccurs="unbounded" minOccurs="0">
                		</xs:element>
                		<xs:element name="colorserie" type="ParameterColorSeriePropertiesType" maxOccurs="unbounded" minOccurs="0">                		    
                			<xs:annotation>
                				<xs:documentation>
                					define drawing properties for one
                					colored serie associated to that parameter.
                				</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:element name="additionalObjects" type="AdditionalObjetctsType" minOccurs="0" maxOccurs="1"/>
        </xs:sequence>
        <xs:attribute name="isotropic" type="xs:boolean"/>
      </xs:complexType>
    </xs:element>      
</xs:schema>