Home › forums › Using CanvasJS › CanvasJS in Angular 6
This topic contains 5 replies, has 2 voices, and was last updated by Vishwas R 2 months, 2 weeks ago.
CanvasJS works fine with all versions of Angular. Please take a look at this sample project for integrating CanvasJS in Angular 6 app. Also please refer to Angular Gallery for more examples.
Hi Vishwas, can you help me implement the chart which the data comes from json (NOT EXTERNAL JSON) in Angular 6. I’ve seen the Angular Gallery but I want to achieve the chart using the json output of my application not on an external json.
Parsing the dataPoints to the format accepted by CanvasJS before passing it to chart-options should work fine in this case. Please take a look at this JSFiddle for rendering chart from JSON object.
If you are still facing issue, kindly share sample project along with sample JSON over Google-Drive or Onedrive, so that we can look into it and help you out.
Thank you very much… Kudos to your team… Great support.
PS. any chart data you would like to generate based on my json would be fine to me…
Please take a look at this Sample Project
You must be logged in to reply to this topic.