简体   繁体   English

如何在rails上的ruby中配置highcharts的highmap?

[英]how to configure highmaps of highcharts in ruby on rails?

I am trying to use highmaps in ruby on rails where I am trying to use world countries but I couldn't find the world.js file in highchart lib folder 我试图在使用世界国家的滑轨上使用ruby的highmaps,但在highchart lib文件夹中找不到world.js文件

can someone help me how to configure highmaps in ruby on rails 有人可以帮助我如何在Rails中配置ruby高地图

I found worlds js in one of the sample js fiddles, 我在示例js小提琴之一中找到了world js

Have a look here for some more demo examples 在这里看看更多的演示示例

In order to use some map from Highcharts library, you need to attach it in your project. 为了使用Highcharts库中的某些地图,您需要将其附加到项目中。 Here is the link to Highcharts Map Collection: http://code.highcharts.com/mapdata/ and the documentation about how to use it correctly: https://www.highcharts.com/docs/maps/map-collection . 这是指向Highcharts Map Collection的链接: http : //code.highcharts.com/mapdata/以及有关如何正确使用它的文档: https : //www.highcharts.com/docs/maps/map-collection

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

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