updated realTimeViz componet sturucture and data
This commit is contained in:
@@ -4,7 +4,7 @@ import { useWidgetStore } from "../../../../store/store";
|
||||
import ChartComponent from "./chartComponent";
|
||||
|
||||
// Define Props Interface
|
||||
interface DesignProps {}
|
||||
|
||||
interface Widget {
|
||||
id: string;
|
||||
type: string; // Chart type (e.g., "bar", "line")
|
||||
@@ -78,13 +78,13 @@ const Design = () => {
|
||||
|
||||
{/* Chart Component */}
|
||||
<div className="reviewChart">
|
||||
{/* {selectedChartId && (
|
||||
{selectedChartId && (
|
||||
<ChartComponent
|
||||
type={selectedChartId.type}
|
||||
title={selectedChartId.title}
|
||||
data={selectedChartId.data || defaultChartData} // Use widget data or default
|
||||
/>
|
||||
)} */}
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Options Container */}
|
||||
|
||||
Reference in New Issue
Block a user