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

Java ADF DVT组件中气泡图标签的问题,java,graph,oracle-adf,Java,Graph,Oracle Adf,我正在处理一个气泡图问题,当Y轴标签很长时,气泡图就会扭曲 理想情况下,图形应显示为Normal.gif <dvt:x1MajorTick lineWidth="0" tickStyle="GS_NONE"/> <dvt:x1Title text="#{HcmGoalTopGenBundle['MenuItem.Performance.AddtoPerformanceGoal']}" rendered="true"> <

我正在处理一个气泡图问题,当Y轴标签很长时,气泡图就会扭曲 理想情况下,图形应显示为Normal.gif

  <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>
但是如果标签很长,它看起来就像扭曲的.gif

  <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>
因此,我尝试只显示标签的前15个字符,后跟3个椭圆(3个点…)。但是标签名称和绘图区域之间仍然有很大的空间。 有没有办法减少这个空间。任何关于图的哪个属性控制这个空间的想法。此外,每当将标签连接起来仅显示前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>

  <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>

我也做过这方面的工作,发现这是一个框架问题。已向框架小组报告了同样的情况

  <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>