BAR CHART with Three Input Data(Multidimensional)

2 posts, 0 answers
  1. Karthikeyan
    Karthikeyan avatar
    27 posts
    Member since:
    Aug 2011

    Posted 21 Sep 2011 Link to this post

    Hi All,

    I need to create the BAR CHART as follows,

    1. Consider three columns are data, named VALUE,MONTH & YEAR.
    2. In that X-Axis would be YEAR,
    3. Y-Axis would be VALUE,
    4. Data Plotted must be as MONTH(More than one data, consider as collection).

    Literally if we have two datas consider MONTH & VALUE, we can built the Chart by binding values as  X & Y-Axis.

    But here I dont know how to binding three datas in to a bar chart.
    As well I need to KEEP only my X-AXIS(YEAR) as Static Data, I dont how to keep only one axis as static data.

    Please guide me and give some code samples to do the same mentioned above.
    I would appreciate and thankful for the reply or guidence.


    Thanks again,
    Karthikeyan Manickam.
  2. Evgenia
    Admin
    Evgenia avatar
    1437 posts

    Posted 27 Sep 2011 Link to this post

    Hello Karthikeyan,

    Here are some hints on achieving your requirement:
    - To create a databound chart, RadChart introduces the SeriesMapping object. This non-visual element describes how the underlying data from the ItemsSource has to be mapped to the series. Thus for creating a single Bar Series you'll need one SeriesMapping definition. For more information and samples of using it - take a look at this help topic.
    - To see how RadChart supports DateTime values - please review this topic.

    Kind regards,
    Evgenia
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top