I can't figure out how to make the background color of a spider label to be transparent. I am using this for a palette:
chart.PaletteBrushes.Clear();
chart.PaletteBrushes.Add(
new
SolidColorBrush(Color.FromArgb(255, 2, 123, 8)));
chart.PaletteBrushes.Add(
new
SolidColorBrush(Color.FromArgb(255, 238, 192, 5)));
chart.PaletteBrushes.Add(
new
SolidColorBrush(Color.FromArgb(255, 238, 97, 6)));
chart.PaletteBrushes.Add(
new
SolidColorBrush(Color.FromArgb(255, 1, 240, 6)));
chart.PaletteBrushes.Add(
new
SolidColorBrush(Color.FromArgb(255, 238, 240, 6)));
chart.PaletteBrushes.Add(
new
SolidColorBrush(Color.FromArgb(255, 179, 181, 183)));
chart.PaletteBrushes.Add(
new
SolidColorBrush(Color.FromArgb(255, 237, 240, 242)));
chart.PaletteBrushes.Repeat =
true
;
Pie definition:
PieSeriesDefinition def =
new
PieSeriesDefinition();
def.RadiusFactor = 0.8;
def.LabelSettings.ShowConnectors =
true
;
def.LabelSettings.SpiderModeEnabled =
true
;
def.LabelSettings.LabelOffset = 20.0;
def.InteractivitySettings.HoverScope = InteractivityScope.Item;
def.InteractivitySettings.SelectionScope = InteractivityScope.Item;
def.InteractivitySettings.SelectionMode = ChartSelectionMode.Single;
pieSeries.Definition = def;
I can't find anywhere were I can set the brush for the spider label.