将图表放在组上的问题
我正在尝试让图表在 Telerik Reports 中的组标题中工作。我正在使用饼图,并且正在使用 DataGroupColumn 属性。代码如下
Me.Chart1.DataGroupColumn = "Mfg"
ChartSeries1.DataYColumn = "Quantity"
ChartSeries1.Type = Telerik.Reporting.Charting.ChartSeriesType.Pie
我的数据如下
Mfg Model ProductNumber Qty
HP LaserJet 4700 a3482-3938-2259 32
Dell Laser 1710n 72C8FMC 15
HP Bubble Jet 3320 d339-2938-2923 27
Dell Laser 1100 72C8FMC 15
HP LaserJet 4700 12952-7342-3567 32
Dell Laser 1710n 68923C9 15
在我的报告中,我有一个用于制造的组,然后是一个用于模型的组。我尝试将图表放入制造组的标题中,但图表仅显示第一组的数据。有没有办法让图表显示该组的数据?
I am trying to get a Chart to work in the Header for a Group in Telerik Reports. I am using a pie chart, and I am using the DataGroupColumn property. The code is below
Me.Chart1.DataGroupColumn = "Mfg"
ChartSeries1.DataYColumn = "Quantity"
ChartSeries1.Type = Telerik.Reporting.Charting.ChartSeriesType.Pie
And my data is as follows
Mfg Model ProductNumber Qty
HP LaserJet 4700 a3482-3938-2259 32
Dell Laser 1710n 72C8FMC 15
HP Bubble Jet 3320 d339-2938-2923 27
Dell Laser 1100 72C8FMC 15
HP LaserJet 4700 12952-7342-3567 32
Dell Laser 1710n 68923C9 15
And in my report, I have a group for Mfg, then a group for Model. I tried putting the Chart in the Header for the Mfg group, but the chart only shows the data for the very first group. Is there a way to get the chart to display the data for the group?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
嗯,我想唯一的方法就是手动......BOOOOOOO!
http://www.telerik。 com/community/forums/reporting/telerik-reporting/graph-for-each-group.aspx
Hmm, I guess the only way to do it is manually... BOOOOOOO!
http://www.telerik.com/community/forums/reporting/telerik-reporting/graph-for-each-group.aspx