kenzzii / mtchart

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

skipping on x-axis labels #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Can you please implement the skipping of x-axis label ticks? i believe this
was implemented in pChart and is not available anymore, but important.

The parameter should be passed as an optional parameter with the drawScale
function, default = false.

Example: if set to 3 every 3rd label should be drawn, BUT starting with the
first tick (this is still buggy in pChart)! So it will draw 1st, 4th, 7th,
10th, ...

Original issue reported on code.google.com by repthe...@gmail.com on 30 Sep 2009 at 8:55

GoogleCodeExporter commented 8 years ago
mmh.. alright.. please add this to the migration wiki at least

use setInterval(n) instead of passing SkipLabels = n ! This works and is also
starting at tick one!

Is there any way to align the labels? If not can you add a functionality 
similar to
setInterval using constants like ALIGn_LEFT, ALIGN_RIGHT, ALIGN_CENTER  
(default =
ALIGN_CENTER)

Original comment by repthe...@gmail.com on 30 Sep 2009 at 9:06