简体   繁体   English

更改 JVectorMap 图例位置

[英]Change the JVectorMap legend position

I need to change the position of JVectorMap legend box.我需要更改 JVectorMap 图例框的位置。

Anybody know how to change legend box to left botton position?有人知道如何将图例框更改为左按钮位置吗?

Regards问候

I solved this problem using CSS styles.我使用 CSS 样式解决了这个问题。

.jvectormap-legend-cnt-v{
    bottom: 0;
    left: 0;
    right: auto;
    top: auto;
}

And

.jvectormap-legend-cnt-h{
   left: 0;
   right: auto;
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM