beltrams Posted September 26, 2012 Report Share Posted September 26, 2012 Dear Forum, Is it posible to create a Pie chart but with a missing slice? basically an uncompleted pie... Many thanks, Simone Quote Link to comment Share on other sites More sharing options...
JuanC Posted September 27, 2012 Report Share Posted September 27, 2012 We do not have a feature where we will skip a slice but you can set the border and fill colors to be transparent as follows chart1.Gallery = Gallery.Pie;chart1.Style = ChartFX.WPF.Motifs.Basic.Style;chart1.Data.Points = 4;chart1.Data.Series = 1;chart1.Data[0, 0] = 52;chart1.Data[0, 1] = 12;chart1.Data[0, 2] = 18;chart1.Data[0, 3] = 18;chart1.Points[0, 1].Fill = Brushes.Transparent;chart1.Points[0, 1].Stroke = Brushes.Transparent; Note that I am setting the style to be Basic as other styles might paint gradients or similar effects over the slices. JuanC Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.