Html 是否有方法通过plotly图形外部的复选框(带角度)关闭单个记录道
大家好,我开始研究Angular和Angular plotly 以下是我所拥有的以及我对它的想象:Html 是否有方法通过plotly图形外部的复选框(带角度)关闭单个记录道,html,angular,typescript,plotly,Html,Angular,Typescript,Plotly,大家好,我开始研究Angular和Angular plotly 以下是我所拥有的以及我对它的想象: <mat-form-field appearance="fill"> <mat-label>Nach Erfolgsquote filtern</mat-label> <mat-select [formControl]="Erfolgsquote" multiple> <mat
<mat-form-field appearance="fill">
<mat-label>Nach Erfolgsquote filtern</mat-label>
<mat-select [formControl]="Erfolgsquote" multiple>
<mat-option *ngFor="let erfolg of erfolgList" [value]="erfolg">{{erfolg}}</mat-option>
</mat-select>
</mat-form-field>
<div class="mat-card-header-text" (window:resize)="onResize($event)">
<div class="plot">
<plotly-plot [data]="resultplot.data" [layout]="layout" [style] = "style"></plotly-plot>
</div>
</div>
我把东西塞进情节里,一切都找到了。但是这里没有Plotly.deleteTraces()之类的东西。
现在我想把它放到我的HTML文件中。如果下拉列表的状态具有特定值,则该值应显示在绘图中
希望这是可以理解的:)
谢谢你们的帮助,伙计们
resultplot = {
data :[{}]
};