Bind an array

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

3 Replies

RS Rajarajeswari S Syncfusion Team October 26, 2007 03:05 PM UTC



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


HI Hixem October 29, 2007 07:20 AM UTC

I´m using Vstudio 2005.

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


RS Rajarajeswari S Syncfusion Team October 31, 2007 10:05 AM UTC



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


Loader.
Up arrow icon