HighCharts去除图表右下角的highcharts.com链接
来源:互联网 发布:朗文字典 mac 编辑:程序博客网 时间:2024/05/21 17:31
在使用highcharts绘制图表的时候,你是否在困扰一个问题,那就是图表右下角有highcharts官方地址链接,这无疑给你的项目带来不美观,使用不舒服,可以通过下面的方法进行修改。
修改highcharts.js文件,搜索“credits”, 将“enabled”改为“disabled”或者将“text”内容设置为空也可以是自己的链接
<p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px; text-indent: 21pt;">credits: </p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px;"></p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px; text-indent: 21pt;"> {</p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px;"></p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px; text-indent: 21pt;"> enabled : false</p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px;"></p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px; text-indent: 21pt;"> }</p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px;"></p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px; text-indent: 21pt;">credits:</p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px;"></p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px; text-indent: 21pt;">{</p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px;"></p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px; text-indent: 21pt;"> enabled: true,</p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px;"></p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px; text-indent: 21pt;"> href :”<a target=_blank href="http://blog.csdn.net/stephen_0310" style="color: rgb(255, 153, 0); text-decoration: none;">http://blog.csdn.net/</a>zapperbot”,</p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px;"></p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 14px; line-height: 26px; text-indent: 21pt;"><span style="font-family: Arial;"> text : “</span><span style="font-family:宋体;">zapperbot</span><span style="font-family:Arial;">“</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px;"></p><p style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-family: Arial; font-size: 14px; line-height: 26px; text-indent: 21pt;">}</p>
0 0
- HighCharts去除图表右下角的highcharts.com链接
- Highcharts JS去除Highcharts.com链接和print按钮
- 使用highcharts 去掉图表中官网的链接
- [highCharts入门]去除图表链接以及print download(导出,下载)
- Highcharts图表的setCategories
- higncharts 去掉Highcharts.com链接
- higncharts 去掉Highcharts.com链接
- HighCharts图表
- highcharts 图表中的“highcharts.com.cn”标签隐藏
- Highcharts:非常漂亮的图表
- highCharts图表插件的使用
- Highcharts图表的注解功能
- 基于Highcharts的图表绘制
- Highcharts的credits配置:去掉或修改“Highcharts.com”链接标签
- 去掉highcharts右下角默认的网站url
- highcharts去掉右下角highchart.com和右上角的打印及导出按钮
- jspdf + highcharts 实现导出存在highcharts图表的html页面
- Highcharts:十分漂亮的图表API
- Android中的选项卡(Tab)使用案例
- hdu 5233 Gunner II
- 关联容器map set
- C++作业第五章
- Swift中文教程(七) 闭包
- HighCharts去除图表右下角的highcharts.com链接
- CF Combination Lock
- Swift中文教程(八) 枚举类型
- Android 不规则封闭区域填充 手指秒变油漆桶
- Linux cp 实现强行覆盖
- Trapping Rain Water
- 独立显卡笔记本 VMware 安装 ubuntu开机启动后卡住不动黑屏 终极解决办法
- 字符串运算
- linux下安装openssh-server