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
TypeError: canvas.canvas.getisnotafunctionatObject.<anonymous> (._node_modules_.pnpm_taro-f2-react@1.1.2_node_modules_taro-f2-react_es_index.js:51)
at Function.<anonymous> (WAServiceMainContext.js?t=wechat&s=1703467546811&v=3.1.5:1)
at :59047/appservice/<SelectorQuerycallbackfunction>
at WAServiceMainContext.js?t=wechat&s=1703467546811&v=3.1.5:1
at WAServiceMainContext.js?t=wechat&s=1703467546811&v=3.1.5:1
at Array.forEach (<anonymous>)
at WAServiceMainContext.js?t=wechat&s=1703467546811&v=3.1.5:1(env: macOS,mp,1.06.2310080; lib: 3.1.5)
TypeError: this.canvas.getContext is not a function
at OffscreenCanvasCreator.define.push../node_modules/.pnpm/@antv+g-lite@1.2.20/node_modules/@antv/g-lite/dist/index.esm.js.OffscreenCanvasCreator.getOrCreateCanvas (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:9947)
at TextService.define.push../node_modules/.pnpm/@antv+g-lite@1.2.20/node_modules/@antv/g-lite/dist/index.esm.js.TextService.measureFont (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:11224)
at TextService.define.push../node_modules/.pnpm/@antv+g-lite@1.2.20/node_modules/@antv/g-lite/dist/index.esm.js.TextService.measureText (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:11298)
at TextUpdater.define.push../node_modules/.pnpm/@antv+g-lite@1.2.20/node_modules/@antv/g-lite/dist/index.esm.js.TextUpdater.update (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:8262)
at DefaultStyleValueRegistry.define.push../node_modules/.pnpm/@antv+g-lite@1.2.20/node_modules/@antv/g-lite/dist/index.esm.js.DefaultStyleValueRegistry.updateGeometry (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:6939)
at DefaultStyleValueRegistry.define.push../node_modules/.pnpm/@antv+g-lite@1.2.20/node_modules/@antv/g-lite/dist/index.esm.js.DefaultStyleValueRegistry.processProperties (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:6747)
at DefaultStyleValueRegistry.define.push../node_modules/.pnpm/@antv+g-lite@1.2.20/node_modules/@antv/g-lite/dist/index.esm.js.DefaultStyleValueRegistry.recalc (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:6919)
at Canvas.handleMounted (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:14774)
at EventService.define.push../node_modules/.pnpm/@antv+g-lite@1.2.20/node_modules/@antv/g-lite/dist/index.esm.js.EventService.notifyListeners (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:9877)
at EventService.define.push../node_modules/.pnpm/@antv+g-lite@1.2.20/node_modules/@antv/g-lite/dist/index.esm.js.EventService.dispatchEvent (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:9574)(env: macOS,mp,1.06.2310080; lib: 3.1.5)
TypeError: Cannot set property 'font' of undefined
at TextService.define.push../node_modules/.pnpm/@antv+g-lite@1.2.20/node_modules/@antv/g-lite/dist/index.esm.js.TextService.measureFont (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:11228)
at TextService.define.push../node_modules/.pnpm/@antv+g-lite@1.2.20/node_modules/@antv/g-lite/dist/index.esm.js.TextService.measureText (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:11298)
at TextUpdater.define.push../node_modules/.pnpm/@antv+g-lite@1.2.20/node_modules/@antv/g-lite/dist/index.esm.js.TextUpdater.update (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:8262)
at DefaultStyleValueRegistry.define.push../node_modules/.pnpm/@antv+g-lite@1.2.20/node_modules/@antv/g-lite/dist/index.esm.js.DefaultStyleValueRegistry.updateGeometry (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:6939)
at DefaultStyleValueRegistry.define.push../node_modules/.pnpm/@antv+g-lite@1.2.20/node_modules/@antv/g-lite/dist/index.esm.js.DefaultStyleValueRegistry.processProperties (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:6747)
at DefaultStyleValueRegistry.define.push../node_modules/.pnpm/@antv+g-lite@1.2.20/node_modules/@antv/g-lite/dist/index.esm.js.DefaultStyleValueRegistry.recalc (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:6919)
at RenderingService.define.push../node_modules/.pnpm/@antv+g-lite@1.2.20/node_modules/@antv/g-lite/dist/index.esm.js.RenderingService.renderDisplayObject (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:10124)
at ._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:10157
at Array.forEach (<anonymous>)
at RenderingService.define.push../node_modules/.pnpm/@antv+g-lite@1.2.20/node_modules/@antv/g-lite/dist/index.esm.js.RenderingService.renderDisplayObject (._node_modules_.pnpm_@antv+g-lite@1.2.20_node_modules_@antv_g-lite_dist_index.esm.js:10156)(env: macOS,mp,1.06.2310080; lib: 3.1.5)
实测想要输出雷达图不可行。
相同环境 getting-started 里简单的柱状图是没有问题的。
简单柱状图
TypeError: canvas.canvas.get is not a function
错误同样存在,但不影响显示效果。TypeError: this.canvas.getContext is not a function
应该是主要原因。The text was updated successfully, but these errors were encountered: