我正在研究一个气泡图问题,只要 Y 轴标签很长,该图就会扭曲 理想情况下,该图应该看起来像 Normal.gif。
但如果标签很长,它看起来像 distorted.gif。
因此,我尝试只显示标签的前 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>