Hi all,
I have a RadPieChart with some values, I have a legend with the name of this values and I need set a tooltip to each slide with the names i have in this legend, but i nee do it programatically in C#.
I tried do it with the nameof List<string> that i have to set the legends, but i have no success.
RadChart.Series[0].LabelDefinitions.Add(new ChartSeriesLabelDefinition()
{
Margin = new Thickness(-5, 0, 0, 0),
Binding = new PropertyNameDataPointBinding(SeriesName[0])
});
RadChart.Series[0].LegendSettings = new DataPointLegendSettings();
RadChart.Series[0].LegendSettings.TitleBinding = new PropertyNameDataPointBinding(CategoryName);
RadChart.Series[0].ToolTip = new PropertyNameDataPointBinding(CategoryName);