|Re: Simple question I hope - limiting axis label lengths [message #634692 is a reply to message #634474]
||Fri, 22 October 2010 14:04
| Jason Weathersby
Registered: July 2009
See this example:|
On 10/21/2010 4:16 PM, Jason Weathersby wrote:
> I think I understand. In the example I was building the chart engine
> was turning off labels because they were to big. In your case this is
> not happening but you are getting to much space? You can send me a
> screen shot at jasonweathersby at windstream dot net. You can change the
> bounds of the chart before rendering it in script. Send me the image and
> I will build a quick example.
> btw the ellipsis is a minimum number of characters not a maximum. This
> may be the issue.
> On 10/21/2010 11:37 AM, Mark Victory wrote:
>> Thanks Jason,
>> Unless I'm just misunderstanding your last reply.......
>> The problem is not that the Labels don't display. They do.
>> And with the code added to the beforeDrawAxisLabel method, they display
>> shorter and with the elipses.
>> The problem is that the chart seems to have calculated how much width it
>> needs for the Axis label area before the labels are shortened so there
>> is now lots of empty space where the full length labels would be
>> displayed and the actual chart area is smaller than necessary.
>> I wish I could paste a screen shot. :)
>> Any idea why the Ellipses setting for the chart is not working?
Powered by FUDForum
. Page generated in 0.01868 seconds