How can I get the values of the database to be plotted with javaScript canvas? [closed]

1

How can I graph the values of a database with canvas, because I am trying to graph data from an Access database and I want to show the values registered in a graph, I have the code to graph and it works only with data from an Array entered directly in the array, but I want to take the values from the database and graph them through a query. Here is the code of how I'm doing it. thanks in advance.

var meses = ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre",  "Diciembre"];
    //alert('3');
    var valores = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
    alert('1');
    var consulta = "SELECT * FROM produccion WHERE area AND fecha BETWEEN #"+fecha+"# AND #"+fechaFinal+"#";
    
asked by Micha Ruiz 18.04.2018 в 19:13
source

0 answers