Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 38 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,39 @@
# adding-annotations-to-vue-charts
# Adding Annotations to Vue Charts

A quick start Vue project that shows how to add annotations to Syncfusion Vue Charts. This project also includes a code snippet to add image annotations to Vue charts, position images using the coordinateUnits property with pixel and point values as well as align annotations.

Examples : https://ej2.syncfusion.com/vue/demos/#/material/chart/pie-annotation.html

Documentation: https://ej2.syncfusion.com/vue/documentation/chart/chart-annotations/

## Project pre-requisites

Make sure that you have the compatible versions of Node and Vue-Cli in your machine before starting to work on this project.

## How to run this application?

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

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

```
git clone vue-example

cd vue-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 Vue packages into your current project and to do so, run the below command.

```
npm install
```

## Running on development server

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

## Further help

To get more help on the vue CLI use go check out the [Vue-Cli README](https://github.com/vuejs/vue-cli/blob/master/README.md).
5 changes: 5 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}
19 changes: 19 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"compilerOptions": {
"target": "es5",
"module": "esnext",
"baseUrl": "./",
"moduleResolution": "node",
"paths": {
"@/*": [
"src/*"
]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
}
}
Loading