We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to create a chart of line with series assigned dynamically?

Thread ID:

Created:

Updated:

Platform:

Replies:

117633 Nov 19,2014 04:09 PM Nov 21,2014 10:05 AM ASP.NET Web Forms 5
loading
Tags: Chart
Roimer Machacón Otero
Asked On November 19, 2014 04:09 PM

Hi, we're need create a chart of lines that include several series. Now in all the examples in your web site the number of series is statically defined.

Exist a form in asp.net with code behind vb.net of make this.

If is possible, can you sent examples in javascript and in asp.net with code behind vb.net about of this.

Thank you


Jayavigneshwaran [Syncfusion]
Replied On November 20, 2014 05:42 AM

Hi, we're need create a chart of lines that include several series. Now in all the examples in your web site the number of series is statically defined.

Exist a form in asp.net with code behind vb.net of make this.

If is possible, can you sent examples in javascript and in asp.net with code behind vb.net about of this.

Thank you


Hi Nestor,
Thanks for using syncfusion product.

We have analyzed your query and made sample for adding/deleting series in chart dynamically.
Please find the below link which has JS and ASP.NET sample.

http://www.syncfusion.com/downloads/support/directtrac/132165/Adding_series_dynamically-1173932750.zip

Please let me know if you have any concern.

Thanks,
Jayavigneshwaran

Roimer Machacón Otero
Replied On November 20, 2014 09:20 AM

Hi,

the example does not cover the requested. We are need that the number of series load depending of a query result.

Example a query result with 5 rows, now the chart is created with 5 series

Roimer Machacón Otero
Replied On November 20, 2014 09:36 AM

Also we are need that the chart load with all the series without user intervention, The user will only see the information

Roimer Machacón Otero
Replied On November 20, 2014 02:27 PM

Reviewing again the example sent by you, note that handled values on the x axis are static. 

We need these values are also dynamic because it is to handle ranges of years. 

Example range between year: 2014 - 2010, for another year: 2015 - 2011

Jayavigneshwaran [Syncfusion]
Replied On November 21, 2014 10:05 AM

Reviewing again the example sent by you, note that handled values on the x axis are static. 

We need these values are also dynamic because it is to handle ranges of years. 

Example range between year: 2014 - 2010, for another year: 2015 - 2011

Hi Nestor,

Sorry for the inconvenience caused.

We have modified the sample as per your query.
Please find the below link for adding series dynamically without getting used input.
In this both x and y values are bind from a data source. 

http://www.syncfusion.com/downloads/support/directtrac/132269/Dynamic_series___modified1674524210.zip

Thanks,
Jayavigneshwaran

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;