驾驶舱对接

This commit is contained in:
‘937886381’
2024-05-17 10:31:47 +08:00
parent 6f0c8503c6
commit 208af7b565
24 changed files with 676 additions and 393 deletions

View File

@@ -1,19 +1,16 @@
/*
* @Author: zhp
* @Date: 2024-05-07 10:25:10
* @LastEditTime: 2024-05-10 16:10:49
* @LastEditTime: 2024-05-16 13:35:50
* @LastEditors: zhp
* @Description:
*/
export default function ({
single = false,
// single = false,
colors = ['#2760FF', '#5996F7', '#8BC566', '#11FAF0','#F3C000'],
titleValue,
subtitle,
dataList,
previousSum,
currentSum,
targetSum,
}) {
return {
grid: {
@@ -26,7 +23,7 @@ export default function ({
// tooltip: {},
title: {
text: titleValue,
left: "49%",
left: "47%",
top: "39%",
textAlign: "center",
textStyle: {
@@ -50,7 +47,7 @@ export default function ({
{
name: 'Access From',
type: 'pie',
// center: ['50%', '40%'],
center: ['50%', '50%'],
radius: ['50%', '80%'],
avoidLabelOverlap: false,
labelLine: {
@@ -62,7 +59,6 @@ export default function ({
data: dataList && dataList.length > 0 && dataList.map((item, index) => ({
name:item.name,
value: item.value,
itemStyle:{
color:{
type: 'linear',