Unverified 提交 a5d5b658 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw 提交者: GitHub

Merge pull request #373 from dataease/pr@dev@feat_地图工具栏

feat: 增加地图工具栏
import { hexColorToRGBA } from '@/views/chart/chart/util' // import { hexColorToRGBA } from '@/views/chart/chart/util'
import { componentStyle } from '../common/common' import { componentStyle } from '../common/common'
export function baseMapOption(chart_option, chart) { export function baseMapOption(chart_option, chart) {
...@@ -44,10 +44,10 @@ export function baseMapOption(chart_option, chart) { ...@@ -44,10 +44,10 @@ export function baseMapOption(chart_option, chart) {
value: valueArr[i] value: valueArr[i]
} }
// color // color
y.itemStyle = { // y.itemStyle = {
color: hexColorToRGBA(customAttr.color.colors[i % 9], customAttr.color.alpha), // color: hexColorToRGBA(customAttr.color.colors[i % 9], customAttr.color.alpha),
borderRadius: 0 // borderRadius: 0
} // }
chart_option.series[0].data.push(y) chart_option.series[0].data.push(y)
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论