Jump to content
Software FX Community

Pie chart without a slice


beltrams

Recommended Posts

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...