Create visualization graph (line or bar) where data is store in SQLite db file using plugin sqlite-datasource

Our time series data from our sensor store in Sqlite db file.
I am using the plugin sqlite-datasource and not able to create dashboard to visualize data as graph (line or bar)
I am trying to use following query with “Time series” but it is failing with error “not enough args to execute query: want 1 got 0”

Blockquote

SELECT
strftime(‘%s’, RecordDateUTC) as time_sec,
cast(lastReading as signed) as value,
moduleName as metric
FROM sensorData
WHERE $__timefilter(RecordDateUTC)
ORDER BY RecordDateUTC ASC

Blockquote

The actual data when make following query to the table is as follows

Query:
SELECT RecordDateUTC, lastReading FROM sensorData WHERE moduleName=‘myPh’ AND sensorType=‘pH’
The result look as follows

Blockquote
|RecordDateUTC|moduleName|lastReading|
|—|—|—|
|2020-12-16 01:53:31|myPh|5.92|
|2020-12-16 01:54:31|myPh|5.92|
|2020-12-16 01:55:31|myPh|5.91|
|2020-12-16 01:56:31|myPh|5.91|

Blockquote

Please help me so that I can create the graph - line/bar.

Thank you,
S Shah