123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- edited with XMLSpy v2010 (http://www.altova.com) by IBM SWG CANADA (IBM SWG CANADA) -->
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: vgs
- (C) Copyright IBM Corp. 2015
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <!--After making changes to this file you must run tools/generateDTDs.bat to generate ChartTypeDefinition.dtd, and deliver changes to both files-->
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.ibm.com/xmlns/prod/ba/visBundle/chartTypeDefinition.3/" xmlns:tns="http://www.ibm.com/xmlns/prod/ba/visBundle/chartTypeDefinition.3/" targetNamespace="http://www.ibm.com/xmlns/prod/ba/visBundle/chartTypeDefinition.3/" elementFormDefault="qualified" attributeFormDefault="unqualified">
- <xs:element name="visualizationDefinition">
- <xs:complexType>
- <xs:all>
- <xs:element name="slots" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Defines distinct data elements that are used in a visualization and can be reused in multiple data sets.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded">
- <xs:element ref="categorySlot"/>
- <xs:element ref="valueSlot"/>
- <xs:element name="slotGroup">
- <xs:complexType>
- <xs:all>
- <xs:element name="slots">
- <xs:annotation>
- <xs:appinfo>subtype</xs:appinfo>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded">
- <xs:element ref="categorySlot"/>
- <xs:element ref="valueSlot"/>
- </xs:choice>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- </xs:all>
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="dataSets" minOccurs="0">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="dataSet" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>Describes a set of data that is used in a visualization. Each 'dataSet' can be mapped to a different query in a report.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:all>
- <xs:element name="categoryAxes" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Each 'categoryAxis' defines a set of tuples. Each level in a 'categoryAxis' defines a member of this tuple. The intersection of tuples for each 'categoryAxis' identifies a set of values defined by 'valueAxis'.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="categoryAxis" maxOccurs="unbounded">
- <xs:complexType>
- <xs:all>
- <xs:element name="axisStructure">
- <xs:complexType>
- <xs:choice>
- <xs:element ref="set"/>
- <xs:element name="nest">
- <xs:annotation>
- <xs:documentation>Represents the nesting of multiple sets.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="set" minOccurs="2" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="union">
- <xs:annotation>
- <xs:documentation>Represents the unioning of multiple sets.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element ref="set" minOccurs="2" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:complexType>
- </xs:element>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- </xs:all>
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="valueAxis" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Defines the set of values in the data set that are available at the intersection of category axes.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:all>
- <xs:element name="valueAxisSet">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="valueAxisValue" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>References a 'valueSlot' that will be part of 'valueAxis' for the data set.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:attribute name="refSlot" type="xs:string" use="required"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- </xs:all>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="optionalOverride" type="xs:boolean" default="false">
- <xs:annotation>
- <xs:documentation>A value of 'true' provides the option to not override the default data set found in a visualization.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="hasChartElements" type="xs:boolean" default="true">
- <xs:annotation>
- <xs:documentation>Set this to 'false' if the resulting chart does not have any chart elements that tie back to this data set.
- For example the data set is only used as input for statistical calculations which are then displayed on the chart.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:unique name="slotRefUniqueness">
- <xs:selector xpath=".//tns:set | .//tns:valueAxisValue"/>
- <xs:field xpath="@refSlot"/>
- </xs:unique>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- <xs:unique name="dataSetUniqueness">
- <xs:selector xpath="dataSet"/>
- <xs:field xpath="@name"/>
- </xs:unique>
- </xs:element>
- <xs:element ref="properties" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Visualization properties that can be changed by a report author.</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="description" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- <xs:element name="author" type="TextType" minOccurs="0"/>
- <xs:element name="tags" minOccurs="0">
- <xs:annotation>
- <xs:documentation>A list of tags that can be used when searching for chart types.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="tag" minOccurs="0" maxOccurs="unbounded">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="TextType">
- <xs:attribute name="ids" type="xs:string"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="metadataEntries" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Reserved.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="metadataEntry" maxOccurs="unbounded">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="TextType">
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="sampleData" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Reserved.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:attributeGroup ref="locationGroup"/>
- </xs:complexType>
- </xs:element>
- </xs:all>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="adapter" type="xs:string" use="required"/>
- <xs:attribute name="definitionVersion" type="xs:positiveInteger" use="required"/>
- <xs:attribute name="supportsDefaultDataFormatting" type="xs:boolean" default="true">
- <xs:annotation>
- <xs:documentation>If 'true', a report author can specify the data formatting.
- Charts that provide their own data formatting or do not require default data formatting (e.g. boxplot, waterfall with pre-processed data) should set this property to 'false'.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="outputType" default="all">
- <xs:annotation>
- <xs:documentation>Static visualizations are produced at runtime on the server (for regular or Active Reports) and do not support client-side filtering. Interactive visualizations can be used in Active Reports and be re-rendered based on Active Report filter conditions. If your visualization supports both static and interactive output, set 'outputType' to 'all'.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="all"/>
- <xs:enumeration value="static"/>
- <xs:enumeration value="interactive"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="isValid" type="xs:boolean" default="true"/>
- <xs:attribute name="isRecommendable" type="xs:boolean" default="false"/>
- <xs:attribute name="score" type="xs:decimal">
- <xs:annotation>
- <xs:documentation>Will be used to break ties during recommendation of a visualization</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:unique name="categorySlotUniqueness">
- <xs:selector xpath=".//tns:categorySlot"/>
- <xs:field xpath="@name"/>
- </xs:unique>
- <xs:key name="categorySlotKey">
- <xs:selector xpath=".//tns:categorySlot"/>
- <xs:field xpath="@name"/>
- </xs:key>
- <xs:keyref name="categegorySlotReference" refer="tns:categorySlotKey">
- <xs:selector xpath=".//tns:set"/>
- <xs:field xpath="@refSlot"/>
- </xs:keyref>
- <xs:unique name="valueSlotUniqueness">
- <xs:selector xpath=".//tns:valueSlot"/>
- <xs:field xpath="@name"/>
- </xs:unique>
- <xs:key name="valueSlotKey">
- <xs:selector xpath=".//tns:valueSlot"/>
- <xs:field xpath="@name"/>
- </xs:key>
- <xs:keyref name="valueSlotReference" refer="tns:valueSlotKey">
- <xs:selector xpath=".//tns:valueAxisValue"/>
- <xs:field xpath="@refSlot"/>
- </xs:keyref>
- </xs:element>
- <xs:group name="PropertyTypes">
- <xs:choice>
- <xs:element name="stringProperty">
- <xs:complexType>
- <xs:all>
- <xs:element name="defaultString" type="TextType" minOccurs="0"/>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="description" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- </xs:all>
- <xs:attributeGroup ref="CommonPropertyAttributes"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="integerProperty">
- <xs:complexType>
- <xs:all>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="description" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- <xs:element name="defaultInteger" type="xs:integer" minOccurs="0"/>
- </xs:all>
- <xs:attributeGroup ref="CommonPropertyAttributes"/>
- <xs:attribute name="min" type="xs:integer"/>
- <xs:attribute name="max" type="xs:integer"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="decimalProperty">
- <xs:complexType>
- <xs:all>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="description" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- <xs:element name="defaultDecimal" type="xs:decimal" minOccurs="0"/>
- </xs:all>
- <xs:attributeGroup ref="CommonPropertyAttributes"/>
- <xs:attribute name="min" type="xs:decimal"/>
- <xs:attribute name="max" type="xs:decimal"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="booleanProperty">
- <xs:complexType>
- <xs:all>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="description" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- <xs:element name="defaultBoolean" type="xs:boolean" minOccurs="0"/>
- </xs:all>
- <xs:attributeGroup ref="CommonPropertyAttributes"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="enumProperty">
- <xs:annotation>
- <xs:documentation>Use an 'enumProperty' to denote a choice from a fixed set of values.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:all>
- <xs:element name="enumValues">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="enumValue" maxOccurs="unbounded">
- <xs:complexType>
- <xs:all>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="description" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- </xs:all>
- <xs:attribute name="value" type="xs:string" use="required"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="description" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- <xs:element name="defaultValue" type="xs:string"/>
- </xs:all>
- <xs:attributeGroup ref="CommonPropertyAttributes"/>
- </xs:complexType>
- <xs:unique name="enumValueUniqueness">
- <xs:selector xpath="*"/>
- <xs:field xpath="@value"/>
- </xs:unique>
- </xs:element>
- <xs:element name="colorProperty">
- <xs:complexType>
- <xs:all>
- <xs:element name="defaultColor" minOccurs="0">
- <xs:annotation>
- <xs:documentation>Specify a default RGB color with an optional alpha channel.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:all>
- <xs:element ref="RGBA"/>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="description" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- </xs:all>
- <xs:attributeGroup ref="CommonPropertyAttributes"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="fontProperty">
- <xs:complexType>
- <xs:all>
- <xs:element name="defaultFont" minOccurs="0">
- <xs:complexType>
- <xs:attribute name="family" type="xs:string" use="required"/>
- <xs:attribute name="size" type="UnitLength" use="required"/>
- <xs:attribute name="weight" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="normal"/>
- <xs:enumeration value="bold"/>
- <xs:enumeration value="inherit"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="style" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:NMTOKEN">
- <xs:enumeration value="inherit"/>
- <xs:enumeration value="normal"/>
- <xs:enumeration value="italic"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="description" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- </xs:all>
- <xs:attributeGroup ref="CommonPropertyAttributes"/>
- <xs:attribute name="unit" type="UnitList"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="lengthProperty">
- <xs:complexType>
- <xs:all>
- <xs:element name="defaultLength" type="UnitLength" minOccurs="0"/>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="description" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- </xs:all>
- <xs:attributeGroup ref="CommonPropertyAttributes"/>
- <xs:attribute name="unit" type="UnitList"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="colorPaletteProperty">
- <xs:annotation>
- <xs:documentation>Identifies a palette. The list of available palettes can be obtained from the gallery serivce.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:all>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="description" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- </xs:all>
- <xs:attributeGroup ref="CommonPropertyAttributes"/>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:group>
- <xs:element name="properties">
- <xs:complexType>
- <xs:sequence>
- <xs:choice maxOccurs="unbounded">
- <xs:group ref="PropertyTypes"/>
- <xs:element name="propertiesGroup">
- <xs:complexType>
- <xs:all>
- <xs:element ref="groupProperties"/>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="description" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- </xs:all>
- <xs:attributeGroup ref="CommonPropertyAttributes"/>
- </xs:complexType>
- </xs:element>
- </xs:choice>
- </xs:sequence>
- </xs:complexType>
- <xs:unique name="chartTypePropertyUniqueness">
- <xs:selector xpath=".//*"/>
- <xs:field xpath="@name"/>
- </xs:unique>
- </xs:element>
- <xs:attributeGroup name="PropertyRequiredAttribute"/>
- <xs:attributeGroup name="CommonPropertyAttributes">
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="outputType" default="all">
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="all"/>
- <xs:enumeration value="static"/>
- <xs:enumeration value="interactive"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:attributeGroup>
- <xs:simpleType name="TextType">
- <xs:annotation>
- <xs:documentation>A simple text type that preserves whitespace.</xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:string">
- <xs:whiteSpace value="preserve"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="PercentDelta">
- <xs:restriction base="xs:integer">
- <xs:minInclusive value="-100"/>
- <xs:maxInclusive value="100"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="Percent">
- <xs:restriction base="xs:nonNegativeInteger">
- <xs:minInclusive value="0"/>
- <xs:maxInclusive value="100"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="UnitLength">
- <xs:restriction base="xs:string">
- <xs:pattern value="[0-9]*[.]?[0-9]+(px|%|in|cm|mm|pt|pc|em|ex)?"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:simpleType name="UnitList">
- <xs:annotation>
- <xs:documentation>Type 'UnitList' is a comma separated list of supported font size units, for example 'px,pt,cm'. If not specified it is assumed that 'px,%,in,cm,mm,pt,pc,em,ex' are supported.</xs:documentation>
- </xs:annotation>
- <xs:restriction base="xs:string">
- <xs:pattern value="(px|%|in|cm|mm|pt|pc|em|ex)(,\s*(px|%|in|cm|mm|pt|pc|em|ex))*"/>
- </xs:restriction>
- </xs:simpleType>
- <xs:element name="label">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="TextType">
- <xs:attribute name="ids" type="xs:string"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="description">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="TextType">
- <xs:attribute name="ids" type="xs:string"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="tooltip">
- <xs:complexType>
- <xs:simpleContent>
- <xs:extension base="TextType">
- <xs:attribute name="ids" type="xs:string"/>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- </xs:element>
- <xs:element name="set">
- <xs:annotation>
- <xs:documentation>Represents a set of 'categorySlot' values. For example; a set of members, set of tuples or a set of simple values.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:attribute name="refSlot" type="xs:string" use="required"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="RGB">
- <xs:complexType>
- <xs:attribute name="r" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:nonNegativeInteger">
- <xs:maxInclusive value="255"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="g" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:nonNegativeInteger">
- <xs:maxInclusive value="255"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="b" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:nonNegativeInteger">
- <xs:maxInclusive value="255"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="RGBA">
- <xs:complexType>
- <xs:attribute name="r" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:nonNegativeInteger">
- <xs:maxInclusive value="255"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="g" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:nonNegativeInteger">
- <xs:maxInclusive value="255"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="b" use="required">
- <xs:simpleType>
- <xs:restriction base="xs:nonNegativeInteger">
- <xs:maxInclusive value="255"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="a" default="1">
- <xs:simpleType>
- <xs:restriction base="xs:decimal">
- <xs:minInclusive value="0"/>
- <xs:maxInclusive value="1"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="categorySlot">
- <xs:annotation>
- <xs:documentation>Describes a slot that a set of values for a category can be passed to.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:all>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- </xs:all>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="categoryValues" default="indexedVisible">
- <xs:annotation>
- <xs:documentation>Indicates how category values should be generated.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="indexedFull">
- <xs:annotation>
- <xs:documentation>Data rows will contain indexes to category
- values. The set of categories may be more than what is referenced in
- data rows. Visually, it is possible to show more categories
- than are referenced in data rows.</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="indexedVisible">
- <xs:annotation>
- <xs:documentation>Data rows will contain indexes to the category
- values. All the categories are referenced by indexes in data rows.</xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- <xs:enumeration value="byValue">
- <xs:annotation>
- <xs:documentation>Category values are generated directly in data
- rows and are typically used by network charts.
- </xs:documentation>
- </xs:annotation>
- </xs:enumeration>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- <xs:attribute name="affinity" type="xs:string">
- <xs:annotation>
- <xs:documentation>Used to indicate that the slot has an affinity for certain metadata concepts. Used to recommend visualizations</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="subType" type="xs:string">
- <xs:annotation>
- <xs:documentation>Used to indicate that the slot only accepts certain data types</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="selectable" type="xs:boolean" default="true">
- <xs:annotation>
- <xs:documentation>Used to indicate that the slot will be selectable on the chart. For instance, on an area chart, the x axis categories are not selectable</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="valueSlot">
- <xs:annotation>
- <xs:documentation>Describes a slot that quantitative values can be passed to. Typically, a measure is used for 'valueSlot' but a member or tuple can also be used.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:all>
- <xs:element ref="label" minOccurs="0"/>
- <xs:element ref="tooltip" minOccurs="0"/>
- </xs:all>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="supportsRange" type="xs:boolean" default="false">
- <xs:annotation>
- <xs:documentation>If 'true', a report authors can specify a minimum and maximum range for this field which will impact rendering.
- The minimum and maximum can be provided for both server and client side visualizations.
- Setting 'supportsRange' to 'true' is useful to allow a fixed axis scale to be set during filtering operations.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="affinity" type="xs:string">
- <xs:annotation>
- <xs:documentation>Used to indicate that the slot has an affinity for certain metadata concepts. Used to recommend visualizations</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="subType" type="xs:string">
- <xs:annotation>
- <xs:documentation>Used to indicate that the slot only accepts certain data types</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="selectable" type="xs:boolean" default="true">
- <xs:annotation>
- <xs:documentation>Used to indicate that the slot will be selectable on the chart. For instance, on an area chart, the x axis categories are not selectable</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="groupProperties">
- <xs:complexType>
- <xs:sequence>
- <xs:group ref="PropertyTypes" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:attributeGroup name="locationGroup">
- <xs:attribute name="location" type="xs:string" use="required"/>
- </xs:attributeGroup>
- </xs:schema>
|