Tim, Do you know when you set the gutter? The gutter set is throwing a null reference error for me. The docs say it should be set by the chart, so I suppose that's partially why, but I hope I can work around that...
-Maciek -----Original Message----- From: Tim Hoff <[EMAIL PROTECTED]> Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: horizontal axis chart label size when chart has minimal height Date: Wed, 24 Sep 2008 20:25:15 -0000 Hey Maciek, Setting an explicit gutter value fixed a similar problem that had once with the labels on a chart. If I remember correctly, the label's font will become illegible when the labelSizeLimt is met, or the label dimensions force the font to be below the fontSize; because the label's container has smaller dimensions than the label itself. -TH --- In flexcoders@yahoogroups.com, Maciek Sakrejda <[EMAIL PROTECTED]> wrote: > > When I resize a chart (e.g., Column), below a certain size (seems to be > ~100-200 pixels), the labels on the horizontal axis shrink into > illegibility. Is there a way to prevent the labels from shrinking? > > For an example of what I'm talking about, go to > http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html > > , select Charts > Chart Controls > BarChart, and drag the divider of the > HDividedBox on the right up until just before the chart window itself > gets scrollbars. The labels shrink down to just a few pixels tall and > are completely illegible by the end. > > I would like to keep the labels at the given height (notice that, e.g., > the vertical axis labels on the AxisRenderer example do not shrink this > way), and keep shrinking the chart instead. The behavior seems > inconsistent: sometimes the labels shrink and sometimes they don't. And > it's not just related to horizontal versus vertical: take a look at the > AreaChart example--both sets of labels shrink when you drag in the right > browser edge to shrink the chart, but neither set changes when you drag > up the divider below. > > Any thoughts? > > Thanks, > -- > Maciek Sakrejda > Truviso, Inc. > http://www.truviso.com >