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", "version": "0.2.4",
"description": "Chartwerk line chart", "description": "Chartwerk line chart",
"main": "dist/index.js", "main": "dist/index.js",
@ -10,7 +10,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/chartwerk/line-chart.git" "url": "https://gitlab.com/chartwerk/line-pod.git"
}, },
"author": "CorpGlory", "author": "CorpGlory",
"license": "Apache-2.0", "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 = { 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) { render(createElement) {
return createElement( return createElement(
'div', 'div',

Loading…
Cancel
Save