Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 RDLC 报告绑定到以这种格式返回数据的存储过程:
销售交易 SalesPerc
销售1 25%
销售2 35%
销售3 45%
销售4 65%
在报告中,我想表示条形图,如附图所示。有没有办法将 SalesDeals 旋转到列。
不需要pivot数据来做你想做的事情。在使用rdlc时,您只需添加chart- 并设置其轴、系列和数据属性。rdlc将为您完成工作。Stored Procedure上面返回的内容非常适合您想要resultset制作的图表(如上图所示)。
pivot
rdlc
chart
Stored Procedure
resultset