|
|
@@ -247,7 +247,7 @@ function createDonutOption(): echarts.EChartsOption {
|
|
|
function createBarOption(): echarts.EChartsOption {
|
|
|
return {
|
|
|
...ANIMATION,
|
|
|
- grid: { left: 74, right: 18, top: 18, bottom: 10, containLabel: true },
|
|
|
+ grid: { left: 34, right: 18, top: 18, bottom: 0, containLabel: true },
|
|
|
tooltip: createTooltip({ trigger: 'axis', axisPointer: { type: 'shadow' } }),
|
|
|
xAxis: {
|
|
|
type: 'value',
|
|
|
@@ -262,12 +262,12 @@ function createBarOption(): echarts.EChartsOption {
|
|
|
data: expertSeries.map((item) => item.name),
|
|
|
axisLine: { show: false },
|
|
|
axisTick: { show: false },
|
|
|
- axisLabel: { color: '#e02828', fontSize: 11, fontWeight: 700, fontFamily: FONT_FAMILY }
|
|
|
+ axisLabel: { fontSize: 11, fontWeight: 700, fontFamily: FONT_FAMILY }
|
|
|
},
|
|
|
series: [
|
|
|
{
|
|
|
type: 'bar',
|
|
|
- data: expertSeries.map((item) => item.value),
|
|
|
+ data: expertSeries.map((item) => item.value).reverse(),
|
|
|
barWidth: 14,
|
|
|
itemStyle: {
|
|
|
borderRadius: [0, 10, 10, 0],
|
|
|
@@ -292,7 +292,7 @@ function createLineOption(): echarts.EChartsOption {
|
|
|
const series = budgetSeries[period.value]
|
|
|
return {
|
|
|
...ANIMATION,
|
|
|
- grid: { left: 42, right: 18, top: 22, bottom: 24, containLabel: true },
|
|
|
+ grid: { left: 22, right: 18, top: 22, bottom: 0, containLabel: true },
|
|
|
tooltip: createTooltip({ trigger: 'axis' }),
|
|
|
xAxis: {
|
|
|
type: 'category',
|