|
@@ -200,6 +200,7 @@ export default {
|
|
|
option.legend.top = "center";
|
|
|
option.legend.orient = "vertical";
|
|
|
}
|
|
|
+ option.legend.right= cartData.legend_right||"2%"
|
|
|
let max = cartData.max || 4
|
|
|
option.legend.textStyle.rich.name.width = max * 15
|
|
|
option.legend.formatter = function (name) {
|