简体   繁体   English

Highcharts CSS样式在导出上下文按钮中丢失

[英]Highcharts CSS styling missing in exporting context button

why is my context menu icon is missing? 为什么我的上下文菜单图标丢失了? I'm using highcharts exporting library after calling highstock.js. 调用highstock.js之后,我正在使用highcharts导出库。 Is there something missing that I've add in my header file? 我在头文件中添加了一些缺少的东西吗?

上下文菜单“汉堡包”图标丢失

After googling and trying code samples for a good many hours, I finally find this post which describes the exact issue (It seems few people have this issue) and have the correct solution (add the highcharts.css file). 搜寻并尝试了好几个小时的代码示例之后,我终于找到了这篇文章,其中描述了确切的问题(似乎很少有人遇到此问题)并具有正确的解决方案(添加highcharts.css文件)。

The tricky point is that I was thinking highchart does not have that css file included in project but only 3 css files under themes. 棘手的一点是,我当时认为highchart在项目中不包含该CSS文件,而在主题下仅包含3个CSS文件。 What happened was Intellij "intelligently" grouped and collapsed that css file under the highcharts.scss file. 发生的事情是Intellij“智能地”分组并将该css文件折叠到highcharts.scss文件下。

And also all the online demo and documents seem not to include that css file at all. 而且,所有在线演示和文档似乎都根本没有包含该CSS文件。

Sorry I just figured out. 对不起,我只是想通了。 I will required to add highcharts.css file in my header. 我将需要在标题中添加highcharts.css文件。

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

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