|
@@ -456,9 +456,9 @@ export default { |
|
@@ -456,9 +456,9 @@ export default { |
456
|
const legend = this.options.legend;
|
456
|
const legend = this.options.legend;
|
457
|
legend.show = optionsSetup.isShowLegend;
|
457
|
legend.show = optionsSetup.isShowLegend;
|
458
|
legend.left = optionsSetup.lateralPosition;
|
458
|
legend.left = optionsSetup.lateralPosition;
|
459
|
- legend.top = optionsSetup.longitudinalPosition == "top" ? 20 : "auto";
|
459
|
+ legend.top = optionsSetup.longitudinalPosition == "top" ? optionsSetup.legendHeight : "auto";
|
460
|
legend.bottom =
|
460
|
legend.bottom =
|
461
|
- optionsSetup.longitudinalPosition == "bottom" ? 0 : "auto";
|
461
|
+ optionsSetup.longitudinalPosition == "bottom" ? optionsSetup.legendHeight : "auto";
|
462
|
legend.orient = optionsSetup.layoutFront;
|
462
|
legend.orient = optionsSetup.layoutFront;
|
463
|
legend.textStyle = {
|
463
|
legend.textStyle = {
|
464
|
color: optionsSetup.lengedColor,
|
464
|
color: optionsSetup.lengedColor,
|