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-expansion-panel-header>
|
||||
<plotly-plot
|
||||
[data]="page.plotData['data']"
|
||||
[layout]="page.plotData['layout']"
|
||||
[data]="page.plotData"
|
||||
[layout]="page.plotLayout"
|
||||
[config]="plotlyConfig"
|
||||
>
|
||||
</plotly-plot>
|
||||
|
|
|
@ -11,7 +11,8 @@ export type Dashboard = {
|
|||
html?: (string | null);
|
||||
attachment?: (string | null);
|
||||
dfData?: Array<any>;
|
||||
plotData?: (string | null);
|
||||
plotData?: null;
|
||||
plotLayout?: (Record<string, any> | null);
|
||||
notebook?: (string | null);
|
||||
expandedPanes?: (Array<string> | null);
|
||||
sections?: (Array<DashboardSection> | null);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue