Skip to content

Latest commit

 

History

History
36 lines (18 loc) · 1.45 KB

File metadata and controls

36 lines (18 loc) · 1.45 KB

Zooming and Panning Options in Vue Charts

A quick start Vue project that shows how to enable zooming and panning options in the Vue Charts of Syncfusion. This project also includes a code snippet to zoom a specific chart area using different zooming modes, customize the toolbar options and navigate zoomed areas using panning.

Example: https://ej2.syncfusion.com/vue/demos/#/bootstrap5/chart/zooming.html

Documentation: https://ej2.syncfusion.com/vue/documentation/chart/zooming/

Project pre-requisites

Make sure that you have the compatible versions of TypeScript and Angular in your machine before starting to work on this project.

Angular 4+

TypeScript 2.6+

How to run this application?

To run this application, you need to first clone the zooming-and-panning-options-in-vue-charts repository and then navigate to its appropriate path where it has been in your system.

To do so, open the command prompt and run the below commands one after the other.

git clone angular-example

cd angular-example

Installing

Once done with downloading, next you need to install the necessary packages required to run this application locally. The npm install command will install all the needed angular packages into your current project and to do so, run the below command.

npm install

Running on development server

Run ng serve command for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.