change plot color
This commit is contained in:
parent
9a667443c2
commit
9f349627b3
@ -1,6 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { analystEstimateComponent, stockTicker } from "$lib/store";
|
||||
import InfoModal from "$lib/components/InfoModal.svelte";
|
||||
|
||||
import { Chart } from "svelte-echarts";
|
||||
import { init, use } from "echarts/core";
|
||||
@ -163,7 +162,9 @@
|
||||
},
|
||||
lineStyle: {
|
||||
type: "dashed", // Set the line type to dashed
|
||||
color: "#FBCE3C",
|
||||
},
|
||||
|
||||
showSymbol: false, // Show symbols for line plot points
|
||||
},
|
||||
{
|
||||
@ -175,6 +176,7 @@
|
||||
},
|
||||
lineStyle: {
|
||||
type: "dashed", // Set the line type to dashed
|
||||
color: "#FBCE3C",
|
||||
},
|
||||
showSymbol: false, // Show symbols for line plot points
|
||||
},
|
||||
|
||||
@ -81,6 +81,9 @@
|
||||
data: dividendList,
|
||||
type: "bar",
|
||||
smooth: true,
|
||||
itemStyle: {
|
||||
color: "#FBCE3C",
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
@ -219,6 +219,9 @@
|
||||
data: valueList,
|
||||
type: "bar",
|
||||
smooth: true,
|
||||
itemStyle: {
|
||||
color: "#FBCE3C",
|
||||
},
|
||||
},
|
||||
],
|
||||
tooltip: {
|
||||
|
||||
@ -299,6 +299,9 @@
|
||||
data: valueList,
|
||||
type: "bar",
|
||||
smooth: true,
|
||||
itemStyle: {
|
||||
color: "#FBCE3C",
|
||||
},
|
||||
},
|
||||
],
|
||||
tooltip: {
|
||||
|
||||
@ -243,6 +243,9 @@
|
||||
data: valueList,
|
||||
type: "bar",
|
||||
smooth: true,
|
||||
itemStyle: {
|
||||
color: "#FBCE3C",
|
||||
},
|
||||
},
|
||||
],
|
||||
tooltip: {
|
||||
|
||||
@ -207,6 +207,9 @@
|
||||
data: valueList,
|
||||
type: "bar",
|
||||
smooth: true,
|
||||
itemStyle: {
|
||||
color: "#FBCE3C",
|
||||
},
|
||||
},
|
||||
],
|
||||
tooltip: {
|
||||
|
||||
@ -94,6 +94,9 @@
|
||||
areaStyle: { opacity: 0.2 },
|
||||
smooth: true,
|
||||
symbol: "none",
|
||||
itemStyle: {
|
||||
color: "#FBCE3C",
|
||||
},
|
||||
},
|
||||
],
|
||||
tooltip: {
|
||||
|
||||
@ -311,7 +311,7 @@
|
||||
type: "line",
|
||||
yAxisIndex: 0,
|
||||
itemStyle: {
|
||||
color: "#fff", // Change bar color to white
|
||||
color: "#FBCE3C",
|
||||
},
|
||||
showSymbol: false,
|
||||
},
|
||||
|
||||
@ -93,8 +93,12 @@
|
||||
data: employeeList,
|
||||
type: "bar",
|
||||
smooth: true,
|
||||
itemStyle: {
|
||||
color: "#FBCE3C",
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
tooltip: {
|
||||
trigger: "axis",
|
||||
},
|
||||
|
||||
@ -294,6 +294,9 @@
|
||||
areaStyle: { opacity: 0.2 },
|
||||
smooth: true,
|
||||
symbol: "none",
|
||||
itemStyle: {
|
||||
color: "#FBCE3C",
|
||||
},
|
||||
},
|
||||
],
|
||||
tooltip: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user