Hola.
How to change a bottom grid line interval from to one minute ?
I tried to do it, but not works.
Always thank you.
Grid line interval problem
Re: Grid line interval problem
Hello,
Could you please arrange a simple example we can run as-is to reproduce the problem and a screenshot showing what would you like/expect to get?
Thanks in advance.
Could you please arrange a simple example we can run as-is to reproduce the problem and a screenshot showing what would you like/expect to get?
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Grid line interval problem
Hello, Yeray.
Thank you for your reply.
before. I would like to add more delicate vertical line than before.
after.( I wish)
Thank you for your reply.
before. I would like to add more delicate vertical line than before.
after.( I wish)
Re: Grid line interval problem
Hello,
You can draw extra grid lines following this example:
You can draw extra grid lines following this example:
Code: Select all
var Chart1;
function draw() {
Chart1=new Tee.Chart("canvas");
Chart1.addSeries(new Tee.Line().addRandom());
Chart1.series.items[0].beforeDraw = function() {
var c = Chart1.ctx;
var a = Chart1.axes.bottom;
var v = a.roundMin();
var y1 = a.bounds.y;
var y2 = Chart1.chartRect.y;
c.beginPath();
while (v <= a.maximum) {
var step = (a.increm / 3);
var i = v + step;
while (i < v + a.increm) {
if ((i > a.minimum) && (i < a.maximum)) {
var p = a.calc(i);
c.moveTo(p, y1);
c.lineTo(p, y2);
}
i += step;
}
v += a.increm;
}
a.grid.format.stroke.prepare();
a.grid.format.shadow.prepare(c);
c.stroke();
}
Chart1.draw();
}
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |