Merge branch '7-cambiar-color-de-grafica-de-acceso-integria-3271' into 'develop'
Change water mark logo - #7 See merge request !129
This commit is contained in:
commit
1ba76736b8
Binary file not shown.
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 1.3 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
|
@ -2252,7 +2252,7 @@ function set_watermark(graph_id, plot, watermark_src) {
|
||||||
down_ticks_height = $('#'+graph_id+' .yAxis .tickLabel').eq(0).css('height').split('px')[0];
|
down_ticks_height = $('#'+graph_id+' .yAxis .tickLabel').eq(0).css('height').split('px')[0];
|
||||||
}
|
}
|
||||||
var left_pos = parseInt(context.canvas.width - 3) - $('#watermark_image_'+graph_id)[0].width;
|
var left_pos = parseInt(context.canvas.width - 3) - $('#watermark_image_'+graph_id)[0].width;
|
||||||
var top_pos = parseInt(context.canvas.height - down_ticks_height - 20) - $('#watermark_image_'+graph_id)[0].height;
|
var top_pos = parseInt(context.canvas.height - down_ticks_height - 10) - $('#watermark_image_'+graph_id)[0].height;
|
||||||
|
|
||||||
context.drawImage(this, left_pos, top_pos);
|
context.drawImage(this, left_pos, top_pos);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue