hey frnds,
plz check my code , and tell me wat to change to increase font of x
axis labels , cause it it not readable

<?xml version="1.0"?>
<!-- charts/ColumnWithDropShadow.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute" width="310" height="250"
  >

   <mx:Style>
        @font-face {
            src: local("Arial");
            font-family: EmbeddedArial;
        }
      ColumnChart {
            font-family: EmbeddedArial;
        }
    </mx:Style>

  <mx:Script>
  <![CDATA[
      import mx.collections.ArrayCollection;
      [Bindable]
      public var expenses:ArrayCollection = new ArrayCollection([
         {Month:"Jan", Profit:2200, Expenses:1500},
         {Month:"Feb", Profit:1100, Expenses:200},
         {Month:"Mar", Profit:1500, Expenses:500},
         {Month:"Jan2", Profit:2000, Expenses:1500},
         {Month:"Feb2", Profit:1000, Expenses:200},
         {Month:"Mar2", Profit:1500, Expenses:500},
         {Month:"Jan3", Profit:2000, Expenses:1500},
         {Month:"Feb3", Profit:1000, Expenses:200},
         {Month:"Mar3", Profit:1500, Expenses:500},
         {Month:"Jan4", Profit:2000, Expenses:1500}
      ]);
  ]]>
  </mx:Script>

  <mx:Panel title="ColumnChart with drop shadow example" width="310"
height="250">
     <mx:ColumnChart width="250" height="210" id="column"
dataProvider="{expenses}" showDataTips="true">
         <mx:horizontalAxisRenderer>
            <mx:AxisRenderer labelRotation="90"   />
        </mx:horizontalAxisRenderer>

        <mx:horizontalAxis>
           <mx:CategoryAxis
                dataProvider="{expenses}"
                categoryField="Month"
           />
        </mx:horizontalAxis>

        <mx:series>
        <mx:ColumnSeries
                xField="Month"
                yField="Profit"
                displayName="Profit"
           />
        </mx:series>
     </mx:ColumnChart>

  </mx:Panel>
</mx:Application>

thx you in advanced,
:)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to