This project is read-only.
1

Resolved

Don't Show All DataCell

description

Hi I'm Using This Code To Generate a line chart:
 
Dim Dt As New DataTable()
        Dt.AddDataColumn(New DataColumn() With {.DataType = DataType.String, .Name = "Date"})
        Dt.AddDataColumn(New DataColumn() With {.DataType = DataType.Number, .Name = "B. Popular"})
        Dt.AddDataColumn(New DataColumn() With {.DataType = DataType.Number, .Name = "B. Scotia"})
 
        '---------------------------------------------------------------------------------------------------------------------------------------------------
        Dt.AddDataCell(New DataCell With {.Caption = "01/01/2009", .Value = New List(Of String)(New String() {"120", "130", "140"})})
        Dt.AddDataCell(New DataCell With {.Caption = "02/01/2009", .Value = New List(Of String)(New String() {"10", "20", "140"})})
        Dt.AddDataCell(New DataCell With {.Caption = "03/01/2009", .Value = New List(Of String)(New String() {"240", "200", "140"})})
        Dt.AddDataCell(New DataCell With {.Caption = "04/01/2009", .Value = New List(Of String)(New String() {"30", "340", "140"})})
        Dt.AddDataCell(New DataCell With {.Caption = "05/01/2009", .Value = New List(Of String)(New String() {"140", "850", "140"})})
        Dt.AddDataCell(New DataCell With {.Caption = "06/01/2009", .Value = New List(Of String)(New String() {"430", "2080", "140"})})
        '----------------------------------------------------------------------------------------------------------------------------------------------------
        GVAPI.Visualization.Add(New Visualization() With {.Package = VisualizationPackage.LineChart, .DataTable = Dt, .DestObjectName = "visLineChart"})
        '---------------------------------------------------------------------------------------------------------------------------------------------------
 
Only Shows until date 03/01/2009 (See Attachment), the rest of dates are ignored.
 
Thanks for your help

file attachments

comments

bykinag wrote Nov 23, 2009 at 6:31 PM

fixed, thanks!

wrote Nov 23, 2009 at 6:31 PM

wrote Feb 13, 2013 at 11:47 PM

wrote May 16, 2013 at 6:34 AM

wrote May 16, 2013 at 6:34 AM

wrote Jun 14, 2013 at 8:33 AM