[cl-pdf-devel] Adding options to x-axis
Marc Battyani
marc.battyani at fractalconcept.com
Thu Jan 19 19:51:37 UTC 2006
"Jonathon McKitrick" <jcm at FreeBSD-uk.eu.org> wrote:
> There are 3 features I was wondering about. Either I could try to subclass
> and add them myself, or I could see if they are hidden somewhere I've missed
> or even being implemented right now.
>
> 1. Text labels rather than numbers for x-axis
> 2. Vertical lines on chart for x-axis.
> 3. Exact length for x-axis, rather than rounding.
>
> I have a chart showing the values of 21 characteristics. I need to label the
> axis with the characteristic abbreviations, and I'd like the axis to end with
> the last one, rather than round up to 25.
>
> Is this possible at the moment, or should I subclass and add an :after?
For 1, use a format string with the Tilde Slash directive:
http://www.lisp.org/HyperSpec/Body/sec_22-3-5-4.html
For 2, use pre-draw-chart-fn of post-draw-chart-fn to draw before or after the chart.
For 3 you will have to change some code.
Marc
More information about the cl-pdf-devel
mailing list