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

Multi series from same dataset

7 Answers 172 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 11 Apr 2013, 01:59 PM
Hi All,

I want to have a chart with 3 line series based on the data below where the first column is the series, the second is the x axis and the 3rd is the y axis value.

Can chart series be done like this yet?  If not is there any fudge with datasets that I can use to pull the data in?

Regards

Jon

2 2013-04-08  9
2 2013-04-09  2
2 2013-04-10  4
3 2013-04-07  2
6 2013-04-08  5
6 2013-04-09  6
6 2013-04-10  2

7 Answers, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 14 Apr 2013, 03:40 PM
Hi Jon,

In the current version of RadControls, the desired grouping functionality is not supported by the RadHtmlChart yet. However, such a feature request has already been logged as a PITS item here, so that you can monitor, comment or raise its priority by voting on it.

If you want to databind the RadHtmlChart to such a datasource, you need to recreate your current logic so that there are separated fields in the datasource that will be referenced by the DataField property of each Series, as it is shown in this online demo.

Kind regards,
Danail Vasilev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Jon
Top achievements
Rank 1
answered on 15 Apr 2013, 11:22 AM
Hi Danail,

Yes thanks for that - I'd managed to find this and get it working the alternate way :)

Regards

Jon
0
Lidiya
Top achievements
Rank 1
answered on 01 Jul 2013, 08:06 AM
Hi all,

I have to display OrderDate in X axis . For each Date there is more than 1 series (total order made by customers for a product) and for each Customer their TotalOrderQuantity in y Axis. ie, Total Order made by customers on a particular Date.
How can I implement this in RadHtmlChart Stacked Column chart..

Please help me..


Regards,
Seena
0
Danail Vasilev
Telerik team
answered on 02 Jul 2013, 03:33 PM
Hello Seena,

I suppose you are trying to put GrandTotal labels for the stacked series. If that is so, then please refer to the post from Apr 24, 2013 in this forum thread, that shed more light on the matter.

Regards,
Danail Vasilev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Lidiya
Top achievements
Rank 1
answered on 03 Jul 2013, 01:31 AM
Hi Danail,

Thank you for your response.
I had go through the link you provided. But, my requirment is not exactly like so.
I need to display Order Date in X Axis, Total Order Quantity in Y Axis...and in each Order Date there may be 1 or more customers (Series Names)...ie, total order made by customers on that particular date.

Please see the attached image similar to my requirement.

Regards,
Seena
0
Danail Vasilev
Telerik team
answered on 03 Jul 2013, 02:51 PM
Hi Seena,

I have recreated the mentioned example, so that it illustrates how to create and add series with dynamic names to the chart programmatically. Please find it in the attached archive. If this examples does not fit in your scenario, could you please elaborate more into it, so that we can provide an accurate solution to you?

You can also find useful the HtmlChart - Programmatic Chart Creation and HtmlChart - Date Axis online demos.

Can I also ask you to not open different forum threads for the same questions, in order to avoid duplicate themess?

Regards,
Danail Vasilev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Lidiya
Top achievements
Rank 1
answered on 04 Jul 2013, 06:22 AM
Hi Danail,

Thanks for your help.
I had managed to create stacked chart with DataTable which has dynamic columns and data. :)
One more query...Is it possible to display the Series Name from database? In that case, Can we show Programatically added Color (in ColorField property) with this Series Name in Legend for Column Chart & Bubble Chart?

Since I was not able to reply for your post, I opend a different forum. Sorry...
This is my first attempt at starting a thread in a forum.

Thanks a lot for your support.

Regards,
Seena
Tags
Chart (HTML5)
Asked by
Jon
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Jon
Top achievements
Rank 1
Lidiya
Top achievements
Rank 1
Share this question
or