plotFunction.xsd 1.74 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="plotFunction" substitutionGroup="PlotElement">
      <xs:complexType>
        <xs:sequence>
        	<xs:element name="legends" type="PlotLegendType"
        		minOccurs="0" maxOccurs="1" />
        	<xs:element name="params" type="ParametersType"
        		minOccurs="0" maxOccurs="1" />
        	<xs:element name="axes" minOccurs="1" maxOccurs="1">
        		<xs:complexType>
        			<xs:sequence>
        				<xs:element name="xAxis">
      						<xs:complexType>
      							<xs:sequence minOccurs="0"
      								maxOccurs="unbounded">
      								<xs:element name="digitalAxis"
      									type="DigitalAxis" />
										<xs:element name="timeAxis"
        								type="TimeAxis" />
      							</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:sequence>
        		</xs:complexType>
        	</xs:element>
        </xs:sequence>
		<xs:attribute name="abscisse" type="xs:string"></xs:attribute>
	    <xs:attribute name="scale_abscisse" type="xs:string"></xs:attribute>
		<xs:attribute name="scale_ordonnee" type="xs:string"></xs:attribute>
		<xs:attribute name="type" type="xs:string"></xs:attribute>
		<!--<xs:attribute name="param_nb_points" type="xs:string"></xs:attribute> -->
      </xs:complexType>
    </xs:element>      
</xs:schema>