OK In progress...

This commit is contained in:
Kolan Sh 2018-01-23 18:22:52 +03:00
parent 4b8947eaf3
commit ea84cb3a0c
1 changed files with 3 additions and 7 deletions

View File

@ -522,13 +522,9 @@ namespace CairoChart {
case Axis.Position.LOW: case Axis.Position.LOW:
if (is_x) { if (is_x) {
var print_y = ey1 - tthv; var print_y = ey1 - tthv;
chart.ctx.move_to (compact_rec_pos (v, text_t), print_y); chart.ctx.move_to (compact_rec_pos (v, text_t), print_y); text_t.show();
switch (dtype) { if (dtype == Axis.DType.DATE_TIME)
case Axis.DType.NUMBERS: text_t.show(); break; { chart.ctx.move_to (crpt, print_y - dtf); time_text_t.show(); }
case Axis.DType.DATE_TIME:
text_t.show(); chart.ctx.move_to (crpt, print_y - dtf); time_text_t.show();
break;
}
ser.grid.style.apply(chart); ser.grid.style.apply(chart);
double y = ey1 - max_rec_size - tthv; double y = ey1 - max_rec_size - tthv;
chart.ctx.move_to (scr_v, y); chart.ctx.move_to (scr_v, y);