I am working on Windows Phone 8 and have looked Mango for using Charts, but since we cannot modify or customize i have switched to Charts given by silverlight.
Here is the link:
I am trying to customize the following things:
1) Legends to the bottom of the chart and it should be in one layout only.
2) Click on pie chart slice get the values.
3) Display the slice value above the corresponding slice.
4) Legends text color to black.
5) Change the default slice colors.
I have searched for customizing things but i am not able to find any way that i can do it.
Here is the XAMl code:
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<charting:Chart x:Name="MyPieSeriesChart">
<charting:PieSeries Name="PieChart"
Tap="PieChart_Tap"
IndependentValuePath="X"
DependentValuePath="Y" />
</charting:Chart>
</Grid>
.CS code:
this.MyPieSeriesChart.DataContext = new Point[] { new Point(0, 10), new Point(1, 10), new Point(2, 10) };
}