如:用adodataset做
select continent, count(continent) from country
group by continent在dbchart里的,只能选统计出的值,不能选前面的名称,这样图例就没有了,
如:应该是:
south american 7
north american 11结果:7 7
11 11就是名称不让选
怎么办啊?
select continent, count(continent) from country
group by continent在dbchart里的,只能选统计出的值,不能选前面的名称,这样图例就没有了,
如:应该是:
south american 7
north american 11结果:7 7
11 11就是名称不让选
怎么办啊?
解决方案 »
- Quickreport 直接发传真
- delphi7 我想把FastMM4去掉 怎么办?
- 找不到 'D:\Backup\desktop\Database1.mdb' 檔案
- PASCAL精要
- 更高级的数据分页操做
- 大家快点帮我呵呵!!!急死了呵!!!(能帮我的马上结帐给分呵!)
- 哪位有关于delphi自带安装程序制作工具Install Shield Profession的帮助文件啊.小弟有急用谢谢了
- 如何将二进制字符串转换成16进制?
- 【求助】关于 封包的发送和接收.......
- PageControl控件中每一个页面被点击激活的事件是什么?
- 这是怎么回事?ACCESS数据库的问题。
- 毕业设计做完了,感谢这个论坛
如果是TBarSeries:
Barseries1.Active:=False;
chart.Legend.LegendStyle:=LsAuto;
BarSeries1.DataSource:=你的DataSet
BarSeries1.XLabelsSource:=Continent
YBarSeries1.Values.ValueSource:=ContinentCount 字段
Barseries1.Active:=True;