如何禁用或隐藏 ngx-饼图属性,如legendposition

问题描述

我有一个 ngx-pie chart 和 ngx-advanced-pie-chart,我想根据 ngx-advanced-pie-chart 中的条件隐藏一些属性,例如 ngx-advanced 饼图中的图例位置,数据两个图表相同

<ngx-charts-pie-chart> [results]="data" [legend]="showLegend" [legendPosition]="legendPosition" </ngx-charts-pie-chart

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)