问题描述
我是 Python 中的 dash-cytoscape 的新手,我正在尝试对节点 (https://github.com/plotly/dash-cytoscape/blob/master/demos/usage-pie-style.py) 使用饼图样式功能。
我怀疑会有一些像 'pie-1-text':'ABC' 或 'pie-1-label':'DEF' 这样的输入被添加到样式表中,但我找不到任何关于
stylesheet={
'selector': 'node','style': {
'width': '60px','height': '60px','content': 'data(id)','pie-size': '80%','pie-1-background-color': '#E8747C','pie-1-background-size': 'mapData(foo,10,100)','pie-2-background-color': '#74CBE8','pie-2-background-size': 'mapData(bar,'pie-3-background-color': '#74E883','pie-3-background-size': 'mapData(baz,100)'
}}
谢谢大家!
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)