add legend
This commit is contained in:
parent
7dffc56fb6
commit
8d15e072a1
@ -102,9 +102,17 @@
|
||||
title: {
|
||||
text: null,
|
||||
},
|
||||
|
||||
legend: {
|
||||
enabled: false,
|
||||
enabled: true,
|
||||
align: "left", // Positions legend at the left edge
|
||||
verticalAlign: "top", // Positions legend at the top
|
||||
layout: "horizontal", // Align items horizontally (use 'vertical' if preferred)
|
||||
itemStyle: {
|
||||
color: $mode === "light" ? "black" : "white",
|
||||
},
|
||||
symbolWidth: 16, // Controls the width of the legend symbol
|
||||
symbolRadius: 8, // Creates circular symbols (adjust radius as needed)
|
||||
squareSymbol: false, // Ensures symbols are circular, not square
|
||||
},
|
||||
credits: {
|
||||
enabled: false,
|
||||
|
||||
@ -267,7 +267,16 @@
|
||||
},
|
||||
|
||||
legend: {
|
||||
enabled: false,
|
||||
enabled: true,
|
||||
align: "left", // Positions legend at the left edge
|
||||
verticalAlign: "top", // Positions legend at the top
|
||||
layout: "horizontal", // Align items horizontally (use 'vertical' if preferred)
|
||||
itemStyle: {
|
||||
color: $mode === "light" ? "black" : "white",
|
||||
},
|
||||
symbolWidth: 16, // Controls the width of the legend symbol
|
||||
symbolRadius: 8, // Creates circular symbols (adjust radius as needed)
|
||||
squareSymbol: false, // Ensures symbols are circular, not square
|
||||
},
|
||||
credits: {
|
||||
enabled: false,
|
||||
|
||||
@ -292,7 +292,16 @@
|
||||
},
|
||||
|
||||
legend: {
|
||||
enabled: false,
|
||||
enabled: true,
|
||||
align: "left", // Positions legend at the left edge
|
||||
verticalAlign: "top", // Positions legend at the top
|
||||
layout: "horizontal", // Align items horizontally (use 'vertical' if preferred)
|
||||
itemStyle: {
|
||||
color: $mode === "light" ? "black" : "white",
|
||||
},
|
||||
symbolWidth: 16, // Controls the width of the legend symbol
|
||||
symbolRadius: 8, // Creates circular symbols (adjust radius as needed)
|
||||
squareSymbol: false, // Ensures symbols are circular, not square
|
||||
},
|
||||
credits: {
|
||||
enabled: false,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user