Google Chart Line

Asked

Viewed 38 times

0

I have homemade design, all done and Classic ASP (Vbscript) in which I use information generated in an array from txt files. The project has several bar graph generation modules generated "in hand" (with Vbscript), and now I decided to use Google Charts to generate line charts. I got a way to dynamically generate lines for the graphs

data.addRows
   ([

   <%FOR J = PRMDIA TO ULTDIA%>
         [<%=J%>, <%=TABVOL08(J)%>, <%=TABVOL14(J)%>, <%=TABVOL23(J)%>],
   <%NEXT%>

   ]);

It is a single chart with 3 distinct lines. My problem is that the values shown in the chart appear different from the source. That’s how I use the information

view.setColumns
([0, 1, { calc: "stringify", sourceColumn: 1, type: "string", role: "annotation" },
2, { calc: "stringify", sourceColumn: 2, type: "string", role: "annotation" },
3, { calc: "stringify", sourceColumn: 3, type: "string", role: "annotation" } 

I imagine that’s the one

  • Your question seems to be incomplete. "I imagine that’s what"?

  • The problem for the original values to be changed.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.