samiam1029 Posted November 19, 2009 Report Share Posted November 19, 2009 Hi there, can someone help me how to code to show border on each pie slice and on each legend box? Note this is not to be confused with the rectangular borders surrounding the pie chart or the legend box. In other words, ChartFX gives me the FIRST chart below by default. What I want is the SECOND chart below. Thanks. Sam Quote Link to comment Share on other sites More sharing options...
Frank Posted November 19, 2009 Report Share Posted November 19, 2009 There is already a border around the Pie and around the boxes of the legend box, but it is more subtle than that use by Excel. If you want to fix the color of the border do: chart.AllSeries.Border.Effect = BorderEffect.None; chart.AllSeries.Border.Color = Color.Black; To get lines delimiting each slice: chart.AllSeries.Border.BeweenSegments = true; trackTrace.txt 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.