我试图把纵向和横向轴心都隐藏在弹性体中,这样我就可以在没有图人的情况下了解图表。
I ve set both makes toprofile = false and include InLayout = false. 他们没有露头,但仍有空间。 我试图打上宽度/宽度到0的宽度,而那也无帮助。
<mx:horizontalAxisRenderers>
<mx:AxisRenderer
id="horizontalAxisRenderer"
axis="{dtAxis}"
axisStroke="{axis}"
placement="bottom"
minorTickPlacement="outside"
minorTickLength="10"
tickLength="12"
tickPlacement="outside"
color="0x707275"
styleName="axisStyle"
visible="false"
includeInLayout="false"
>
<mx:tickStroke>{ticks}</mx:tickStroke>
<mx:minorTickStroke>{mticks}</mx:minorTickStroke>
</mx:AxisRenderer>
</mx:horizontalAxisRenderers>
<mx:verticalAxisRenderers>
<mx:AxisRenderer
id="verticalAxisRenderer"
axis="{laMain}"
axisStroke="{axis}"
placement="bottom"
minorTickPlacement="outside"
minorTickLength="10"
tickLength="12"
tickPlacement="outside"
fontSize="15"
color="0x707275"
labelGap="0"
styleName="axisStyle"
visible="false"
includeInLayout="false"
>
<mx:tickStroke>{ticks}</mx:tickStroke>
<mx:minorTickStroke>{mticks}</mx:minorTickStroke>
</mx:AxisRenderer>
</mx:verticalAxisRenderers>