Commit b76c2b29 authored by 乐宝呗666's avatar 乐宝呗666

修改图谱色值

parent 6e70cf13
......@@ -86,7 +86,9 @@ export default {
if (vm.idstr === 'lastMonthPerformance' || vm.idstr === 'peopleCenter') {
vm.option.series[0].large = true
vm.option.dataZoom = [{
type: 'inside'
type: 'inside',
startValue: 0,
endValue: 8
}, {
type: 'slider',
fillerColor: '#30DDF4',
......
......@@ -56,7 +56,7 @@ import * as API_KNOWLED from '@/api/sys.knowled.js'
import graphChart from '@/components/echarts/graphChart'
// import knowledgeJSON from '@/assets/js/knowledgeJSON.js'
const colorMap = new Map()
colorMap.set(1, '#8419c7')
colorMap.set(1, '#E23AA2')
colorMap.set(2, '#b9c719')
colorMap.set(3, '#199fc7')
colorMap.set(4, '#4f19c7')
......@@ -85,7 +85,7 @@ export default {
],
colorMap: {
'#30DDF4': null,
'#8419c7': 1,
'#E23AA2': 1,
'#b9c719': 2,
'#199fc7': 3,
'#4f19c7': 4,
......@@ -97,7 +97,7 @@ export default {
knowledData: [],
checked: [1, 2, 3, 4, 5],
checkList: [
{ name: '项目', value: 1, color: '#8419c7' },
{ name: '项目', value: 1, color: '#E23AA2' },
{ name: '销售', value: 2, color: '#b9c719' },
{ name: '商机', value: 3, color: '#199fc7' },
{ name: '客户', value: 4, color: '#4f19c7' },
......
......@@ -48,8 +48,7 @@ export default {
label: '项目'
}, {
value: 2,
label: '销售',
color: '#8419c7'
label: '销售'
}, {
value: 3,
label: '商机'
......@@ -63,7 +62,7 @@ export default {
],
colorMap: {
'#30DDF4': null,
'#8419c7': 1,
'#E23AA2': 1,
'#b9c719': 2,
'#199fc7': 3,
'#4f19c7': 4,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment