fix:实体详情 singleValue-2 图表组件开发
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
<div class="content__data" style="height: 20%;">
|
<div class="content__data" style="height: 20%;">
|
||||||
<slot name="data"></slot>
|
<slot name="data"></slot>
|
||||||
</div>
|
</div>
|
||||||
<div class="content__chart" style="width: 90%;height: 40%;">
|
<div class="content__chart" style="height: 40%;">
|
||||||
<slot name="chart"></slot>
|
<slot name="chart"></slot>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -230,7 +230,7 @@ const pieWithTable = {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
const routinestraightline = {
|
const singleValueLine = {
|
||||||
tooltip: {
|
tooltip: {
|
||||||
show: false
|
show: false
|
||||||
},
|
},
|
||||||
@@ -246,7 +246,7 @@ const routinestraightline = {
|
|||||||
grid: {
|
grid: {
|
||||||
left: 0,
|
left: 0,
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
top: 0,
|
top: 5,
|
||||||
right: 0
|
right: 0
|
||||||
},
|
},
|
||||||
color: chartColor,
|
color: chartColor,
|
||||||
@@ -292,7 +292,7 @@ const typeOptionMappings = [
|
|||||||
{ value: 12, option: lineWithStatistics }, // 带统计表格的折线图
|
{ value: 12, option: lineWithStatistics }, // 带统计表格的折线图
|
||||||
{ value: 13, option: lineStack }, // 折线堆叠图
|
{ value: 13, option: lineStack }, // 折线堆叠图
|
||||||
{ value: 31, option: pieWithTable }, // 常规折线图
|
{ value: 31, option: pieWithTable }, // 常规折线图
|
||||||
{ value: 52, option: routinestraightline }
|
{ value: 52, option: singleValueLine }
|
||||||
]
|
]
|
||||||
const typeCategory = {
|
const typeCategory = {
|
||||||
MAP: 'map',
|
MAP: 'map',
|
||||||
|
|||||||
Reference in New Issue
Block a user