Saturday 15 June 2013

How do I show only the graph of a chart (No Legend, No Title, Minimum Space Used) in Silverlight 3.0? -


I am writing a Silverlight application that shows the pie chart of the complete items as an item in the DataGrid. Can be found to show up as an item in DataGrid by using a DataGridTemplateColumn.

My problem is that the grid data exceeds the height of the line because it has a title and a legend and the whitespace allocated around so much, I want to show only pie charts, without any extra padding or Of news.

I have found some complex styling methods to do this, but they start throwing syntax errors (maybe they are Silverlight 2.0 solutions?

Is it anyone in Silverlight 3.0 Is there a way to do this?

Thanks in advance!

Can be styled on, if you want a super-thrifty chart, which is basically only chartered and after that You can provide a minimum template for this: -

  Charting: Chart & gt; Charting: Chart.Style & gt; Style TargetType = "Charting : Chart "> gt; Setter Estates =" Template ">  TargetType =" Charting: Chart "& gt; = "ChartArea" />   & Lt; / Charting: Chart & gt;  

Note that I am using the Nov 969 Silverlight 3 tool kit. In the above, there are no limitations on the pie chart, padding, title, legend, background of shield or nothing, but the raw chart itself.


No comments:

Post a Comment