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

BAR CHART with Three Input Data(Multidimensional)

1 Answer 50 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Karthikeyan
Top achievements
Rank 1
Karthikeyan asked on 22 Sep 2011, 03:41 AM
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.

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 27 Sep 2011, 01:15 PM
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 >>
Tags
Chart
Asked by
Karthikeyan
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or