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.

Bind an array

Thread ID:

Created:

Updated:

Platform:

Replies:

69363 Oct 25,2007 08:59 AM Oct 31,2007 06:05 AM ASP.NET Web Forms (Classic) 3
loading
Tags: Chart
Hixem
Asked On October 25, 2007 08:59 AM

I have the array nemd DH:
How cai i bind this array with a ChartWebControl?


(0,0): 3935814.6
(0,1): 0.0
(1,0): 15550.25
(1,1): 1038307.14
(2,0): 127754.66
(2,1): 567457.39
(3,0): 274913.6
(3,1): 1441928.38
(4,0): 40424.72
(4,1): 427137.02
(5,0): 105763.43
(5,1): 57901.16
(6,0): 671359.73
(6,1): 217045.4
(7,0): 97540.76
(7,1): 809764.03
(8,0): 469126.2
(8,1): 359348.89
(9,0): 1998206.09
(9,1): 188943.07
(10,0): 558373.25
(10,1): 1863493.08
(11,0): 228676.59
(11,1): 586166.95
(12,0): 1796173.05
(12,1): 301392.73
(13,0): 0.0
(13,1): 2460791.69
(14,0): 0.0
(14,1): 0.0


charts.zip

Rajarajeswari S [Syncfusion]
Replied On October 26, 2007 11:05 AM



Hi ha,

You can bind chart with Array. For this you have to define a class which should inherits IChartSeriesIndexedModel Interface.

The below link explains you clearly of binding chart with Array.

http://www.syncfusion.com/products/chart/web/Codesamples/viewsource.aspx?&zip_path=562_Data_from_Array_src.zip&lang=csharp&id=562

and also you can download the sample from the same link.

Please let me know if this helps you.

Regards,
S.Rajarajeswari

Hixem
Replied On October 29, 2007 03:20 AM

I´m using Vstudio 2005.

¿Do you have this example in VBNET (ASPNET) ?

Rajarajeswari S [Syncfusion]
Replied On October 31, 2007 06:05 AM



Hi,

Sorry for the delay in response.

Please refer the VB sample from the following link.

http://websamples.syncfusion.com/samples/Chart.Web/5.2.0.25/F69363/main.htm

Please let me know if you have any other queries.

Regards,
S.Rajarajeswari


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.

;