Highcharts error #14: www.highcharts.com/errors/14
2016-05-04 18:02
337 查看
错误原因:数据类型错误,需要的是Number类型,传入的却是String
以为为官网说明:
Highcharts Error #14
String value sent to series.data, expected Number
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).
作者:itmyhome
以为为官网说明:
Highcharts Error #14
String value sent to series.data, expected Number
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).
作者:itmyhome
相关文章推荐
- Highcharts error #14: www.highcharts.com/errors/14
- Android 使用ORMLite操作数据库
- 计算机基本运算(乘除法)
- IOS8+Appstore应用上线流程
- apache commons io Clirr结果(2016-04-21更新)
- intellj idea 如何设置类头注释和方法注释
- Js apply 方法 详解
- 易生活(三)-web---商品排行和分页综合处理、sql占位符异常处理
- AndroidStudio-无法用真机调试异常-Instant Run requires 'Tools | Android | Enable ADB integration' to be enable
- 第二章 数据操作语句
- jQuery原型方法init的详解
- iOS - 设置Iconfont文字“图标”
- Android Studio 快捷键引包失效问题解决办法
- [学习笔记]C#中使用EmguCv时出现的 “Emgu.CV.CvInvoke”的类型初始值设定项引发异常
- 第一章 数据库语言基础
- OrmLite学习备份
- 线程池与Thread
- 数据科学家能力发展路线图
- java项目开发如何自制java打补丁工具
- java项目开发如何自制java打补丁工具