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
import{Canvas,Group}from'@antv/g';import{RendererasCanvasRenderer}from'@antv/g-canvas';import{Chart}from'@antv/g2';// Create a renderer.constrenderer=newCanvasRenderer();// Create a canvas.constcanvas=newCanvas({container: 'container',width: 600,height: 500,renderer: renderer,});// Create a group.constgroup=newGroup();canvas.appendChild(group);// Create a chart and mount into the group.constchart=newChart({ group });chart.options({type: 'interval',theme: 'classic',data: {type: 'fetch',value:
'https://gw.alipayobjects.com/os/bmw-prod/fb9db6b7-23a5-4c23-bbef-c54a55fee580.csv',},encode: {x: 'letter',y: 'frequency'},axis: {y: {labelFormatter: '.0%'}},});chart.render();
What problem does this feature solve?
我准备做一个可视化的大屏设计器,类似 BI 项目。打算使用 g 作为底层画板,并且使用 g2plot 图表。
我希望能有一个 @antv/g-plugin-g2plot 的官方插件
我使用 HTM g2plot 做的,但需要解决的问题还是挺多的
What does the proposed API look like?
The text was updated successfully, but these errors were encountered: