【问题标题】:How to set delay for display tooltip on birt chart for long time?如何设置长时间在 birt 图表上显示工具提示的延迟?
【发布时间】:2009-11-30 09:59:09
【问题描述】:

我正在使用 birt 创建报表图表,我想在图表上显示工具提示。如何设置长时间显示工具提示的延迟?

提前谢谢你。

【问题讨论】:

    标签: tooltip birt


    【解决方案1】:

    数字 1 是最佳选项,但我将选项 2 包括在内,作为关于何时无法通过简单方法 (1) 获得参数或设置的信息猜测

    1. 它在报告的 XML 中,不显示为选项,但默认为 200。只需在 XML 源视图中编辑即可。

       <Triggers>
          <Condition>onmouseover</Condition>
          <Action>
            <Type>Show_Tooltip</Type>
            <Value xsi:type="attribute:TooltipValue">
              <Text>adsfasdf</Text>
              <Delay>200</Delay>
            </Value>
          </Action>
        </Triggers>
      
    2. 这是java类,我相信你可以从自定义对象或其他东西中调用它,我没有做过很多。 http://www.birt-exchange.org/documentation/BIRT_231/ChartJavadoc/chart/api/org/eclipse/birt/chart/model/attribute/TooltipValue.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-02-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多