Hi Christoph,
Thanks for contacting Syncfusion support.
We have analyzed your query and prepared a simple sample for chart component in ionic 2 platform. We have created chart sample under src/pages/chart. Find the code snippet below to render chart control.
Ionic 2:
Html File:
<ion-content>
<ej-chart id="chartContainer" >
</ej-chart>
</ion-content>
// Specify the required properties in typescript.
|
Screenshot:
Sample for reference can be find from below link.
In order to run the sample run ionic build and then ionic serve in command prompt.
Pre-requisites
- Node JS
- Install “gulp” package globally using node command “npm install –g gulp”
- Install “typings” package globally using node command “npm install –g typings”
- Install “ionic@beta” package globally using node command “npm install –g ionic@beta”
http://ionicframework.com/docs/v2/getting-started/installation/
For more information on ionic 2, follow up with below link.
Thanks,
Dharani.