aurelia-chart icon indicating copy to clipboard operation
aurelia-chart copied to clipboard

Plans to get the Example links working with the latest version?

Open naabers2 opened this issue 1 year ago • 4 comments

We are using AU 1.3.1 and Highchart in our existing commercial product hoping to migrate from Highchart to Chart.js. The aurelia-chart project seems like a perfect fit for our replacement needs. Our app was built using all AU CLI defaults (Default ESNext app - A basic app with Babel and Webpack). Do you have a working example of Webpack with the latest aurelia-chart package (not TypeScript)? I clicked on the example links and got '404: Not Found'. Definitely appreciate any kind of help getting started with aurelia-chart. I have successfully built using AU 1.3.1 following your Webpack installation instructions, but need the next steps for this configuration (a basic POC example). Thanks so much. --John

naabers2 avatar Sep 27 '23 22:09 naabers2

Webpack demo app https://github.com/grofit/aurelia-chart/tree/master/packages/demo

TS or not should not matter much

MaximBalaganskiy avatar Sep 27 '23 22:09 MaximBalaganskiy

Thanks for the quick response! So it looks like make my main.js would be similar to main.ts w/the chart.js import, register, and then the 'aurelia-chart' plugin line. This is the main integration point if I understand that demo link correctly. Then the rest is just basic Aurelia. Sorry for not fully understanding TS.

naabers2 avatar Sep 27 '23 23:09 naabers2

Unfortunately, I was not able to get 'aurelia-chart' working with AU 1.3.1 today. This was creating a new Default ESNext app and adding to it. On the surface, it looks like it should be easy. I was very surprised the newly created app by AU did not build out-of-box (https://github.com/aurelia/cli/issues/1197), but the work around was easy for that. Rather than go through error discussions, if you are able to do an AU 1.3.1 hello 'aurelia-chart' example that would be of great help. Thanks again for your response and help.

naabers2 avatar Sep 28 '23 01:09 naabers2

I think default CLI issues are out of this repository scope

MaximBalaganskiy avatar Sep 28 '23 01:09 MaximBalaganskiy