useConsumptionChartData
TanStack Query hook returning raw consumption tail-log samples. Most dashboards should consume the higher-level `useSiteConsumptionChartData`, which wraps th…
TanStack Query hook returning raw consumption tail-log samples. Most dashboards should consume the higher-level `useSiteConsumptionChartData`, which wraps this hook with the site powermeter defaults and returns a `<LineChartCard>`-ready `C…
import { useConsumptionChartData } from "@tetherto/mdk-react-adapter";Signature
(params: UseConsumptionChartDataParams) => UseQueryResult<TailLogEntry[], Error>| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |