Stacked values with only one collection

2 posts, 0 answers
  1. Leo
    Leo avatar
    2 posts
    Member since:
    Apr 2009

    Posted 08 Jan 2013 Link to this post

    (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?
  2. Missing user
    Missing user avatar

    Posted 11 Jan 2013 Link to this post

    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top