将鼠标悬停在 ssrs 中的图像上时,如何格式化工具提示表达式中显示的文本?
How do I format text displayed in a tooltip expression when hovering over an image in ssrs?
我试图在将鼠标悬停在图像上时在工具提示上显示描述性文本。但是,文本显示在屏幕上的 window 中的一行长行中。如何在工具提示表达式中添加换行符并控制文本 font/size。此外,需要显示工具提示 window,直到用户将鼠标移出图像。这可以使用 html 或 java 表达式来完成吗?我是否最好尝试创建一个小的可折叠 tablix,并将所需的文本作为子组?
我使用的是 Report Builder 3.0,我的表情是这样的:
="Description: All trees or conditions inspected that yield a
rating of 10, 11, or 12, should have a Work Order created.
There are Inspections of priority A or B that do not have a
Work Order.
Logic: INSPs are selected for this metric if the following is true:
-The INSP has a Risk Rating of 10,11,12 from RISKASSESSMENT_EVW
-The INSP does not have a matching Inspection Global ID in WORKORDER_EVW
-The INSP has an Inspection Date that is NOT NULL in INSPECTION_EVW"
我想在每个逻辑描述符后换行。
您可以通过插入 VB 常量 vbcrlf
添加换行符,这基本上是一个老式的马车 return,换行符插入。用结束引号将每一行分开,并使用 &
符号连接。所以表达式看起来像下面这样。
="Description: All trees or conditions inspected that yield a rating of 10, 11, or 12,
should have a Work Order created. There are Inspections of priority A or B that do not
have a Work Order." & vbcrlf &
"Logic: INSPs are selected for this metric if the following is true: " & vbcrlf &
" -The INSP has a Risk Rating of 10,11,12 from RISKASSESSMENT_EVW" & vbcrlf &
" -The INSP does not have a matching Inspection Global ID in WORKORDER_EVW" & vbcrlf &
" -The INSP has an Inspection Date that is NOT NULL in INSPECTION_EVW"
我试图在将鼠标悬停在图像上时在工具提示上显示描述性文本。但是,文本显示在屏幕上的 window 中的一行长行中。如何在工具提示表达式中添加换行符并控制文本 font/size。此外,需要显示工具提示 window,直到用户将鼠标移出图像。这可以使用 html 或 java 表达式来完成吗?我是否最好尝试创建一个小的可折叠 tablix,并将所需的文本作为子组?
我使用的是 Report Builder 3.0,我的表情是这样的:
="Description: All trees or conditions inspected that yield a
rating of 10, 11, or 12, should have a Work Order created.
There are Inspections of priority A or B that do not have a
Work Order.
Logic: INSPs are selected for this metric if the following is true:
-The INSP has a Risk Rating of 10,11,12 from RISKASSESSMENT_EVW
-The INSP does not have a matching Inspection Global ID in WORKORDER_EVW
-The INSP has an Inspection Date that is NOT NULL in INSPECTION_EVW"
我想在每个逻辑描述符后换行。
您可以通过插入 VB 常量 vbcrlf
添加换行符,这基本上是一个老式的马车 return,换行符插入。用结束引号将每一行分开,并使用 &
符号连接。所以表达式看起来像下面这样。
="Description: All trees or conditions inspected that yield a rating of 10, 11, or 12,
should have a Work Order created. There are Inspections of priority A or B that do not
have a Work Order." & vbcrlf &
"Logic: INSPs are selected for this metric if the following is true: " & vbcrlf &
" -The INSP has a Risk Rating of 10,11,12 from RISKASSESSMENT_EVW" & vbcrlf &
" -The INSP does not have a matching Inspection Global ID in WORKORDER_EVW" & vbcrlf &
" -The INSP has an Inspection Date that is NOT NULL in INSPECTION_EVW"