This question is locked. New answers and comments are not allowed.
Hi,
I am a newbie in silverlight and also RAD controls. I am currently doing a project whereby the data will be displayed in stacked bar chart.
This is the summary of the things to be displayed:
Xaxis: Refers to "Service Name" (eg: Service A, B, C...etc)
YAxis: Refers to "Revenue"
Bar: Each bar comprises of few segments, namely "Country" (eg: Malaysia, Japan, Korea, etc)
I found a good reference at:
http://demos.telerik.com/silverlight/#Chart/Gallery/StackedBar
http://demos.telerik.com/silverlight/#Chart/Gallery3D/StackedBar
My only concern is that the code requires the number of series to be specified explicitly. The reason is that, the data I acquired from the database may change (might include new "Service Name" or even "Country" items) which requires code change.
I am not sure if there is a way (using binding) that I can use in RAD controls which allows data to be dynamically displayed whenever there is a change in database items?
In other words, even in future a new item is added in "Country", the chart display will automatically have additional segment added in each bar in the stacked bar chart without changing the xaml or cs files (I need to know how I can bind the items without specifying collection index etc explicitly).
I need some advice on this. Thanks!
I am a newbie in silverlight and also RAD controls. I am currently doing a project whereby the data will be displayed in stacked bar chart.
This is the summary of the things to be displayed:
Xaxis: Refers to "Service Name" (eg: Service A, B, C...etc)
YAxis: Refers to "Revenue"
Bar: Each bar comprises of few segments, namely "Country" (eg: Malaysia, Japan, Korea, etc)
I found a good reference at:
http://demos.telerik.com/silverlight/#Chart/Gallery/StackedBar
http://demos.telerik.com/silverlight/#Chart/Gallery3D/StackedBar
My only concern is that the code requires the number of series to be specified explicitly. The reason is that, the data I acquired from the database may change (might include new "Service Name" or even "Country" items) which requires code change.
I am not sure if there is a way (using binding) that I can use in RAD controls which allows data to be dynamically displayed whenever there is a change in database items?
In other words, even in future a new item is added in "Country", the chart display will automatically have additional segment added in each bar in the stacked bar chart without changing the xaml or cs files (I need to know how I can bind the items without specifying collection index etc explicitly).
I need some advice on this. Thanks!