Search This Blog

Monday, February 8, 2016

Customize the CRM Charts

To achieve some functional, we have to override the existing charts.
Between the <datadescription> and </datadescription> tags, the main elements are:
  • <fetchcollection> — This holds the FetchXML query to retrieve data for the chart. This is also where the grouping and ordering is designated. Data filters can be applied here in addition to filters defined in the view.
  • <categorycollection> — Each series in the chart will have a <measurecollection>. Each measurecollection maps to a designated <series> (vertical or Y-axis)
Also note that each attribute has an ‘alias’ that is referenced throughout the XML.



The next important part of the XML is between the <chart> and </chart> tags. The main elements are:
  • <Series> — If it is a single-series chart, only one <Series> will be defined. Here we can modify the colors, labels, border.
  • <AxisY> — Defines the labeling for the Y-Axis.
  • <AxisX> — Defines the labeling for the X-Axis.
  • <Title> — Here you can modify the labeling for the title of the chart


Please Refer:

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.