score:19
Accepted answer
Highcharts Error #14 clearly says
String value sent to series.data, expected Number his happens if you pass in a string as a data point
data point is the yValue, if your serie.data
is of the form
[y1,y2,y2]
or
[[x1,y1],[x2,y2],[x3,y3]]
or
[
{ x : x1 ,y : y1 },
{ x : x2 ,y : y2 },
{ x : x3 ,y : y3 }
]
In any of the above forms the type of data stored in y1
,y2
& y3
should be numeric. You can achieve this my simply using the parseFloat()
or parseInt()
in javascript
var serie1 = usage_data.map( function(e) {
return [e.gateway, parseFloat(e.val)];
});
or do it in the server technology that you are using
In (PHP 4 >= 4.2.0, PHP 5) floatval()
can be used
$float_value_of_var = floatval("123.456");
Source: stackoverflow.com
Related Query
- Highcharts returning error 14
- HighCharts Stock Chart error code 18
- Angular highcharts is returning error trying to draw a histogram
- Error: Data source must be a URL for refresh | console error | javascript | Highcharts
- Highcharts returning error #15
- Highcharts returning error 15 but the graph is correct?
- How can I fix Highcharts error #13?
- Highcharts Error #16: charts not showing on the same page
- Getting error while using highcharts in Angular 7
- highcharts always console error ablout bubble_compiled.js?
- Highcharts error 15
- JavaScript error when using Highcharts
- Highcharts is not defined. Error log in console
- jquery calling highcharts generating error 17
- highcharts organization chart is throwing error when loading module
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- HighCharts error #18: Requested Axis Does not exist
- Highcharts - Global configuration with common code and unique data & Headings
- creating a bar chart using Highcharts with React - getting an error that rendering div isn't found
- Highcharts error #13: www.highcharts.com/errors/13 how to solve this error
- Getting "Highcharts error #17" when creating histogram (using Highcharts with Angular 6)
- Issues using highcharts node export server from ClojureScript - "0x03 error when performing chart generation"
- Highcharts & tooltip error
- Highcharts error 13, but rendering Div exists
- Error while adding and removing plotLine on highcharts
- How to improve performance of Highcharts and avoid error 15 inspite of sorted data?
- highcharts export server js script error codes
- highcharts change rendered image source on click
- highcharts - error when updating a series to have less categories than previously
- c# WPF Webbrowser with Highchart, Javascript from external source not working "An error has occurred in the script on this page"
More Query from same tag
- Create a heatmap using Yii2 highcharts widget
- highstock strange behavior scrollbar
- Changing barchart dynamically using dropdown
- How to make the legend come in the image in highcharts?
- ReactJs HighCharts toggle table and chart not updating
- How to dd shadow to highchart bars
- How to Get Highcharts Sparkline to Show Up On My Page.
- Highchart in ASP MVC page load not working properly
- Highcharts - Can't run example
- Highcharts : Wordcloud doesnt show words with less weight
- How does 'endOnTick' work in Highcharts?
- Highstock tooltip formatter if using split : true
- Highcharts zoom on 2 charts - Reset zoom issue
- highcharts crosshairs wont work
- how to display the date at X axis and other column at y axis in highcharts
- Highchart's y axis overlay with another
- Putting the Z-Coordinate in the Highcharts Tooltip
- Make lines thicker in bar chart
- Grouped and stacked columns with shared series
- Highcharts Maps Drilldown Map From geojson
- How can I fix Highcharts error #13?
- Highstock mouseover data window
- Highcharts legend unfold and expand
- How to display content $scope in HighCharts?
- Change highlight behavior in Highcharts
- HighCharts: Annotation on X axis?
- How to build chart in highchart.js where xAxis(miliseconds) and yAxis(days)?
- How to put highcharts symbols on xAxis formatter?
- How to add Modal pop up on nodes of org chart Highcharts
- How to create a highchart using mysql data (PHP)?