Re: XAxis with rotated labels
Chris McKay <[email protected]> Mon, 15 Nov 2004 14:43:06 +1300
| Newsgroups | gmane.comp.krysalis.jcharts.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I put the rotated X axis labels in originally. The only criteria for the current label location was that it followed a commercial Charting package's location. We successfully replaced that package with jCharts. So there wasn't a whole lot of thought put into that decision apart from "make it look just like the old charts, just don't require a $5k payment every time we deploy a new server" customer requirement. I would like to optionally retain the current look however. Regards, Chris > Date: Fri, 12 Nov 2004 12:51:58 -0800 > From: Gann Bierner <[email protected]> > To: [email protected] > Subject: [jCharts-developers] XAxis with rotated labels > Reply-To: [email protected] > > Hi Everyone, > > Currently if you rotate the x-labels of an axis chart they are placed > in a somewhat funny location, in my opinion. > > For one thing, the bounding box of the rotated label is centered under > the datapoint (or tic mark). I prefer top-most part of the label (the > one closest to the axis) to be directly below the datapoint. Also, I > prefer to have the rotated labels be aligned at the top (right) as > they are when the labels are set to vertical. Right now they are > aligned at the bottom. In a nutshell, I like my labels to look as > though you set them to vertical then rotated around the y position > closest to the axis (if that makes any sense). Btw, the first change > looks quite bad without the second change as well. > > Anyway, I've successfully made both of these changes and I was > wondering whether people liked the idea enough to commit them. I can > also add an option to enable them if people think that's appropriate. > > Please let me know what you think. > > Thanks, > Gann ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8