added input for name

This commit is contained in:
2025-03-31 15:02:35 +05:30
parent 3654cef817
commit ec87acb824
15 changed files with 281 additions and 135 deletions

View File

@@ -287,18 +287,11 @@ export const DraggableWidget = ({
)}
{widget.type === "doughnut" && (
<DoughnutGraphComponent
id={widget.id}
type={widget.type}
title={widget.title}
fontSize={widget.fontSize}
fontWeight={widget.fontWeight}
data={{
measurements: [
{ name: "testDevice", fields: "powerConsumption" },
{ name: "furnace", fields: "powerConsumption" },
],
interval: 1000,
duration: "1h",
}}
/>
)}
{widget.type === "polarArea" && (