mirror of
https://gitee.com/dromara/go-view.git
synced 2025-06-05 05:39:16 +08:00
57 lines
817 B
TypeScript
57 lines
817 B
TypeScript
export const axisConfig = {
|
|
// X轴位置
|
|
xposition: [
|
|
{
|
|
label: '顶部',
|
|
value: 'top'
|
|
},
|
|
{
|
|
label: '底部',
|
|
value: 'bottom'
|
|
}
|
|
],
|
|
// Y轴位置
|
|
yposition: [
|
|
{
|
|
label: '左侧',
|
|
value: 'left'
|
|
},
|
|
{
|
|
label: '右侧',
|
|
value: 'right'
|
|
}
|
|
],
|
|
// 线条
|
|
splitLint: {
|
|
lineStyle: {
|
|
type: [
|
|
{
|
|
label: '实线',
|
|
value: 'solid'
|
|
},
|
|
{
|
|
label: '虚线',
|
|
value: 'dashed'
|
|
},
|
|
{
|
|
label: '点线',
|
|
value: 'dotted'
|
|
}
|
|
]
|
|
}
|
|
},
|
|
// 视觉映射
|
|
visualMap: {
|
|
orient: [
|
|
{
|
|
label: '竖直',
|
|
value: 'vertical'
|
|
},
|
|
{
|
|
label: '水平',
|
|
value: 'horizontal'
|
|
}
|
|
]
|
|
}
|
|
}
|