cdial:
I haven't found an exact way to do it, but I notice that GD::Graph::bars/hbars uses GD::Graph::axestypes, which has plenty of options. Some of them look suggestive of ways to leave the axes out (look over the source code for comments & usage & such):
- x_long_ticks: Do you want ticks to span the entire width of the graph?
- x_ticks: Do we want ticks on the x axis?
- x_tick_offset: Force the line to be drawn off the chart?
- no_axes: Disable axes?
Some combination of these might do the trick for you, or you may see other things to try. You might even patch the class and contribute your patch back to the author, so others may use it.
BTW: You also ought to use cut & paste to get your code and error messages. It's much more accurate than retyping. (Example: You left out the closing quote after alice, and put a blank in "GD::Graph::bars".)
...
roboticus
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.