Hi,
is there a way to remove the "Default" rows color alternance in chartarea background? Currently the row alternate between white-gray-white-gray-etc...
I would like to have this background in plain white but still keep the grid line.
Also, how can i change the label color of a seriesmapping in doughnutseriesdefinition? I tried the code below but it doesnt work, the label text color stay white.
Thanks in advance!
is there a way to remove the "Default" rows color alternance in chartarea background? Currently the row alternate between white-gray-white-gray-etc...
I would like to have this background in plain white but still keep the grid line.
Also, how can i change the label color of a seriesmapping in doughnutseriesdefinition? I tried the code below but it doesnt work, the label text color stay white.
SeriesMapping smMats = new SeriesMapping() |
{ |
SeriesDefinition = new DoughnutSeriesDefinition() |
{ |
ShowItemLabels = true, |
ShowItemToolTips = true, |
RadiusFactor = 0.75, |
LabelSettings = new RadialLabelSettings() |
{ |
SpiderModeEnabled = true, |
ShowConnectors = true |
} |
} |
}; |
smMats.ItemMappings.Add(new ItemMapping("AxisPointY", DataPointMember.YValue)); |
smMats.ItemMappings.Add(new ItemMapping("pointLabel", DataPointMember.Label)); |
smMats.ItemMappings.Add(new ItemMapping("pointToolTip", DataPointMember.Tooltip)); |
smMats.SeriesDefinition.Appearance.Foreground = new SolidColorBrush(labelForeColor); |
rc.SeriesMappings.Add(smMats); |
Thanks in advance!