This example shows how to specify a sunburst's center label text and appearance.
Use the CenterLabel property to access to a sunburst's center label settings.
C# |
sunburstControl.CenterLabel.TextPattern = "Total: ${TV : F2}";
sunburstControl.CenterLabel.TextFont = new Font("Tahoma",10);
sunburstControl.CenterLabel.ForegroundColor = Color.Black;
sunburstControl.CenterLabel.BackgroundColor = Color.White;
|
VB |
sunburstControl.CenterLabel.TextPattern = "Total: ${TV : F2}"
sunburstControl.CenterLabel.TextFont = New Font("Tahoma", 10)
sunburstControl.CenterLabel.ForegroundColor = Color.Black
sunburstControl.CenterLabel.BackgroundColor = Color.White
|