Open ulleo opened 1 year ago
可以試試在 plots
裡個別設置 legend
<Mix
plots={[
{
type: "column",
top: true,
options: {
legend: {
position: "top-right",
},
},
},
{
type: "line",
top: true,
options: {
legend: {
position: "top-right",
},
},
},
]}
/>
在这个例子里增加legend的配置不生效 https://g2plot.antv.antgroup.com/zh/examples/plugin/multi-view/#combo-plot
但是在这个没有坐标轴的图里面加legend配置是生效的 https://g2plot.antv.antgroup.com/zh/examples/plugin/multi-view/#composite-funnel