You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
设置 encode('shape', 'diamond') 不生效,设置为 point 时,可以生效
代码
import{Chart}from'@antv/g2';constchart=newChart({container: 'container',height: 120,});chart.point().data({type: 'fetch',value:
'https://gw.alipayobjects.com/os/basement_prod/6b4aa721-b039-49b9-99d8-540b3f87d339.json',}).encode('x','height')// work// .encode('shape','point')// do not work.encode('shape','diamond')chart.render();
The text was updated successfully, but these errors were encountered:
现状
encode('shape', 'diamond')
不生效,设置为point
时,可以生效代码
The text was updated successfully, but these errors were encountered: