Breite der CategoryAxis bei BubbleCharts

gefunden am 29.06.2008

Hallo, ich versuche ein BubbleChart-Diagramm zu erstellen, dass an der vertikalen Axe eine categoryAxis hat. Da der Text zum Teil etwas l?er wird, habe ich festgestellt, dass die Label scheinbar eine maximale Gr?haben und mein Text irgendwann kleiner, oder sogar abgeschnitten wird. Ich hab mal versucht einen Teil meines Codes zu kopieren, damit ihr das Problem nachvollziehen k?: Code: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">                 <mx:Script>                 <![CDATA[                         import mx.collections.ArrayCollection;                         [Bindable]                         private var data1:ArrayCollection = new ArrayCollection( [                                 { label: "Dies sollte Schriftgr?20 sein",        x1: 1, r1: 100,                                                                                                                                 x2: 2, r2:  75,                                                                                                                                 x3: 3, r3:  50,                                                                                                                                 x4: 4, r4:  25}                         ]);                 ]]>         </mx:Script>                 <mx:SolidColor id="sol" color="#003366"/>         <mx:Stroke id="str" color="#003366"/>         <mx:Panel width="50%" cornerRadius="25" roundedBottomCorners="true"                           backgroundColor="#000000" backgroundAlpha="0.5" borderColor="#000000" borderAlpha="0.5"                           title="Bubble Chart" color="#FFFFFF" fontSize="24" fontWeight="bold">                                         <mx:BubbleChart maxRadius="20" width="100%">                         <mx:dataProvider>{data1}</mx:dataProvider>                                                 <mx:series>                                                         <mx:BubbleSeries xField="x1" yField="label" radiusField="r1" fill="{sol}" stroke="{str}"/>                                 <mx:BubbleSeries xField="x2" yField="label" radiusField="r2" fill="{sol}" stroke="{str}"/>                                 <mx:BubbleSeries xField="x3" yField="label" radiusField="r3" fill="{sol}" stroke="{str}"/>                                 <mx:BubbleSeries xField="x4" yField="label" radiusField="r4" fill="{sol}" stroke="{str}"/>                                         </mx:series>                                                 <mx:verticalAxis>                                 <mx:CategoryAxis id="vAxis" categoryField="label"/>                         </mx:verticalAxis>                                                 <mx:horizontalAxis>                                 <mx:LinearAxis id="hAxis" minimum="0.5" maximum="4.5" interval="1"/>                         </mx:horizontalAxis>                                                 <mx:verticalAxisRenderers>                                 <mx:AxisRenderer axis="{vAxis}" fontSize="20" fontWeight="bold" tickLength="0" showLine="false"/>                         </mx:verticalAxisRenderers>                         <mx:horizontalAxisRenderers>                                 <mx:AxisRenderer axis="{hAxis}" fontSize="20" fontWeight="bold"  tickLength="0" showLine="false" placement="top"/>                         </mx:horizontalAxisRenderers>                 </mx:BubbleChart>                                 </mx:Panel> </mx:Application> Gibt es denn keine M?chkeit die Breite der Axenbeschriftung zu vergr?n? Ich hoffe mir kann jemand helfen! Hab schon so gut wie ales probiert... Viele Gr?und Danke!

Weitere Nachrichten zum Thema: