webcontainer-core icon indicating copy to clipboard operation
webcontainer-core copied to clipboard

Chart not loading

Open ChrisAGit opened this issue 4 months ago • 1 comments

Describe the bug

Composition api is still using older addSeries definition

Link to the blitz that caused the error

https://stackblitz.com/edit/vitejs-vite-gc8d7qce?file=package.json,vite.config.js,src%2FApp.vue,src%2Fcomponents%2Fcomposition-api%2FLWChart.vue,src%2Fcomponents%2Foptions-api%2FLWChart.vue

Steps to reproduce

Just run it, the chart doesn't load

Expected behavior

Fix is to copy these 2 functions from the options api: getChartSeriesDefinition addSeriesAndData

and also copy over the imports

Then it runs fine.

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 139.0.0.0
Major version = 139
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 210312216,
  "usedJSHeapSize": 202329692,
  "jsHeapSizeLimit": 4294705152
}
Hash = 96435430

Additional context

No response

ChrisAGit avatar Aug 27 '25 12:08 ChrisAGit

ugh wrong context

ChrisAGit avatar Aug 27 '25 12:08 ChrisAGit