feat: 新增映射组件颜色配置

This commit is contained in:
奔跑的面条
2022-09-18 16:47:50 +08:00
parent 45737c8f7a
commit 696a363591
3 changed files with 9 additions and 2 deletions
@@ -26,6 +26,7 @@ export const option = {
calculable: true,
orient: 'horizontal',
inRange: {
// 高 -> 低
color: ['#4661c2', '#263253']
}
},
@@ -6,7 +6,7 @@
<script setup lang="ts">
import { PropType, computed } from 'vue'
import { GlobalSetting, CollapseItem, SettingItemBox, SettingItem } from '@/components/Pages/ChartItemSetting'
import { GlobalSetting } from '@/components/Pages/ChartItemSetting'
import { option } from './config'
import { GlobalThemeJsonType } from '@/settings/chartThemes/index'