Highcharts 异常码

Error #10

对数轴的值不能为 0 或负数

下述情况下会发生这个错误:

  • 在对数坐标轴中出现值为 0 或负数的情况
  • 对数轴的最小值为0 或 小于 0
  • 阀值(threshold)设置为 0 或小于 0

Error #12

数据量超过

This error occurs if the series.data option contains object configurations and the number of points exceeds theturboThreshold. It can be fixed by either setting the turboThreshold option to a higher value, or changing your point configurations to numbers or arrays. See turboThreshold

.

Error #13

图表 div 渲染容器不存在

This error occurs if the chart.renderTo option is misconfigured so that Highcharts is unable to find the HTML element to render the chart in.

Error #14

数据类型错误,需要的是Number类型,传入的却是String

This happens if you pass in a string as a data point, for example in a setup like this:

series: [{data: ["3", "5", "1", "6"]
}]

Highcharts expects the data values to be numbers. The most common reason for this is that data is parsed from CSV or from a XML source, and the implementer forgot to run parseFloat on the parsed value.

For performance reasons internal type casting is not performed, and only the first value is checked (since 2.3).

Error #15

未排序的数据

This happens when you are trying to create a line series or a stock chart where the data is not sorted in ascending X order. For performance reasons, Highcharts does not sort the data, instead it is required that the implementer pre-sorts the data.

Error #16

Highcharts 重复定义

This error happens the second time Highcharts or Highstock is loaded in the same page, so the Highcharts namespace is already defined. Keep in mind that the Highcharts.Chart constructor and all features of Highcharts are included in Highstock, so if you are running Chart and StockChart in combination, you only need to load the highstock.js file.

Error #17

指定的数据列类型不存在

This error happens when you are setting chart.type or series.type to a series type that isn't defined in Highcharts. A typical reason may be that your are missing the extension file where the series type is defined, for example in order to run anarearange series you need to load the highcharts-more.js file.

Error #18

指定的数轴不存在

This error happens when you set a series' xAxis or yAxis property to point to an axis that does not exist.

Error #19

坐标轴间隔过多

This error happens when you try to apply too many ticks to an axis, specifically when you add more ticks than the axis pixel length. In practice, it doesn't make sense to add ticks so densely that they can't be distinguished from each other. One cause of the error may be that you set a tickInterval that is too small for the data value range. In general,tickPixelInterval is a better option, as it will handle this automatically. Another case is if you try to set categories on a datetime axis, which will result in Highcharts trying to add one tick on every millisecond since 1970.

Error #20

Can't add object point configuration to a long data series

In Highstock, if you try to add a point using the object literal configuration syntax, it works only when the number of data points is below the series' turboThreshold. Instead of the object syntax, use the Array syntax.

转载: http://www.hcharts.cn/resource/errors.php

Highcharts 异常码相关推荐

  1. 微信公众号开发异常码及异常原因

    详情可参考:https://developers.weixin.qq.com/doc/offiaccount/Getting_Started/Global_Return_Code.html -1 系统 ...

  2. mysql 异常码1903_Mysql 异常。 寻求帮助

    2007-04-28 10:54:29,415 INFO  [STDOUT] Hibernate:updateCHANNELSsetIS_DOWNLOADING=?, LAST_UPDATED=now ...

  3. ssm 异常捕获 统一处理_SpringMVC 统一异常处理介绍及实战

    背景 什么是统一异常处理 目标 统一异常处理实战 用 Assert(断言) 替换 throw exception 定义统一异常处理器类 扩展 总结 <Java 2019 超神之路> < ...

  4. 为什么不建议用try catch处理异常?

    欢迎关注方志朋的博客,回复"666"获面试宝典 背景 软件开发过程中,不可避免的是需要处理各种异常,就我自己来说,至少有一半以上的时间都是在处理各种异常情况,所以代码中就会出现大量 ...

  5. ssm 异常捕获 统一处理_统一异常处理介绍及实战

    作者:sprinkle_lizhttp://www.jianshu.com/p/3f3d9e8d1efa 推荐阅读(点击即可跳转阅读) 1. SpringBoot内容聚合 2. 面试题内容聚合 3. ...

  6. 异常和异常处理(windows平台)

    [翻译]异常和异常处理(windows平台) 翻译的不好,莫怪. 原文地址: http://crashrpt.sourceforge.net/docs/html/exception_handling. ...

  7. apache dubbo 自定义全局统一的异常处理器

    项目使用过的是apache dubbo 2.7.1, 封装了自定义全局统一的异常处理器. 统一异常处理器 需要实现javax.ws.rs.ext.ExceptionMapper接口. import o ...

  8. 【springboot异常处理】用异常信息枚举类处理异常,使用自定义异常封装异常对象,返回统一异常处理结果

    1.目录: 异常信息枚举类 自定义异常类 自定义响应数据 全局异常处理类 测试 总结 异常信息枚举类 由于在业务中,有很多异常,针对不同的业务,可能给出的提示信息不同,所以为了方便项目异常信息管理,我 ...

  9. ssm 异常捕获 统一处理_统一异常处理介绍及实战,看这篇就对了

    点击上方 "程序员小乐"关注, 星标或置顶一起成长 每天凌晨00点00分, 第一时间与你相约 每日英文 Don't let anyone steal your dreams. Fo ...

最新文章

  1. 基于Hash的消息认证码HMAC简介及在OpenSSL中使用举例
  2. 计算机专业PhD申请文书范文,美国留学博士申请文书怎么写之范文分享
  3. 忍不住还是装了一下Windows Vista
  4. POJ2349二分+并查集,类似最小树的贪心
  5. NavReady的使用
  6. Google传奇Jeff Dean最新演讲:如何构建未来的机器学习芯片
  7. 安装EXSI遇到No Network Adapters的解决方案
  8. 9.霍夫变换:圆——圆的算法、投票使用技巧、优点和缺点_2
  9. fib函数用python编写求第n项_第6章函数-4 使用函数输出指定范围内Fibonacci数的个数|简明python教程|python入门|python教程...
  10. 67. 可伸缩的 Comet
  11. VMware安装linux系统镜像教程
  12. 嵌入式linux/鸿蒙开发板(IMX6ULL)开发(九)第一个程序背后的C语言知识
  13. 分频器+计数器+数码管显示VHDL
  14. 微信开通检测 检测号码是否开通微信
  15. DTCMS 栏目调用方法
  16. 【转】解决win10系统每次重启桌面图标排列混乱的问题!亲测有效!!
  17. 为什么使用高匿代理IP会被检测出许多问题,都有哪些问题呢?
  18. 系列九、vue中css样式字体设置为华文行楷
  19. 免费PDF转JPG的开源软件
  20. 【Photoshop】把同一场景中但焦点不一样的多张照片合成一张焦点清晰的图片

热门文章

  1. 解决VS编译器运行闪退的三个方法
  2. 渗透测试中的学习总结
  3. 你知道Java中的JCP, JEP, JLS, JSR是什么意思吗?
  4. 服务器虚拟化win游戏,X86服务器虚拟化技术CNware-WinServer
  5. 考软考的软件评测师看什么教材好?
  6. jar包修改并重新打包,jar包反编译使用工具以及修改代码方法
  7. 基于Android的手机导航系统设计与实现
  8. Xcap安装和简单使用
  9. 边缘节点的需求分析和核心技术研究
  10. android ajax提交图片,ajaxFileUpload上传图片