ADF DVT组件中的气泡图标签问题

时间:2012-12-17 06:06:40

标签: java graph oracle-adf

我正在研究一个气泡图问题,每当Y轴标签很长时,图表就会失真 理想情况下,图表应该像Normal.gif。

Normal screen image 但如果标签很长,它就像distorted.gif。

enter image description here 因此,我试图只显示标签的前15个字符,然后是3个椭圆(3个点......)。但是标签名称和绘图区域之间仍然存在很大的空间。 (AfterChange.gif) 有没有办法减少这个空间。任何想法图表的哪个属性控制这个空间。此外,每当标签连接起来只显示前15个字符时,我们需要在将鼠标悬停在名称上时显示全名。我们如何实现这一目标?如果您对此有任何指示,请告诉我。

                                                                  

  <dvt:x1MajorTick lineWidth="0" tickStyle="GS_NONE"/>
  <dvt:x1Title text="#{HcmGoalTopGenBundle['MenuItem.Performance.AddtoPerformanceGoal']}"
               rendered="true">
    <dvt:graphFont bold="true"/>
  </dvt:x1Title>
  <dvt:y1Axis majorTickStepAutomatic="false"
              majorTickStep="#{bindings.YMinorTick.inputValue}"
              axisMinAutoScaled="false" axisMaxAutoScaled="false"
              axisMinValue="#{bindings.YLowerBoundary.inputValue}"
              axisMaxValue="#{bindings.YUpperBoundary.inputValue}"></dvt:y1Axis>
  <dvt:y1TickLabel>
    <af:convertNumber pattern="#{applCorePrefs.numberFormatPattern}"/>
  </dvt:y1TickLabel>
  <dvt:y1MajorTick lineWidth="0" tickStyle="GS_NONE"/>
  <dvt:y1Title text="#{hcmperformancedocspublicuiBundle1['OText.Potential.PotentialRating']}"
               rendered="true">
    <dvt:graphFont bold="true"/>
  </dvt:y1Title>
  <dvt:seriesSet defaultMarkerShape="MS_HUMAN"/>

  <dvt:shapeAttributesSet>
    <dvt:shapeAttributes component="GRAPH_DATAMARKER"/>
  </dvt:shapeAttributesSet>
  <dvt:legendArea position="LAP_RIGHT" rendered="false"/>
</dvt:graph>

1 个答案:

答案 0 :(得分:1)

我也在这方面工作......并发现这是一个框架问题。同样已向框架团队报告