Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7432427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:27:21+00:00 2026-05-29T09:27:21+00:00

Despite setting the labelRotation property to 90 in this column chart, the axis labels

  • 0

Despite setting the labelRotation property to 90 in this column chart, the axis labels are horizontal. Is there something additional I need to do?

    <mx:ColumnChart id="myChart" height="100%" width="100%"
                    dataProvider="{myData}"
                    showDataTips="true">
        <mx:horizontalAxis>
            <mx:CategoryAxis id="h1" categoryField="code"/>
        </mx:horizontalAxis>            
        <mx:horizontalAxisRenderers>
            <mx:AxisRenderer axis="{h1}" labelRotation="90" />
        </mx:horizontalAxisRenderers>           
        <mx:series>
            <mx:ColumnSet type="stacked"
                          allowNegativeForStacked="true">
                <mx:series>
                    <mx:ColumnSeries xField="code"
                                     yField="A"
                                     displayName="A"/>
                    <mx:ColumnSeries xField="code"
                                     yField="B"
                                     displayName="B"/>
                    <mx:ColumnSeries xField="code"
                                     yField="C"
                                     displayName="C"/>
                    <mx:ColumnSeries xField="code"
                                     yField="D"
                                     displayName="D"/>
                    <mx:ColumnSeries xField="code"
                                     yField="F"
                                     displayName="F"/>
                </mx:series>
            </mx:ColumnSet>
        </mx:series>
    </mx:ColumnChart>

EDIT: I tried embedding the font, as suggested by Amy and fotomut, but it didn’t do anything:

<mx:Style>
 @font-face 
 {
    src:url("../assets/fonts/FRABK.ttf");
fontFamily: myFontFamily; 
embedAsCFF: false; 
 }

ColumnChart 
 { 
        fontFamily: myFontFamily; 
        fontSize: 10; 
     } 

</mx:Style>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T09:27:23+00:00Added an answer on May 29, 2026 at 9:27 am

    The key to making the labelRotation work is embedding of fonts.
    There is a good article on Flex 4.6 here

    A simple code example would be to add a style to the mxml file,

    <fx:Style>
            @namespace mx "library://ns.adobe.com/flex/mx";
    
            @font-face{
                src: local("Arial");
                fontFamily: Arial;
                embedAsCFF: false;
            }
    
            mx|ColumnChart {
                fontFamily: Arial;
                fontSize: 10;
            }
    </fx:Style>
    

    EDIT:
    I confirmed that this works for me using Flex 3.5, by simply changing fx:Style to mx:Style

    <mx:Style>
        @namespace mx "library://ns.adobe.com/flex/mx";
    
        @font-face{
            src: local("Arial");
            fontFamily: Arial;
            embedAsCFF: false;
        }
    
        mx|ColumnChart {
            fontFamily: Arial;
            fontSize: 10;
        }
    </mx:Style>
    

    Perhaps you should try embedding Arial like this first to see if that works?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know very little about JavaScript but despite this I'm trying to cobble something
There's a 32px gap at the top of my site, despite setting margins and
Despite this being one of the best error messages I've ever seen (second only
Despite setting directory permissions to 777, I still can't get a PHP script to
Has anyone else had this issue? I have to be doing something wrong. So
Summary: Keep getting null response despite public data and setting callback to enable cross
this is related to Setting up the constant buffer using SlimDX I have a
I'm in need of setting up cron-based VPN connectivity from Ubuntu Jaunty to a
I'm trying to connect to database asynchronously in WCF service. But despite of setting
I'm calling my webservice from a web page and getting a timeout despite setting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.