New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@easyv/config

Package Overview
Dependencies
Maintainers
7
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@easyv/config - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

392

lib/series.js

@@ -15,22 +15,22 @@ "use strict";

var _mapping = {
fieldName: "",
displayName: ""
fieldName: '',
displayName: ''
};
var defaultBandSeries = {
mapping: _mapping,
yOrZ: "y",
stack: "",
yOrZ: 'y',
stack: '',
fill: {
type: "linear",
pure: "#fff",
type: 'linear',
pure: '#fff',
linear: {
stops: [{
offset: 0,
color: "#fff"
color: '#fff'
}, {
offset: 50,
color: "#ff0"
color: '#ff0'
}, {
offset: 100,
color: "#f0f"
color: '#f0f'
}],

@@ -43,16 +43,16 @@ angle: 30,

show: false,
extent: "max",
extent: 'max',
fill: {
type: "linear",
pure: "#fff",
type: 'linear',
pure: '#fff',
linear: {
stops: [{
offset: 0,
color: "#fff"
color: '#fff'
}, {
offset: 50,
color: "#ff0"
color: '#ff0'
}, {
offset: 100,
color: "#f0f"
color: '#f0f'
}],

@@ -67,3 +67,3 @@ angle: 30,

var bandSeries = function bandSeries() {
var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Math.random() + "";
var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Math.random() + '';

@@ -96,3 +96,3 @@ var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultBandSeries,

name: name,
displayName: "系列",
displayName: '系列',
value: [(0, _.mapping)({

@@ -102,78 +102,78 @@ fieldName: fieldName,

}), {
name: "yOrZ",
displayName: "纵轴选择",
name: 'yOrZ',
displayName: '纵轴选择',
value: yOrZ,
type: "select",
type: 'select',
config: {
options: [{
name: "Y轴",
value: "y"
name: 'Y轴',
value: 'y'
}, {
name: "Z轴",
value: "z"
name: 'Z轴',
value: 'z'
}]
}
}, stack !== undefined && {
name: "stack",
displayName: "堆叠",
name: 'stack',
displayName: '堆叠',
value: stack,
type: "input"
type: 'input'
}, {
name: "fill",
displayName: "颜色",
type: "multicolor",
name: 'fill',
displayName: '颜色',
type: 'multicolor',
value: fill
}, patternType !== undefined && {
name: "patternType",
displayName: "纹理类型",
value: "default",
name: 'patternType',
displayName: '纹理类型',
value: 'default',
type: 'radio',
config: {
options: [{
name: "默认",
value: "default"
name: '默认',
value: 'default'
}, {
name: "自定义",
value: "custom"
name: '自定义',
value: 'custom'
}]
}
}, patternImage !== undefined && {
rule: [['patternType', '$eq', 'custom']],
name: 'patternImage',
displayName: '纹理',
value: '',
type: 'uploadImage'
}, patternHeight !== undefined && {
name: "patternHeight",
displayName: "纹理高度",
name: 'patternHeight',
displayName: '纹理高度',
value: patternHeight,
type: "range"
}, patternImage !== undefined && {
rule: [["patternType", "$eq", "custom"]],
name: "patternImage",
displayName: "纹理",
value: "",
type: "uploadImage"
type: 'range'
}, {
name: "highlight",
displayName: "极值高亮",
name: 'highlight',
displayName: '极值高亮',
value: [{
name: "show",
displayName: "显示",
type: "boolean",
name: 'show',
displayName: '显示',
type: 'boolean',
value: showHighlight
}, {
rule: [["show", "$eq", true]],
name: "extent",
displayName: "极值",
rule: [['show', '$eq', true]],
name: 'extent',
displayName: '极值',
value: highlightExtent,
type: "select",
type: 'select',
config: {
options: [{
name: "最大值",
value: "max"
name: '最大值',
value: 'max'
}, {
name: "最小值",
value: "min"
name: '最小值',
value: 'min'
}]
}
}, {
rule: [["show", "$eq", true]],
name: "fill",
displayName: "颜色",
type: "multicolor",
rule: [['show', '$eq', true]],
name: 'fill',
displayName: '颜色',
type: 'multicolor',
value: highlightFill

@@ -184,3 +184,3 @@ }]

}),
type: "object"
type: 'object'
};

@@ -192,7 +192,7 @@ };

mapping: _mapping,
yOrZ: "y",
yOrZ: 'y',
line: {
type: "solid",
color: "#FFFFFF",
lineWidth: "1",
type: 'solid',
color: '#FFFFFF',
lineWidth: '1',
curve: true,

@@ -204,14 +204,14 @@ tension: 1,

fill: {
type: "linear",
pure: "#fff",
type: 'linear',
pure: '#fff',
linear: {
stops: [{
offset: 0,
color: "#fff"
color: '#fff'
}, {
offset: 50,
color: "#ff0"
color: '#ff0'
}, {
offset: 100,
color: "#f0f"
color: '#f0f'
}],

@@ -228,14 +228,14 @@ angle: 30,

areaColor: {
type: "linear",
pure: "#fff",
type: 'linear',
pure: '#fff',
linear: {
stops: [{
offset: 0,
color: "#fff"
color: '#fff'
}, {
offset: 50,
color: "#ff0"
color: '#ff0'
}, {
offset: 100,
color: "#f0f"
color: '#f0f'
}],

@@ -249,12 +249,12 @@ angle: 30,

show: true,
mode: "double",
mode: 'double',
inner: {
color: "#83C4FF",
color: '#83C4FF',
radius: 3
},
outer: {
color: "rgba(24,144,255,0.4)",
color: 'rgba(24,144,255,0.4)',
radius: 6
},
color: "#1283E3",
color: '#1283E3',
radius: 4

@@ -279,39 +279,39 @@ };

return [{
name: "type",
displayName: "类型",
name: 'type',
displayName: '类型',
value: type,
type: "select",
type: 'select',
config: {
options: [{
name: "实线",
value: "solid"
name: '实线',
value: 'solid'
}, {
name: "虚线",
value: "dash"
name: '虚线',
value: 'dash'
}]
}
}, {
name: "color",
displayName: "颜色",
name: 'color',
displayName: '颜色',
value: color,
type: "color"
type: 'color'
}, {
name: "lineWidth",
displayName: "粗细",
name: 'lineWidth',
displayName: '粗细',
value: lineWidth,
type: "input",
type: 'input',
config: {
suffix: "px"
suffix: 'px'
}
}, {
name: "curve",
displayName: "曲线",
name: 'curve',
displayName: '曲线',
value: curve,
type: "boolean"
type: 'boolean'
}, {
rule: [["curve", "$eq", true]],
name: "tension",
displayName: "曲线张力",
rule: [['curve', '$eq', true]],
name: 'tension',
displayName: '曲线张力',
value: tension,
type: "range",
type: 'range',
config: {

@@ -323,6 +323,6 @@ min: 0,

}, {
name: "connectNulls",
displayName: "null值连接",
name: 'connectNulls',
displayName: 'null值连接',
value: connectNulls,
type: "boolean"
type: 'boolean'
}];

@@ -345,33 +345,33 @@ };

return {
name: "lighter",
displayName: "光效",
name: 'lighter',
displayName: '光效',
value: [{
name: "show",
displayName: "显示",
name: 'show',
displayName: '显示',
value: show,
type: "boolean"
type: 'boolean'
}, {
rule: [["show", "$eq", true]],
name: "fill",
displayName: "颜色",
type: "multicolor",
rule: [['show', '$eq', true]],
name: 'fill',
displayName: '颜色',
type: 'multicolor',
value: fill
}, {
rule: [["show", "$eq", true]],
name: "length",
displayName: "长度",
rule: [['show', '$eq', true]],
name: 'length',
displayName: '长度',
value: length,
type: "number"
type: 'number'
}, {
rule: [["show", "$eq", true]],
name: "width",
displayName: "宽度",
rule: [['show', '$eq', true]],
name: 'width',
displayName: '宽度',
value: width,
type: "number"
type: 'number'
}, {
rule: [["show", "$eq", true]],
name: "unitStep",
displayName: "速度",
rule: [['show', '$eq', true]],
name: 'unitStep',
displayName: '速度',
value: unitStep,
type: "number"
type: 'number'
}]

@@ -405,77 +405,77 @@ };

return {
name: "icon",
displayName: "数据标记",
name: 'icon',
displayName: '数据标记',
value: [{
name: "show",
displayName: "显示",
name: 'show',
displayName: '显示',
value: show,
type: "boolean"
type: 'boolean'
}, {
rule: [["show", "$eq", true]],
name: "mode",
displayName: "模式",
rule: [['show', '$eq', true]],
name: 'mode',
displayName: '模式',
value: mode,
type: "select",
type: 'select',
config: {
options: [{
name: "单圆",
value: "single"
name: '单圆',
value: 'single'
}, {
name: "双圆",
value: "double"
name: '双圆',
value: 'double'
}]
}
}, {
rule: [["show", "$eq", true], ["mode", "$eq", "double"]],
name: "inner",
displayName: "内圆",
rule: [['show', '$eq', true], ['mode', '$eq', 'double']],
name: 'inner',
displayName: '内圆',
value: [{
name: "color",
displayName: "颜色",
name: 'color',
displayName: '颜色',
value: innerColor,
type: "color"
type: 'color'
}, {
name: "radius",
displayName: "半径",
name: 'radius',
displayName: '半径',
value: innerRadius,
type: "number",
type: 'number',
config: {
min: 0,
suffix: "px"
suffix: 'px'
}
}]
}, {
rule: [["show", "$eq", true], ["mode", "$eq", "double"]],
name: "outer",
displayName: "外圆",
rule: [['show', '$eq', true], ['mode', '$eq', 'double']],
name: 'outer',
displayName: '外圆',
value: [{
name: "color",
displayName: "颜色",
name: 'color',
displayName: '颜色',
value: outerColor,
type: "color"
type: 'color'
}, {
name: "radius",
displayName: "半径",
name: 'radius',
displayName: '半径',
value: outerRadius,
type: "number",
type: 'number',
config: {
min: 0,
suffix: "px"
suffix: 'px'
}
}]
}, {
rule: [["show", "$eq", true], ["mode", "$eq", "single"]],
name: "color",
displayName: "颜色",
rule: [['show', '$eq', true], ['mode', '$eq', 'single']],
name: 'color',
displayName: '颜色',
value: color,
type: "color"
type: 'color'
}, {
rule: [["show", "$eq", true], ["mode", "$eq", "single"]],
name: "radius",
displayName: "半径",
rule: [['show', '$eq', true], ['mode', '$eq', 'single']],
name: 'radius',
displayName: '半径',
value: radius,
type: "number",
type: 'number',
config: {
min: 0,
suffix: "px"
suffix: 'px'
}

@@ -487,3 +487,3 @@ }]

var lineSeries = function lineSeries() {
var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Math.random() + "";
var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Math.random() + '';

@@ -506,3 +506,3 @@ var _ref5 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultLineSeries,

name: name,
displayName: "系列",
displayName: '系列',
value: [(0, _.mapping)({

@@ -512,21 +512,21 @@ fieldName: fieldName,

}), {
name: "yOrZ",
displayName: "纵轴选择",
name: 'yOrZ',
displayName: '纵轴选择',
value: yOrZ,
type: "select",
type: 'select',
config: {
options: [{
name: "Y轴",
value: "y"
name: 'Y轴',
value: 'y'
}, {
name: "Z轴",
value: "z"
name: 'Z轴',
value: 'z'
}]
}
}, {
name: "line",
displayName: "折线",
name: 'line',
displayName: '折线',
value: commonLine(line)
}, icon(lineIcon), (0, _.label)(lineLabel)],
type: "object"
type: 'object'
};

@@ -538,3 +538,3 @@ };

var areaSeries = function areaSeries() {
var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Math.random() + "";
var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Math.random() + '';

@@ -573,3 +573,3 @@ var _ref6 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultLineSeries,

name: name,
displayName: "系列",
displayName: '系列',
value: [(0, _.mapping)({

@@ -579,23 +579,23 @@ fieldName: fieldName,

}), {
name: "yOrZ",
displayName: "纵轴选择",
name: 'yOrZ',
displayName: '纵轴选择',
value: yOrZ,
type: "select",
type: 'select',
config: {
options: [{
name: "Y轴",
value: "y"
name: 'Y轴',
value: 'y'
}, {
name: "Z轴",
value: "z"
name: 'Z轴',
value: 'z'
}]
}
}, {
name: "areaColor",
displayName: "区域颜色",
type: "multicolor",
name: 'areaColor',
displayName: '区域颜色',
type: 'multicolor',
value: areaColor
}, {
name: "line",
displayName: "折线",
name: 'line',
displayName: '折线',
value: [].concat((0, _toConsumableArray2["default"])(commonLine({

@@ -610,3 +610,3 @@ type: type,

}, (0, _.label)(areaLabel)],
type: "object"
type: 'object'
};

@@ -613,0 +613,0 @@ };

{
"name": "@easyv/config",
"version": "1.0.7",
"version": "1.0.8",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,17 +0,17 @@

import { mapping, label } from ".";
import { mapping, label } from '.';
const _mapping = { fieldName: "", displayName: "" };
const _mapping = { fieldName: '', displayName: '' };
const defaultBandSeries = {
mapping: _mapping,
yOrZ: "y",
stack: "",
yOrZ: 'y',
stack: '',
fill: {
type: "linear",
pure: "#fff",
type: 'linear',
pure: '#fff',
linear: {
stops: [
{ offset: 0, color: "#fff" },
{ offset: 50, color: "#ff0" },
{ offset: 100, color: "#f0f" },
{ offset: 0, color: '#fff' },
{ offset: 50, color: '#ff0' },
{ offset: 100, color: '#f0f' },
],

@@ -24,11 +24,11 @@ angle: 30,

show: false,
extent: "max",
extent: 'max',
fill: {
type: "linear",
pure: "#fff",
type: 'linear',
pure: '#fff',
linear: {
stops: [
{ offset: 0, color: "#fff" },
{ offset: 50, color: "#ff0" },
{ offset: 100, color: "#f0f" },
{ offset: 0, color: '#fff' },
{ offset: 50, color: '#ff0' },
{ offset: 100, color: '#f0f' },
],

@@ -43,3 +43,3 @@ angle: 30,

export const bandSeries = (
name = Math.random() + "",
name = Math.random() + '',
{

@@ -65,14 +65,14 @@ mapping: {

name,
displayName: "系列",
displayName: '系列',
value: [
mapping({ fieldName, displayName }),
{
name: "yOrZ",
displayName: "纵轴选择",
name: 'yOrZ',
displayName: '纵轴选择',
value: yOrZ,
type: "select",
type: 'select',
config: {
options: [
{ name: "Y轴", value: "y" },
{ name: "Z轴", value: "z" },
{ name: 'Y轴', value: 'y' },
{ name: 'Z轴', value: 'z' },
],

@@ -82,58 +82,58 @@ },

stack !== undefined && {
name: "stack",
displayName: "堆叠",
name: 'stack',
displayName: '堆叠',
value: stack,
type: "input",
type: 'input',
},
{
name: "fill",
displayName: "颜色",
type: "multicolor",
name: 'fill',
displayName: '颜色',
type: 'multicolor',
value: fill,
},
patternType !== undefined && {
name: "patternType",
displayName: "纹理类型",
value: "default",
name: 'patternType',
displayName: '纹理类型',
value: 'default',
type: 'radio',
config: {
options: [
{ name: "默认", value: "default" },
{ name: "自定义", value: "custom" },
{ name: '默认', value: 'default' },
{ name: '自定义', value: 'custom' },
],
},
},
patternImage !== undefined && {
rule: [['patternType', '$eq', 'custom']],
name: 'patternImage',
displayName: '纹理',
value: '',
type: 'uploadImage',
},
patternHeight !== undefined && {
name: "patternHeight",
displayName: "纹理高度",
name: 'patternHeight',
displayName: '纹理高度',
value: patternHeight,
type: "range",
type: 'range',
},
patternImage !== undefined && {
rule: [["patternType", "$eq", "custom"]],
name: "patternImage",
displayName: "纹理",
value: "",
type: "uploadImage",
},
{
name: "highlight",
displayName: "极值高亮",
name: 'highlight',
displayName: '极值高亮',
value: [
{
name: "show",
displayName: "显示",
type: "boolean",
name: 'show',
displayName: '显示',
type: 'boolean',
value: showHighlight,
},
{
rule: [["show", "$eq", true]],
name: "extent",
displayName: "极值",
rule: [['show', '$eq', true]],
name: 'extent',
displayName: '极值',
value: highlightExtent,
type: "select",
type: 'select',
config: {
options: [
{ name: "最大值", value: "max" },
{ name: "最小值", value: "min" },
{ name: '最大值', value: 'max' },
{ name: '最小值', value: 'min' },
],

@@ -143,6 +143,6 @@ },

{
rule: [["show", "$eq", true]],
name: "fill",
displayName: "颜色",
type: "multicolor",
rule: [['show', '$eq', true]],
name: 'fill',
displayName: '颜色',
type: 'multicolor',
value: highlightFill,

@@ -153,3 +153,3 @@ },

].filter((item) => !!item),
type: "object",
type: 'object',
};

@@ -160,7 +160,7 @@ };

mapping: _mapping,
yOrZ: "y",
yOrZ: 'y',
line: {
type: "solid",
color: "#FFFFFF",
lineWidth: "1",
type: 'solid',
color: '#FFFFFF',
lineWidth: '1',
curve: true,

@@ -172,9 +172,9 @@ tension: 1,

fill: {
type: "linear",
pure: "#fff",
type: 'linear',
pure: '#fff',
linear: {
stops: [
{ offset: 0, color: "#fff" },
{ offset: 50, color: "#ff0" },
{ offset: 100, color: "#f0f" },
{ offset: 0, color: '#fff' },
{ offset: 50, color: '#ff0' },
{ offset: 100, color: '#f0f' },
],

@@ -191,9 +191,9 @@ angle: 30,

areaColor: {
type: "linear",
pure: "#fff",
type: 'linear',
pure: '#fff',
linear: {
stops: [
{ offset: 0, color: "#fff" },
{ offset: 50, color: "#ff0" },
{ offset: 100, color: "#f0f" },
{ offset: 0, color: '#fff' },
{ offset: 50, color: '#ff0' },
{ offset: 100, color: '#f0f' },
],

@@ -207,6 +207,6 @@ angle: 30,

show: true,
mode: "double",
inner: { color: "#83C4FF", radius: 3 },
outer: { color: "rgba(24,144,255,0.4)", radius: 6 },
color: "#1283E3",
mode: 'double',
inner: { color: '#83C4FF', radius: 3 },
outer: { color: 'rgba(24,144,255,0.4)', radius: 6 },
color: '#1283E3',
radius: 4,

@@ -226,15 +226,15 @@ };

{
name: "type",
displayName: "类型",
name: 'type',
displayName: '类型',
value: type,
type: "select",
type: 'select',
config: {
options: [
{
name: "实线",
value: "solid",
name: '实线',
value: 'solid',
},
{
name: "虚线",
value: "dash",
name: '虚线',
value: 'dash',
},

@@ -245,28 +245,28 @@ ],

{
name: "color",
displayName: "颜色",
name: 'color',
displayName: '颜色',
value: color,
type: "color",
type: 'color',
},
{
name: "lineWidth",
displayName: "粗细",
name: 'lineWidth',
displayName: '粗细',
value: lineWidth,
type: "input",
type: 'input',
config: {
suffix: "px",
suffix: 'px',
},
},
{
name: "curve",
displayName: "曲线",
name: 'curve',
displayName: '曲线',
value: curve,
type: "boolean",
type: 'boolean',
},
{
rule: [["curve", "$eq", true]],
name: "tension",
displayName: "曲线张力",
rule: [['curve', '$eq', true]],
name: 'tension',
displayName: '曲线张力',
value: tension,
type: "range",
type: 'range',
config: {

@@ -279,6 +279,6 @@ min: 0,

{
name: "connectNulls",
displayName: "null值连接",
name: 'connectNulls',
displayName: 'null值连接',
value: connectNulls,
type: "boolean",
type: 'boolean',
},

@@ -296,38 +296,38 @@ ];

) => ({
name: "lighter",
displayName: "光效",
name: 'lighter',
displayName: '光效',
value: [
{
name: "show",
displayName: "显示",
name: 'show',
displayName: '显示',
value: show,
type: "boolean",
type: 'boolean',
},
{
rule: [["show", "$eq", true]],
name: "fill",
displayName: "颜色",
type: "multicolor",
rule: [['show', '$eq', true]],
name: 'fill',
displayName: '颜色',
type: 'multicolor',
value: fill,
},
{
rule: [["show", "$eq", true]],
name: "length",
displayName: "长度",
rule: [['show', '$eq', true]],
name: 'length',
displayName: '长度',
value: length,
type: "number",
type: 'number',
},
{
rule: [["show", "$eq", true]],
name: "width",
displayName: "宽度",
rule: [['show', '$eq', true]],
name: 'width',
displayName: '宽度',
value: width,
type: "number",
type: 'number',
},
{
rule: [["show", "$eq", true]],
name: "unitStep",
displayName: "速度",
rule: [['show', '$eq', true]],
name: 'unitStep',
displayName: '速度',
value: unitStep,
type: "number",
type: 'number',
},

@@ -351,26 +351,26 @@ ],

} = defaultIcon) => ({
name: "icon",
displayName: "数据标记",
name: 'icon',
displayName: '数据标记',
value: [
{
name: "show",
displayName: "显示",
name: 'show',
displayName: '显示',
value: show,
type: "boolean",
type: 'boolean',
},
{
rule: [["show", "$eq", true]],
name: "mode",
displayName: "模式",
rule: [['show', '$eq', true]],
name: 'mode',
displayName: '模式',
value: mode,
type: "select",
type: 'select',
config: {
options: [
{
name: "单圆",
value: "single",
name: '单圆',
value: 'single',
},
{
name: "双圆",
value: "double",
name: '双圆',
value: 'double',
},

@@ -382,22 +382,22 @@ ],

rule: [
["show", "$eq", true],
["mode", "$eq", "double"],
['show', '$eq', true],
['mode', '$eq', 'double'],
],
name: "inner",
displayName: "内圆",
name: 'inner',
displayName: '内圆',
value: [
{
name: "color",
displayName: "颜色",
name: 'color',
displayName: '颜色',
value: innerColor,
type: "color",
type: 'color',
},
{
name: "radius",
displayName: "半径",
name: 'radius',
displayName: '半径',
value: innerRadius,
type: "number",
type: 'number',
config: {
min: 0,
suffix: "px",
suffix: 'px',
},

@@ -409,22 +409,22 @@ },

rule: [
["show", "$eq", true],
["mode", "$eq", "double"],
['show', '$eq', true],
['mode', '$eq', 'double'],
],
name: "outer",
displayName: "外圆",
name: 'outer',
displayName: '外圆',
value: [
{
name: "color",
displayName: "颜色",
name: 'color',
displayName: '颜色',
value: outerColor,
type: "color",
type: 'color',
},
{
name: "radius",
displayName: "半径",
name: 'radius',
displayName: '半径',
value: outerRadius,
type: "number",
type: 'number',
config: {
min: 0,
suffix: "px",
suffix: 'px',
},

@@ -436,22 +436,22 @@ },

rule: [
["show", "$eq", true],
["mode", "$eq", "single"],
['show', '$eq', true],
['mode', '$eq', 'single'],
],
name: "color",
displayName: "颜色",
name: 'color',
displayName: '颜色',
value: color,
type: "color",
type: 'color',
},
{
rule: [
["show", "$eq", true],
["mode", "$eq", "single"],
['show', '$eq', true],
['mode', '$eq', 'single'],
],
name: "radius",
displayName: "半径",
name: 'radius',
displayName: '半径',
value: radius,
type: "number",
type: 'number',
config: {
min: 0,
suffix: "px",
suffix: 'px',
},

@@ -462,3 +462,3 @@ },

export const lineSeries = (
name = Math.random() + "",
name = Math.random() + '',
{

@@ -476,14 +476,14 @@ mapping: {

name,
displayName: "系列",
displayName: '系列',
value: [
mapping({ fieldName, displayName }),
{
name: "yOrZ",
displayName: "纵轴选择",
name: 'yOrZ',
displayName: '纵轴选择',
value: yOrZ,
type: "select",
type: 'select',
config: {
options: [
{ name: "Y轴", value: "y" },
{ name: "Z轴", value: "z" },
{ name: 'Y轴', value: 'y' },
{ name: 'Z轴', value: 'z' },
],

@@ -493,4 +493,4 @@ },

{
name: "line",
displayName: "折线",
name: 'line',
displayName: '折线',
value: commonLine(line),

@@ -501,7 +501,7 @@ },

],
type: "object",
type: 'object',
});
export const areaSeries = (
name = Math.random() + "",
name = Math.random() + '',
{

@@ -527,14 +527,14 @@ mapping: {

name,
displayName: "系列",
displayName: '系列',
value: [
mapping({ fieldName, displayName }),
{
name: "yOrZ",
displayName: "纵轴选择",
name: 'yOrZ',
displayName: '纵轴选择',
value: yOrZ,
type: "select",
type: 'select',
config: {
options: [
{ name: "Y轴", value: "y" },
{ name: "Z轴", value: "z" },
{ name: 'Y轴', value: 'y' },
{ name: 'Z轴', value: 'z' },
],

@@ -544,10 +544,10 @@ },

{
name: "areaColor",
displayName: "区域颜色",
type: "multicolor",
name: 'areaColor',
displayName: '区域颜色',
type: 'multicolor',
value: areaColor,
},
{
name: "line",
displayName: "折线",
name: 'line',
displayName: '折线',
value: [

@@ -567,3 +567,3 @@ ...commonLine({

],
type: "object",
type: 'object',
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc