see:
you need to include references to a couple of variables so the graph layout offers a time range that is used to drive the display
i.e.: AND datetime > ${fromtime}
(and if you want a range of times datetime between ${fromtime} and ${toTime} )
see:
Re: Unable to add data series for a report's SQL-driven custom chart
you need to include references to a couple of variables so the graph layout offers a time range that is used to drive the display
i.e.: AND datetime > ${fromtime}
(and if you want a range of times datetime between ${fromtime} and ${toTime} )