Devexpress XtraReport图表中的系列不显示

Devexpress XtraReport图表中的系列不显示,devexpress,report,xtrareport,Devexpress,Report,Xtrareport,我使用的是Devexpress xtraReports,我的问题是图形没有显示任何内容。我已将series数据源设置为datatable。。还有图表,但我还是不明白。我不知道是什么问题 顺便说一句,这是我的代码 Dim report As New TopItems Dim ds As New DataSet1 Dim zSQL As New System.Text.StringBuilder zSQL.AppendLine("SELECT ProductName,Prod

我使用的是Devexpress xtraReports,我的问题是图形没有显示任何内容。我已将series数据源设置为datatable。。还有图表,但我还是不明白。我不知道是什么问题

顺便说一句,这是我的代码

Dim report As New TopItems
    Dim ds As New DataSet1
    Dim zSQL As New System.Text.StringBuilder
    zSQL.AppendLine("SELECT ProductName,ProductCode,COUNT(*) AS OrderCount ")
    zSQL.AppendLine("FROM DailyTransactions GROUP BY ProductCode ORDER BY OrderCount DESC ")
    zSQL.AppendLine("LIMIT 5")
    CreateWaitDialog()
    SetWaitDialogCaption("Loading Report Data")
    Using SQLconnect As New SQLiteConnection(g_constring)
        SQLconnect.Open()
        Dim SQLAdapter As New SQLiteDataAdapter(zSQL.ToString, SQLconnect)
        SQLAdapter.Fill(ds.TopItems)
    End Using
    CloseWaitDialog()
    report.DataSource = ds
    report.ShowPreviewDialog()

什么是TopItems是基于图表还是基于xtrareport的类?TopItems位于图表数据源中…我将xtrareport类数据源保留为none。。。