我有一个返回数据集的查询,如下所示:
WaitTimeGroup WaitTimeGroupID WaitTimeGroupNotify Count
upto 1h 1 0 0
upto 2h 2 0 5
upto 3h 3 0 15
upto 3h30m 4 1 3
upto 3h45m 5 2 2
upto 4h 6 3 1
upto 6h 7 0 9
upto 12h 8 0 0
over 12h 9 0 0
然后使用SSRS 2008显示以下图表:
我希望能够做的是使非灰色条更宽,特别是亮红色条。颜色由WaitTimeGroupNotify值确定。
我尝试在PixelPointWidth CustomAttribute属性中设置一个表达式,尽管这会显示所有宽度相同的条形。
这是否可以使用SSRS 2008,或者可能通过修改我的数据集来实现?
答案 0 :(得分:0)
尝试使用表达式动态设置宽度(CustomAttributes -> PointWidth
),类似于以下内容:
= IIF(CInt(Fields!WaitTimeGroupNotify.Value)=3,.2,1.98)
...您需要尝试达到所需的PointWidth值。