Thursday, August 2, 2012

Convert Chart From 2D to 3D

Customization of chart from 2D to 3D in MS Dynamics CRM 2011


Step 1 : The first thing we’ll need to do is select the chart you want to modify in CRM.

Step 2 : click Export Chart to get the XML definition for the chart.

Step 3 : Save the Exported file

Step 4 : Open the XML file in the editor of your choice

Step 5 : Inside the <presentationdescription> tag find details about the <Chart>

Step 6 : To use 3D charts, set the respective chart area’s Area3DStyle.Enable3D property to True.

<ChartArea BorderColor="White" BorderDashStyle="Solid">
<AxisY LabelAutoFitMinFontSize="8" TitleForeColor="59, 59, 59" TitleFont="{0}, 10.5px" LineColor="165, 172, 181" IsReversed="False">
<MajorGrid LineColor="239, 242, 246" />
<LabelStyle Font="{0}, 10.5px" ForeColor="59, 59, 59" />
</AxisY>
<AxisX LabelAutoFitMinFontSize="8" TitleForeColor="59, 59, 59" TitleFont="{0}, 10.5px" LineColor="165, 172, 181" IsReversed="False">
<MajorGrid Enabled="False" />
<MajorTickMark Enabled="False" />
<LabelStyle Font="{0}, 10.5px" ForeColor="59, 59, 59" />
</AxisX>
<Area3DStyle Enable3D="True" LightStyle="Realistic" WallWidth="5" IsRightAngleAxes="true" />
</ChartArea>

Step 7 :Once save the XML file and import it into a CRM chart, the chart will converted to 3D view in CRM.

 

 

 

No comments: