Get Microsoft Dynamics CRM Logo
  • CRM Packages
    • Quickstart CRM Package – FREE
    • Basic CRM Package – $495
    • Plus CRM Package – $995
    • Standard CRM Package – $2495
    • Premium CRM Package – $4995
    • Choice CRM Package – $7495
  • CRM Services & Products
    • SimpleQuote
    • Add-on CRM Software
    • Consulting Service
    • Data Migration Services
    • Custom Configuration Services
    • Training Services
    • Support Services
  • Resources
  • CRM Tips & News
  • Free Training
  • Contact
1-925-790-2756  |  View Cart  |  Checkout
  • Most Popular Pages

    • Weekly Lunch and Learn Webinar
  • Featured Posts

    • Disappearing Ribbons in Microsoft CRM after upgrading to RU 12
    • Microsoft CRM Mobile Express, get CRM access on your Mobile Device – free!
    • Chart tricks for Microsoft CRM 2011, make your charts look appealing!
    • Adding Microsoft CRM 2011 Entities to Favorites in the Outlook 2010 Client
    • Microsoft’s Big Easy Offer is Back!

Chart tricks for Microsoft CRM 2011, make your charts look appealing!

Microsoft Dynamics CRM 2011 has some great charts out of the box, but sometimes it’s handy to know how to make changes to these chart layouts. Here are a few tips and tricks we’ve put together to help make your Microsoft CRM charts more appealing. Enjoy!

Adding a Scale Break to Charts in Microsoft CRM

If you have a huge gap between the low and high data values – it can make your chart look ugly (see the chart to the left). To counter this, here are some step-by-step directions on how to add a scale break to your CRM charts:

  • To add the scale break – export the chart xml to your local drive (how to export chart: Create a solution and add the Entity which feeds your chart – e.g. Opportunity).
    • On the left pane, select Components > Entities > Opportunities > Charts
    • Select your chart
    • Click on the ‘More Actions’ > Export Chart and save the chart on your hard drive
    • Open the saved xml file and add the ScaleBreakStyle under AxisY node:

Microsoft CRM Export Charts Screen Shot

<AxisY LabelAutoFitMinFontSize=”8″ TitleForeColor=”59, 59, 59” TitleFont=”{0}, 10.5px” LineColor=”165, 172, 181″ IntervalAutoMode=”VariableCount”><MajorGrid LineColor=”239, 242, 246″ />
<
MajorTickMark LineColor=”165, 172, 181″ />
<
LabelStyle Font=”{0}, 10.5px” ForeColor=”59, 59, 59″ />
<ScaleBreakStyle Enabled=
“True” BreakLineStyle=“Straight” Spacing=“2″ />
</
AxisY>

Now, import the modified xml, and then publish it. Your chart should now have scale breaks like our example to the right:

Microsoft CRM 2011 Chart Break Examples

Change the Data Label Format in Microsoft CRM

This is handy if the data labels of your chart are in thousands or billions (J) and you don’t want to see all zeros.

  • Export the chart xml and add LabelFormat under Series
  • LabelFormat = “‘$’#,0,,,.00;(‘$’#,0,,,.00)”  for billions
  • LabelFormat = “‘$’#,0,.00;(‘$’#,0,.00)” for thousands

Example:

————– Original Code ———————

<Series>
<
Series ChartType=”Column” IsValueShownAsLabel=”True” Font=”{0}, 9.5px” LabelForeColor=”59, 59, 59″ CustomProperties=”PointWidth=0.75, MaxPixelPointWidth=40“></Series>
</
Series>

–Modified Code: please note you can also change the Data Label color, font size, column width here–
<Series>
<
Series ChartType=”Column” IsValueShownAsLabel=”True” Font=”{0}, 11.5px“ LabelForeColor=”0,0,128“ CustomProperties=”PointWidth=0.75, MaxPixelPointWidth=10“ LabelFormat=“‘$’#,0,.00;(‘$’#,0,.00)”></Series>
</
Series>

  • Import the modified xml and your chart now appears as one at the right:

Microsoft CRM 2011 Change Data Label Format Example

Remove Data Labels from Charts in Microsoft CRM

Use this trick to remove Data Labels from your chart:

  • Export chart xml  and change IsValueShownAsLabel from True to False

Example:

<Series>
<Series ChartType=”Column” IsValueShownAsLabel=”False” Font=”{0}, 9.5px” LabelForeColor=“59, 59, 59″ CustomProperties=“PointWidth=0.75, MaxPixelPointWidth=40></Series>
</Series>

Microsoft CRM 2011, Example of Removing Data Labels from Charts

Change Chart Palette Colors in Microsoft CRM

  • Edit the XML (the color section)
    • For Stacked, Funnel and Pie charts: <Chart Palette=”None” PaletteCustomColors=”218,112,214; 128,0,128; 0,255,255; 218,165,32; …
    • For Line and Bar charts: <Series IsValueShownAsLabel=”False” Color=”255, 0, 0″

The colors referenced are in RGB format where an integer from 0 to 255 represents the saturation of red, green, and blue respectively. The colors are listed in order that you see them from top to bottom in the graph. Here is a great website that lists over 500 Colors with RGB and Hex values.

Microsoft CRM 2011, Example of how to Change the Color of a Chart

Turn a flat chart into 3D Chart in Microsoft CRM

  • Go to the bottom of <ChartAreas> and insert the following line under </AxisX>

Example:
</AxisX>
<
Area3DStyle Enable3D=“True” LightStyle=”Realistic” WallWidth=”5″ IsRightAngleAxes=”true” />
</ChartArea>
</ChartAreas>

Microsoft CRM Flat to 3D Chart Example

  • After IsRightAngleAxes=”true” attribute you can add more 3D attributes: Rotation=”45″ Inclination=”45″ />
    Microsoft CRM 3D Chart Tutorial with different incline and rotation
  • Another View with Inclination=“45″ />Rotation=”45″ />

Microsoft CRM 3D Chart Tutorial Side View

The following picture shows how the properties in ChartArea.Area3DStyle correspond to the appearance of the 3D chart area.

Microsoft CRM 3D Chart Properties

Attribute Description
Enable3D Gets or sets a flag that toggles the 3D on and off for a chart area.  True or False.
Inclination Gets or sets the angle of rotation around the horizontal axes for 3D chart areas.  The angle is set as an integer value running from 0 to 360.
IsClustered Gets or sets a flag that determines whether data series for a bar or column chart are clustered; that is, displayed along distinct rows.   True or False.
IsRightAngleAxes Gets or sets a flag that determines whether a chart area is displayed using an isometric projection.   Note that if you use this, you would not use Inclination or Rotation, which are for real 3D.  True or False.
LightStyle Gets or sets the type of lighting for a 3D chart area.  You can use “None” for no lighting, “Simplistic” where the hue of all chart elements are fixed or “Realistic” where the hue changes depending on the amount of rotation.
Perspective Gets or sets the percent of perspective for a 3D chart area.  An integer value from 0-100 percent that represents the percent.  Note that if you set this then “IsRightAngleAxes” is set to False automatically and vice-versa.
PointDepth Gets or sets the depth of data points displayed in a 3D chart area.  This runs from 0-1000 percent with the default at 100 percent.  Note that if you set the “IsRightAnglesAxes”, this may appear to be more or less that what you set here depending on the chart displayed.
PointGapDepth Gets or sets the distance between series rows in a 3D chart area.  The also runs from 0-1000 percent and the default is 100 percent.  Note that if you set the “IsRightAnglesAxes”, this may appear to be more or less that what you set here depending on the chart displayed.
Rotation Gets or sets the angle of rotation around the vertical axes for 3D chart areas.   This is an integer value running from 0 to 360.
WallWidth Gets or sets the width of the walls displayed in a 3D chart area.   It ranges from 0 to 30 pixels.

NOTE: When a chart is set to 3D, the following chart features are not valid:

  • Scale breaks
  • Gradients
  • Scrolling and zooming

 

 

Tweet
Pin It
Tags:Microsoft CRM 2011, Microsoft CRM 2011 Edit Chart, Microsoft CRM Charts, Microsoft CRM Tips and Tricks, Microsoft CRM Tutorials, Microsoft Dynamics CRM, MS CRM

4 Responses to Chart tricks for Microsoft CRM 2011, make your charts look appealing!

  1. Richard Page says:
    February 26, 2013 at 8:16 pm

    Hi,

    Could you provide an example of something out of the box? Is it possible to have a column chart that displays the sum of Open Leads side by side with the Sum of Open & Won Opportunities by Campaign?

    Thx,

    Richard

    Reply
    • Nathan V says:
      March 4, 2013 at 5:02 pm

      Hi Richard,
      This is not possible in one chart, but you could create one chart for open leads and another for open & Won opportunities and have them in a dashboard side by side. There is a relationship between Opportunities and Leads so it would be possible to produce a chart of opportunities by lead type or lead source (or any other lead attribute). This only includes leads directly linked to the opportunities in the chart. The charting engine basically extends the advanced find / or system views, you can include data from related entities but only from the 1 side of a 1:n relationship. Hope that helps!

      Reply
  2. Graeme says:
    March 4, 2013 at 7:37 pm

    Hi, great guide. I was wondering if you can help with this – I have a column chart showing the top 5 opportunities closing this month by estimated revenue. These are displayed is ascending order but I want them descending, is it possible?

    Reply
    • Nathan V says:
      March 15, 2013 at 2:21 pm

      Hi Graeme,
      You will need to edit the Chart XML, there isn’t a way within the CRM chart editor.

      Here is an overview of what is needed to customize the sorting, hope it helps:
      http://blog.customereffective.com/blog/2011/06/crm-2011-dashboard-sorting-a-chart-on-the-aggregate-value.html

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Latest Tweets
  • Join Armanino's free #webinar on 5/22 focused on how to use standard costing to increase profitability. http://t.co/InsnctdpPz
  • Join Armanino's free #webinar on 6/6 focused on 2013 tax updates for exempt-organizations. http://t.co/KU4JjMjCOD
  • Join Armanino's free #webinar on 6/4 focused on upgrading from Microsoft #Dynamics GP to AX. http://t.co/7FeAw4eGDa
Microsoft Certified Partners

We are knowledgeable, reputable, Microsoft “Certified Partners” with decades of CRM experience.

Socialize with Us!
Follow Us on TwitterFollow Us on LinkedInFollow Us on E-mail
Quick Contact



captcha

Please enter the text above:




A division of Armanino LLP. Copyright 2012 - GetMSCRM. All Rights Reserved. Limit one CRM Package Per Customer.