T
todaysoft
Unregistered / Unconfirmed
GUEST, unregistred user!
DBChart->Title->Text->Text = "物品价格分析图示" ;
QueryGS->First();
while(!QueryGS->Eof)
{
//DBChart->Series->add ;
Query->Filtered = False ;
Query->Filter = "GoodsName='物品名称' " ;
Query->Filtered = True;
WPLineSeries->Title = 物品名称 ;//显示标题
WPLineSeries->ParentChart = DBChart ;
WPLineSeries->DataSource = Query ;
WPLineSeries->XLabelsSource = "RKDate" ; // 确定X坐标数据
WPLineSeries->YValues->ValueSource = "Price" ; //确定Y 坐标数据
WPLineSeries->CheckDataSource() ;
DBChart->SeriesList->Add(WPLineSeries);
QueryGS->Next();
}
只有一条曲线.怎么能让每个物品的曲线都显示
QueryGS->First();
while(!QueryGS->Eof)
{
//DBChart->Series->add ;
Query->Filtered = False ;
Query->Filter = "GoodsName='物品名称' " ;
Query->Filtered = True;
WPLineSeries->Title = 物品名称 ;//显示标题
WPLineSeries->ParentChart = DBChart ;
WPLineSeries->DataSource = Query ;
WPLineSeries->XLabelsSource = "RKDate" ; // 确定X坐标数据
WPLineSeries->YValues->ValueSource = "Price" ; //确定Y 坐标数据
WPLineSeries->CheckDataSource() ;
DBChart->SeriesList->Add(WPLineSeries);
QueryGS->Next();
}
只有一条曲线.怎么能让每个物品的曲线都显示