kenzzii / mtchart

Automatically exported from code.google.com/p/mtchart
GNU General Public License v3.0
0 stars 0 forks source link

DrawTicks with new optiones #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Here is another enhancement for mtChart which is quite handy...

define('TICKS_XAXIS', 2);
define('TICKS_YAXIS', 3);

// Draw ticks and labels if necessary
        if($DrawTicks) {
            if ($DrawTicks !== TICKS_XAXIS){
....

This is just the idea I've implemented on my copy and it works great. Is
there a way to commit stuff to the class?

With this addon you can decide wether to draw the ticks on both axis or
only drawing ticks on the YAXIS or on the XAXIS. I needed a graph with a
XAXIS description only and now its working just great.

Original issue reported on code.google.com by repthe...@gmail.com on 1 Oct 2009 at 7:09