Draw Daily Bar Chart for consumption

mssql

#1

Hello Team
i have a query and the out of this query 3 column ( stage name, DateTime, Value ) as Following

SELECT TagName, DateTime, Value
FROM History
WHERE TagName IN (‘MWDashBoardIOs.C1_Co2’)
AND wwRetrievalMode = ‘Cyclic’
AND wwResolution = 86400000
AND wwQualityRule = ‘Extended’
AND wwVersion = ‘Latest’
AND DateTime >= ‘2019-02-02 00:00:00.0000000’
AND DateTime < ‘2050-02-11 00:00:00.0000000’

The column Called “Value” represents the machine CO2 Gas counter at a certain time “DateTime”
I need to Plot a graph to represent the daily or Weekly consumption ( subtract the Value from the previous Row"
Do we have any graphs can provide this consumption in Bar chart