I'm having some issues with adding a tooltip to a Google Line Chart. Here's what I have setup:
Query:
select date Date, total Total, 'example tooltip' from table
Results:
2014-05-01 255 example tooltip
2014-06-01 1232 example tooltip
2014-07-01 1981 example tooltip
Pocket Query Template:
<script>
PocketQuery.chart('LineChart', {
height:700,
width:1000,
displayMode: 'text',
pointSize: '3',
data.addColumn({type: 'string', role: 'tooltip'});
});
</script>The issue is, the pocketquery results are blank. I also don't see anything in the preview stack trace.
Any ideas what I'm doing wrong?
Thanks!