We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

integration status and howto/documentation ionic 2

Hello,
just found your app and libraries. I want to use the charts in my application build with ionic 2. Do you have some snippets for ionic-angular 3 and information how to integrate your libraries to an ionic project ? Do I have to use gulp ?
Thanks in advace,
Christoph

1 Reply

DD Dharanidharan Dharmasivam Syncfusion Team June 28, 2017 01:31 PM UTC

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 
  1. Node JS
  2. Install “gulp” package globally using node command “npm install –g gulp
  3. Install “typings” package globally using node command “npm install –g typings
  4. 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. 


Loader.
Up arrow icon