I have 2 charts on a page, one shows company projects with a DateTimeAxis showing a timeline from start date to finish date. The other chart shows company events with DateTimeAxis, but the minimum and maximum are read from the min and max off the first charts DateTimeAxis. This way it displays the exact timeline in both. I have the Horizontal Axis on one at the top and the other at the bottom. It looks real nice with one exception...
The "Events" chart (chart 2), even though I have 12 points set as the fontSize doesn't keep a consistent size. In fact if there's only one item in that chart is shows it so small that it's unreadable. What can I do to make sure the size sticks? Also, in order to keep the bars at a consistent size I'm sizing the charts depending on the number of projects or events. That code looks like what I have below. What can I do to keep the Axis at the same size no matter what size the chart is? Thanks! <mx:BarChart id="eventChart" updateComplete="getEventChartSize (event)"... public function getEventChartSize(evt:Event):void { if (parentDocument.eventsArr.length >= 1) { evt.target.height = (parentDocument.eventsArr.length * 22)+ 60; } else { evt.target.height = 0; } }