MindFusion.Charting Programmer's Guide

PieChart.LabelPrefix Property

See Also
 





Gets or sets a string prefix for labels inside/outside the pie's pieces.

Namespace: MindFusion.Charting.WebForms
Assembly: MindFusion.Charting.WebForms

 Syntax

C#  Copy Code

public string LabelPrefix { get; set; }

Visual Basic  Copy Code

Public Property LabelPrefix As String

 Property Value

A string value that specifies the prefix for each pie label.

 Remarks

Use the property to specify a prefix drawn before each label inside / outside pie pieces. Use LabelSuffix to set a suffix drawn behind each label.

The prefix and suffix are the same for all pie pieces. The label type is set with InnerLabelType and OuterLabelType. InnerLabels and OuterLabels specify custom labels.

Default value for LabelPrefix property is an empty string.

 See Also