@things-elements/things-scene-billboard
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "@things-elements/things-scene-billboard", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "An billboard component for things-scene.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
import locales from './locales' | ||
var templates = [{ | ||
name: 'billboard', | ||
/* 다국어 키 표현을 어떻게.. */ | ||
description: '...', | ||
/* 다국어 키 표현을 어떻게.. */ | ||
type: 'billboard', | ||
description: 'Things Scene Billboard Chart Component', | ||
icon: '', | ||
group: 'chartAndGauge', | ||
/* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|IoT|3D|warehouse|form|etc */ | ||
icon: '../', | ||
/* 또는, Object */ | ||
template: { | ||
model: { | ||
type: 'billboard', | ||
model: { | ||
type: 'billboard', | ||
top: 100, | ||
left: 100, | ||
width: 600, | ||
height: 400, | ||
fontSize: 10, | ||
fillStyle: '#00ff00', | ||
fontColor: '#FF0000', | ||
strokeStyle: '#000', | ||
lineWidth: 1, | ||
data: [ | ||
["data1", 30, 200, 100, 400, 150, 250], | ||
["data2", 250, 150, 120, 300, 200, 30] | ||
], | ||
config: ` | ||
top: 100, | ||
left: 100, | ||
width: 600, | ||
height: 400, | ||
fontSize: 10, | ||
fillStyle: '#00ff00', | ||
fontColor: '#FF0000', | ||
strokeStyle: '#000', | ||
lineWidth: 1, | ||
data: [ | ||
["data1", 30, 200, 100, 400, 150, 250], | ||
["data2", 250, 150, 120, 300, 200, 30] | ||
], | ||
config: ` | ||
{ | ||
type: "line" | ||
}` | ||
} | ||
} | ||
@@ -35,0 +29,0 @@ }]; |
44464
25
269