我有兩個關於AspxPivotGrid
的問題。AspxPivotGrid和WebCharControl問題
當我使用自定義窗口並在「行區」和「數據區」中添加列並更新報表時。網格正確生成,但不會生成圖形。但是,如果在「列區域」中添加一個字段,則會生成圖形。
即使「數據區域」標題正好是我們需要的數據,它似乎只在指定了至少一列時纔會生成圖表。我用你在網站上的圖形演示來模擬這一點。這是預期的行爲?
其次,當我將'DateTime'添加到'Row Area'和一個字符串'Column Area'時,它很好。然後我交換了這些柱子,再次關鍵點很好。切換回來,你會得到以下錯誤:
System.ArgumentException: The type of the "Arguments" argument data member isn't compatible with the date-time scale.
at DevExpress.XtraCharts.SeriesBase.CheckArgumentDataMember(Object dataSource, String dataMember, ScaleType argumentScaleType)
任何建議/解決方案?
感謝您對格式化Soner的幫助! – Madabitjer 2011-06-02 05:46:41