add legend
This commit is contained in:
parent
7dffc56fb6
commit
8d15e072a1
@ -102,9 +102,17 @@
|
|||||||
title: {
|
title: {
|
||||||
text: null,
|
text: null,
|
||||||
},
|
},
|
||||||
|
|
||||||
legend: {
|
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: {
|
credits: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
|
|||||||
@ -267,7 +267,16 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
legend: {
|
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: {
|
credits: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
|
|||||||
@ -292,7 +292,16 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
legend: {
|
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: {
|
credits: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user