Skip to content

Commit 580f4e3

Browse files
Merge pull request #1 from Ammu1492/master
Added sample
2 parents 2e1946a + cd0d22c commit 580f4e3

File tree

13 files changed

+20020
-1
lines changed

13 files changed

+20020
-1
lines changed

README.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,39 @@
1-
# adding-annotations-to-vue-charts
1+
# Adding Annotations to Vue Charts
2+
23
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.
4+
5+
Examples : https://ej2.syncfusion.com/vue/demos/#/material/chart/pie-annotation.html
6+
7+
Documentation: https://ej2.syncfusion.com/vue/documentation/chart/chart-annotations/
8+
9+
## Project pre-requisites
10+
11+
Make sure that you have the compatible versions of Node and Vue-Cli in your machine before starting to work on this project.
12+
13+
## How to run this application?
14+
15+
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.
16+
17+
To do so, open the command prompt and run the below commands one after the other.
18+
19+
```
20+
git clone vue-example
21+
22+
cd vue-example
23+
```
24+
25+
## Installing
26+
27+
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.
28+
29+
```
30+
npm install
31+
```
32+
33+
## Running on development server
34+
35+
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.
36+
37+
## Further help
38+
39+
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).

babel.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/cli-plugin-babel/preset'
4+
]
5+
}

jsconfig.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"module": "esnext",
5+
"baseUrl": "./",
6+
"moduleResolution": "node",
7+
"paths": {
8+
"@/*": [
9+
"src/*"
10+
]
11+
},
12+
"lib": [
13+
"esnext",
14+
"dom",
15+
"dom.iterable",
16+
"scripthost"
17+
]
18+
}
19+
}

0 commit comments

Comments
 (0)