@FlexiSush
thanks a lot. it is now working.
@Varun Bajaj
we can use any font. i am now using arial.

On Feb 8, 9:23 am, Varun Bajaj <[email protected]> wrote:
> Hi akshar
>
> I don;t think that you can use the arial or any font (ANY) for rotating
> chart axis labels. I am attaching the ttf file which is perfectly working
> for me.
>
> Thanks
>
> Varun Bajaj
>
> On Sun, Feb 7, 2010 at 11:39 PM, Akshar <[email protected]> wrote:
> > i understood that i need some special fonts to rotate the label. can
> > you specify some place from where i can get these fonts. can i use the
> > basic arial font type for it.
> > any link which clarifies more on this topic will be appreciated.
>
> > On Feb 5, 9:21 am, Varun Bajaj <[email protected]> wrote:
> > > dear akshar
>
> > > Your answer is within your Q itself. Label rotation is done with specific
> > > font type only same as print. Hope you are understanding what i am trying
> > to
> > > say :)
>
> > > Varun Bajaj
>
> > > On Thu, Feb 4, 2010 at 5:13 PM, Akshar <[email protected]> wrote:
> > > > I want to rotate the chart axis label. i have used the sample code
> > > > provided by adobe @
> > > >http://livedocs.adobe.com/flex/3/html/help.html?content=charts_types_.
> > ..
> > > > but i am not able to achieve the rotation.
> > > > I have removed following lines in the sample code because i do not
> > > > have the font ttf:-
>
> > ------------------------------------------------------------------------------------------------------------
> > > > <mx:Style>
> > > >     @font-face{
> > > >        src: url("../assets/MyriadWebPro.ttf");
> > > >        fontFamily: myMyriad;
> > > >     }
>
> > > >     ColumnChart {
> > > >        fontFamily: myMyriad;
> > > >        fontSize: 20;
> > > >     }
> > > >  </mx:Style>
>
> > ------------------------------------------------------------------------------------------------------------
>
> > > > any help in this direction will be helpful.
>
> > > > my file is :-
>
> > > > <?xml version="1.0"?>
> > > > <!-- charts/RotateAxisLabels.mxml -->
> > > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
> > > >  <mx:Script><![CDATA[
> > > >  import mx.collections.ArrayCollection;
> > > >  [Bindable]
> > > >  public var expenses:ArrayCollection = new ArrayCollection([
> > > >     {Month: "Jan", Profit: 2000, Expenses: 1500},
> > > >     {Month: "Feb", Profit: 1000, Expenses: 200},
> > > >     {Month: "Mar", Profit: 1500, Expenses: 500}
> > > >  ]);
> > > >  ]]></mx:Script>
>
> > > >  <mx:Panel title="Rotated Axis Labels">
> > > >     <mx:ColumnChart id="column" dataProvider="{expenses}"
> > > > showDataTips="true">
> > > >        <mx:horizontalAxis>
> > > >           <mx:CategoryAxis
> > > >                dataProvider="{expenses}"
> > > >                categoryField="Month"
> > > >                title="FY 2006"
> > > >                id="a1"
> > > >           />
> > > >        </mx:horizontalAxis>
>
> > > >        <mx:horizontalAxisRenderers>
> > > >           <mx:AxisRenderer labelRotation="45" axis="{a1}"/>
> > > >        </mx:horizontalAxisRenderers>
> > > >        <mx:verticalAxisRenderers>
> > > >           <mx:AxisRenderer labelRotation="45" axis="{a1}"/>
> > > >        </mx:verticalAxisRenderers>
>
> > > >        <mx:series>
> > > >           <mx:ColumnSeries
> > > >                xField="Month"
> > > >                yField="Profit"
> > > >               displayName="Profit"
> > > >           />
> > > >           <mx:ColumnSeries
> > > >                xField="Month"
> > > >                yField="Expenses"
> > > >               displayName="Expenses"
> > > >           />
> > > >        </mx:series>
> > > >     </mx:ColumnChart>
> > > >     <mx:Legend dataProvider="{column}"/>
> > > >  </mx:Panel>
> > > > </mx:Application>
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Flex India Community" group.
> > > > To post to this group, send email to [email protected].
> > > > To unsubscribe from this group, send email to
> > > > [email protected]<flex_india%[email protected]>
> > <flex_india%[email protected]<flex_india%[email protected]>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/flex_india?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Flex India Community" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<flex_india%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/flex_india?hl=en.
>
>
>
>  myriadwebpro.ttf
> 128KViewDownload

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to