|
|
I need to make several identical charts, each using the same columns, say
"name" and "age". I figured I could use a makeChart(query) function for this.
The trick is, I need to ensure each query I pass in contains the variables
"name" and "age".
Rather than have the app blow up when I dont have the right column names, I
figured I could have makeGraph() only accept a custom query object containing
"name" and "age" as columns. Then when I run all my queries, I can copy the
results into this query object and pass that to the makeChart() function. Is
this possible?
|
|