Dashboard: fix plots
This commit is contained in:
parent
89eae25604
commit
5d67b8a9dc
2 changed files with 4 additions and 3 deletions
|
@ -26,8 +26,8 @@
|
||||||
<mat-panel-title>Plot</mat-panel-title>
|
<mat-panel-title>Plot</mat-panel-title>
|
||||||
</mat-expansion-panel-header>
|
</mat-expansion-panel-header>
|
||||||
<plotly-plot
|
<plotly-plot
|
||||||
[data]="page.plotData['data']"
|
[data]="page.plotData"
|
||||||
[layout]="page.plotData['layout']"
|
[layout]="page.plotLayout"
|
||||||
[config]="plotlyConfig"
|
[config]="plotlyConfig"
|
||||||
>
|
>
|
||||||
</plotly-plot>
|
</plotly-plot>
|
||||||
|
|
|
@ -11,7 +11,8 @@ export type Dashboard = {
|
||||||
html?: (string | null);
|
html?: (string | null);
|
||||||
attachment?: (string | null);
|
attachment?: (string | null);
|
||||||
dfData?: Array<any>;
|
dfData?: Array<any>;
|
||||||
plotData?: (string | null);
|
plotData?: null;
|
||||||
|
plotLayout?: (Record<string, any> | null);
|
||||||
notebook?: (string | null);
|
notebook?: (string | null);
|
||||||
expandedPanes?: (Array<string> | null);
|
expandedPanes?: (Array<string> | null);
|
||||||
sections?: (Array<DashboardSection> | null);
|
sections?: (Array<DashboardSection> | null);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue