Visualization data description schema
The following is the schema for the data description XML string for charts in visualization. This can be used to validate the contents of the data description XML string while creating a chart. For more information, see Understanding Charts: Underlying Data and Chart Representation. Download the schemas and see the file VisualizationDataDescription.xsd
in the folder.
Schema
<?xml version='1.0' encoding='utf-8'?>
<xs:schema attributeFormDefault='unqualified'
elementFormDefault='qualified'
xmlns:xs='https://www.w3.org/2001/XMLSchema'>
<xs:element name='datadefinition'>
<xs:complexType>
<xs:sequence>
<xs:element name='fetchcollection'>
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs='unbounded'
name='fetch'>
<xs:annotation>
<!--FetchXML goes here-->
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name='categorycollection'>
<xs:complexType>
<xs:sequence>
<xs:element name='category'
type='CategoryType'
minOccurs='1'
maxOccurs='unbounded' />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name ='CategoryType'>
<xs:sequence>
<xs:element minOccurs='1'
maxOccurs='unbounded'
name='measurecollection'>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs='1'
maxOccurs='unbounded'
name='measure'>
<xs:complexType>
<xs:attribute name='alias'
type='xs:string'
use='required' />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name='alias'
type='xs:string'
use='optional' />
</xs:complexType>
</xs:schema>
See also
Customize Visualizations and Dashboards
Schemas Used in Microsoft Dynamics 365 Customer Engagement
Understanding Charts: Underlying Data and Chart Representation
Sample Charts
Use FetchXML to Construct a Query
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기