change plot color

This commit is contained in:
MuslemRahimi 2024-11-07 19:21:08 +01:00
parent 9a667443c2
commit 9f349627b3
10 changed files with 29 additions and 2 deletions

View File

@ -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
},

View File

@ -81,6 +81,9 @@
data: dividendList,
type: "bar",
smooth: true,
itemStyle: {
color: "#FBCE3C",
},
},
],
};

View File

@ -219,6 +219,9 @@
data: valueList,
type: "bar",
smooth: true,
itemStyle: {
color: "#FBCE3C",
},
},
],
tooltip: {

View File

@ -299,6 +299,9 @@
data: valueList,
type: "bar",
smooth: true,
itemStyle: {
color: "#FBCE3C",
},
},
],
tooltip: {

View File

@ -243,6 +243,9 @@
data: valueList,
type: "bar",
smooth: true,
itemStyle: {
color: "#FBCE3C",
},
},
],
tooltip: {

View File

@ -207,6 +207,9 @@
data: valueList,
type: "bar",
smooth: true,
itemStyle: {
color: "#FBCE3C",
},
},
],
tooltip: {

View File

@ -94,6 +94,9 @@
areaStyle: { opacity: 0.2 },
smooth: true,
symbol: "none",
itemStyle: {
color: "#FBCE3C",
},
},
],
tooltip: {

View File

@ -311,7 +311,7 @@
type: "line",
yAxisIndex: 0,
itemStyle: {
color: "#fff", // Change bar color to white
color: "#FBCE3C",
},
showSymbol: false,
},

View File

@ -93,8 +93,12 @@
data: employeeList,
type: "bar",
smooth: true,
itemStyle: {
color: "#FBCE3C",
},
},
],
tooltip: {
trigger: "axis",
},

View File

@ -294,6 +294,9 @@
areaStyle: { opacity: 0.2 },
smooth: true,
symbol: "none",
itemStyle: {
color: "#FBCE3C",
},
},
],
tooltip: {