Hi,
i'd suggest something like labelRotateAngle attribute (degree based,
int from -180 to 180, default 0)
to let users specify angle of rotation than having fixed angle set by code.
Also to suppress label overlapping a new attribute labelGapSize (int,
default 0)
could be added to render only some labels (not every value on lines)
Regards,
Zdenek
Matthias Wessendorf napsal(a):
Hi,
On Feb 13, 2008 9:11 AM, Döring Markus <[EMAIL PROTECTED]> wrote:
Hi,
I didn't open a feature request yet. Don't know if Venkata did it. Should I
open one?
doesn't hurt to open one. If Venk already did it, well ;-)
-M
Markus Döring
TCC Products GmbH
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Matthias
Wessendorf
Gesendet: Dienstag, 12. Februar 2008 22:30
An: MyFaces Development
Cc: Döring Markus
Betreff: Re: [Trinidad] tr:chart New API for displaying rotated horizontal
labels
Hi,
On Feb 11, 2008 9:47 PM, venkata guddanti <[EMAIL PROTECTED]> wrote:
Hi All,
Recently there was a request to display rotated horizontal labels in the
tr:chart component. Currently tr:chart is used to display multiple chart
types. The "type" attribute controls the type of chart to display. The issue
is that for bar, line, area and scatter charts horizontal labels are
displayed if there a large number of horizontal labels, the text elements
may overlap. So we need an API for displaying rotated vertical labels.
One option for the API that I can think of is something along the lines of
labelDisplayPreference="rotateHorizontal". This provides more options for
other label displays( for e.g. pie etc). Does anyone have a better
suggestion for API?
sounds like a reasonable change, but I haven't had the "feature request" ;-)
Was there an issue created for this?
-Matthias
I am attaching a sample with the horizontal rotated text in the chart.
Thanks,
Venkata
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org