Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

RadLegendView doesn't work with Pie Chart

$
0
0
Hi Margarita,

Please consider this example:

RadPieChartView pie = new RadPieChartView(this);
PieSeries pieSeries = new PieSeries();
pieSeries.setValueBinding(new PropertyNameDataPointBinding("Value"));
pieSeries.setData(MainViewModel.GetSimpleData(5));
pie.getSeries().add(pieSeries);
RadLegendView legend = new RadLegendView(this);
legend.setLegendProvider(pie);
root.addView(pie);
root.addView(legend);

Please see the attachment for the screenshot of the result.


Regards,
Victor
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

Viewing all articles
Browse latest Browse all 94857

Latest Images

Trending Articles



Latest Images