Browse Source

line-pod

merge-requests/2/head
Alexey Velikiy 3 years ago
parent
commit
f848841bc7
  1. 4
      package.json
  2. 4
      src/index.ts

4
package.json

@ -1,5 +1,5 @@
{
"name": "@chartwerk/line-chart",
"name": "@chartwerk/line-pod",
"version": "0.2.4",
"description": "Chartwerk line chart",
"main": "dist/index.js",
@ -10,7 +10,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/chartwerk/line-chart.git"
"url": "https://gitlab.com/chartwerk/line-pod.git"
},
"author": "CorpGlory",
"license": "Apache-2.0",

4
src/index.ts

@ -488,9 +488,9 @@ export class ChartwerkLineChart extends ChartwerkPod<LineTimeSerie, LineOptions>
}
}
// it is used with Vue.component, e.g.: Vue.component('chartwerk-line-chart', VueChartwerkLineChartObject)
// it is used with Vue.component, e.g.: Vue.component('chartwerk-line-pod', VueChartwerkLineChartObject)
export const VueChartwerkLineChartObject = {
// alternative to `template: '<div class="chartwerk-line-chart" :id="id" />'`
// alternative to `template: '<div class="chartwerk-line-pod" :id="id" />'`
render(createElement) {
return createElement(
'div',

Loading…
Cancel
Save