-
on odoo: how shall I build a page which can show an continuous updated picture?
almost 8 years ago
-
almost 8 years ago
Hi Frank Cao,
For line graph you have to go for js file for example..
/home/shiva/Desktop/WORKSPACE/odoo-9/openerp/addons/Test_module/static/src/js
follow below code://Test ID var myLineTest = $("#demo"); // color of lines var lineColor = "#edgfhf"; var lineStroke = 4; // background color of Test element var TestBackground = "#fgdh"; // color of <a href="you have to taking plugin path here" // color of grid number var gridNumeralColor = "#dfg"; // interval of the chart graduation grid var gridLineFrecuency = 45; // number of decimals var GridNumeralDecimals = 10; // drwas the avarage line in the chart var ChartAvarage = true/false; // X values var XValues = [9.49, 9.48,9.47,9.46,9.45, 9.44, 9.43,9.42,9.41,9.40,9.39]; // Y values var YValues = [150, 360, 200, 225, 560, 450, 220, 550, 630, 100, 280, 480]; // draws the line chart on the Canvas element LineChart();
-
-
almost 8 years ago
Hi, there
thanks for your reply;
I am studying your advice now; -
2 Answer(s)