-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #189 from highcharts/release-v1.4.0
Release v1.4.0
- Loading branch information
Showing
40 changed files
with
997 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
dist/* | ||
demo/js/* | ||
demo/dist/* | ||
demo/node_modules/* | ||
|
||
demo-v2/src/js/* | ||
demo-v2/dist/* | ||
demo-v2/node_modules/* | ||
|
||
demo-v3/src/js/* | ||
demo-v3/dist/* | ||
demo-v3/node_modules/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ dist/ | |
npm-debug.log | ||
yarn-error.log | ||
|
||
yarn.lock | ||
|
||
# Editor directories and files | ||
.editorconfig | ||
.idea | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.DS_Store | ||
node_modules | ||
/dist | ||
|
||
yarn.lock | ||
|
||
# local env files | ||
.env.local | ||
.env.*.local | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# vue-app-demo | ||
|
||
## Project setup | ||
``` | ||
npm install | ||
``` | ||
|
||
### Compiles and hot-reloads for development | ||
``` | ||
npm run serve | ||
``` | ||
|
||
### Compiles and minifies for production | ||
``` | ||
npm run build | ||
``` | ||
|
||
### Lints and fixes files | ||
``` | ||
npm run lint | ||
``` | ||
|
||
### Customize configuration | ||
See [Configuration Reference](https://cli.vuejs.org/config/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
presets: [ | ||
'@vue/cli-plugin-babel/preset' | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"name": "vue-app-demo", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"serve": "vue-cli-service serve", | ||
"build": "vue-cli-service build", | ||
"lint": "vue-cli-service lint" | ||
}, | ||
"dependencies": { | ||
"core-js": "^3.6.5", | ||
"vue": "^3.0.0", | ||
"highcharts": "^7.0.1", | ||
"highcharts-vue": "../" | ||
}, | ||
"devDependencies": { | ||
"@vue/cli-plugin-babel": "~4.5.0", | ||
"@vue/cli-plugin-eslint": "~4.5.0", | ||
"@vue/cli-service": "~4.5.0", | ||
"@vue/compiler-sfc": "^3.0.0", | ||
"babel-eslint": "^10.1.0", | ||
"eslint": "^6.7.2", | ||
"eslint-plugin-vue": "^7.0.0" | ||
}, | ||
"eslintConfig": { | ||
"root": true, | ||
"env": { | ||
"node": true | ||
}, | ||
"extends": [ | ||
"plugin:vue/vue3-essential", | ||
"eslint:recommended" | ||
], | ||
"parserOptions": { | ||
"parser": "babel-eslint" | ||
}, | ||
"rules": {} | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"last 2 versions", | ||
"not dead" | ||
] | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<html lang=""> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | ||
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> | ||
<title><%= htmlWebpackPlugin.options.title %></title> | ||
</head> | ||
<body> | ||
<noscript> | ||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> | ||
</noscript> | ||
<div id="app"></div> | ||
<!-- built files will be auto injected --> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
<template> | ||
<div id="app"> | ||
<div class="logos"> | ||
<img class="logo-hc" src="./assets/highcharts_logo.png" alt="Highcharts Logo"> | ||
<img class="logo-vue" src="./assets/vue_logo.png" alt="Vue Logo"> | ||
</div> | ||
<h2>Welcome in Vue 3 Highcharts Wrapper Demo</h2> | ||
<hr style="width: 200px; margin: 60px auto;"> | ||
<h3>Select chart constructor:</h3> | ||
<div class="button-grp"> | ||
<button @click="select('chart')" :class="{btnActive: selected === 'chart'}">Chart</button> | ||
<button @click="select('stockChart')" :class="{btnActive: selected === 'stockChart'}">Stock Chart</button> | ||
<button @click="select('mapChart')" :class="{btnActive: selected === 'mapChart'}">Map Chart</button> | ||
</div> | ||
<keep-alive> | ||
<component :is="currentView"></component> | ||
</keep-alive> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import Chart from './components/Chart.vue' | ||
import StockChart from './components/StockChart' | ||
import MapChart from './components/MapChart' | ||
export default { | ||
name: 'app', | ||
data () { | ||
return { | ||
selected: 'chart', | ||
currentView: 'chart' | ||
} | ||
}, | ||
components: { | ||
chart: Chart, | ||
stockChart: StockChart, | ||
mapChart: MapChart | ||
}, | ||
methods: { | ||
activate (elem) { | ||
this.selected = elem | ||
}, | ||
handler () { | ||
var args = arguments | ||
for (var arg of args) { | ||
if (arg instanceof Function) { | ||
arg() | ||
} | ||
} | ||
}, | ||
select (elem) { | ||
this.currentView = elem | ||
this.activate(elem) | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style> | ||
#app { | ||
font-family: 'Avenir', Helvetica, Arial, sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
text-align: center; | ||
color: #2c3e50; | ||
margin: 0 auto; | ||
margin-top: 60px; | ||
width: 70%; | ||
} | ||
h1, h2 { | ||
font-weight: normal; | ||
} | ||
ul { | ||
list-style-type: none; | ||
padding: 0; | ||
} | ||
li { | ||
display: inline-block; | ||
margin: 0 10px; | ||
} | ||
a { | ||
color: #42b983; | ||
} | ||
.row { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; | ||
align-items: center; | ||
flex-wrap: wrap; | ||
} | ||
.row > * { | ||
padding: 0 20px; | ||
} | ||
.logos { | ||
margin: 0 auto; | ||
width:50%; | ||
} | ||
.logo-hc { | ||
width: 70%; | ||
height: auto; | ||
} | ||
.logo-vue { | ||
width: 15%; | ||
height: auto; | ||
} | ||
.button-grp { | ||
margin: 20px 0; | ||
} | ||
button { | ||
padding: 10px 20px; | ||
outline: none; | ||
background: #828ea0; | ||
color: #fff; | ||
font-size: 16px; | ||
margin: 5px; | ||
border: 0px; | ||
} | ||
button:hover { | ||
background: #a7aeb8; | ||
transition: background 0.2s; | ||
} | ||
button:active { | ||
color: rgb(117, 117, 117); | ||
} | ||
.btnActive { | ||
color: #6fcd98 | ||
} | ||
</style> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.