Hi i have list<class> which contains data for each product by yearly basis, i want show this list data in a bar chart by each product by year.
please check attachment to get better idea about my requirement.
Thanks
Hi,
any one please reply this. i am waiting for your reply. it's really urgent, i don't get any idea how to do this.
Hi Dimitar,
Thanks for your reply.
As per your sample provided , you have manually defined product name for the series but in my case products are coming as rows in my list , below are points i need to clarify.
1. product name is dynamic means i don't have any idea how many product(depends upon no of product stack columns should appear) .
i tried to set ultrachart type = ColumnLineChart and tried to bind columndata and line but not working(not coming as stack column).
2. year is also dynamic which will show current year to so on. fixed for 15 years. if current year is 2016 then x axis year label start from 2016 to 2030, if 2017 then 2017-2031(as per my attached screenshot)(can be also be 5 years one label instead of each year).
3. i tried but Legend is not showing properly(i need as per my attached screenshot, below of x axis)
i have modified your list and tried to generate chart, doesn't come data correctly for all the year and also i have tried one another way to user columnlinechart also not giving correct result. seems columnlinechart doesn't support for StackColumnLinechart..
how do i generate StackColumnLinechart(i have two different list for stackedcolumn and line chart)
i have attached modified sourcecode provided by you , please check and do me help , its really very urgent.
Hi Ramesh,
Thank you for posting in our forums.
You can easily create such chart by using the UltraDataChart with a ColumnStackSeries and a LineSeries. Simply add the two series and bind them to the appropriate fields in your data source.
Please see the attached sample, which demonstrates this suggestion.
Let me know if you have any additional questions.