This is a migrated thread and some comments may be shown as answers.

Stacked values with only one collection

1 Answer 38 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Leo
Top achievements
Rank 1
Leo asked on 08 Jan 2013, 10:22 PM
(sorry for my bad english)

With a List<T> where T is:

class Data
{
    public string Product { get; set; }
    public decimal Quantity { get; set; }
    public decimal Reserved { get; set; }
}

how can I create a chart like the image attached?

Looking on the sample it is clear that if I create 2 collections, one returning Product/Quantity and another returning Product/Reserved, I can accomplish that. But is it possible with only one collection with all the data?

1 Answer, 1 is accepted

Sort by
0
Missing User
answered on 11 Jan 2013, 11:35 AM
Hello Leo,

Using a single collection for stacked bars is doable straight out of the box with RadChartView. Please open and run the sample project attached to this post to see how.

All the best,
Ivan N.
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ChartView
Asked by
Leo
Top achievements
Rank 1
Answers by
Missing User
Share this question
or