Build google chart by using google script and query function : <p>From a spreadsheet and using google script, </p>

<p>I'm trying to select a range of data from a specific sheet with conditions (where) by using 'query' function. But I don't want to regenerate another sheet with the new range of selected data.</p>

<p>Next after I would like build/update a chart in another sheet from the same spreadsheet.</p>

<p>I didn't find a way to do it.</p>

<p>Thank you</p>
