0

I am using Asp.Net Mvc 3 to create a pie chart using Chart Helper, but I have a problem, I don“t know how to remove the labels that are on the slices, what I get is like this:

enter image description here

I want to remove the names that are labels in the chart.

Jack1987
  • 727
  • 1
  • 14
  • 26

1 Answers1

1

Apply theme to your chart if you haven't. In theme add following line-

<Series>
  <Series Name="Series1" ChartType="Pie" CustomProperties="PieLabelStyle=Disabled">
  </Series>
</Series>

This will hide labels appearing on the pie chart.

TBone
  • 529
  • 1
  • 4
  • 11