score:1
Accepted answer
score:2
Look at this part:
jQuery.each(lines, function(lineNo, line) {
var items = line;
// header line containes categories
if (lineNo == 0) {
jQuery.each(items, function(itemNo, item) {
Do you see the mistake?? You are iterating over a string! You need to split each line. If your values in lines are separated by tabs, then you can simply do:
var items = line.split('\t');
See this jsFiddle.
Source: stackoverflow.com
Related Query
- How can I make a graph with highcharts from csv file?
- How can I create Highcharts Arearange graph from CSV file?
- Highcharts - How to make a scatter plot with multiple series from HTML table
- How to deal in Highcharts with special characters from CSV file?
- How can I make milestone lines with a GANTT chart using the highcharts library?
- How can I make HighCharts 4.2.5 with boost.js invoke the tooltip formatter?
- How can I make Highcharts label a datetime X-axis with relative dates?
- How to show an additional column from CSV file as a tooltip in Highcharts
- Highcharts to display area range and line chart with data from a CSV file
- how to make chart real time with 2 line and get data from php with highcharts
- Export data from highcharts in csv file with dates in milliseconds
- How can I align the scale on my HighCharts graph with the axis rather than the margins?
- How to make multiple Y-axis with incoming series of data from database using Highcharts
- How can I pull only specific columns \ cells from csv in <pre> tag, into highcharts pie chart
- How can I hide series from a HighCharts legend?
- How can I hide a series from initially being displayed in Highcharts
- How can I read an Excel File with JavaScript (without ActiveXObject)
- How to prevent highcharts from shortening labels with ellipsis
- How can I remove the white border from HighCharts pie chart?
- Highcharts - How can I remove starting and ending padding from area chart
- How can I delete all of the points from a highcharts series
- Creating a line graph with highcharts and data in an external csv
- How can i change highcharts data values by selecting from a dropdown list
- How to make a pie chart from highcharts responsive
- Highcharts: How to provide a custom stack label in highcharts bar graph from within the stackLabel formatter?
- How to populate a Highcharts axis with string formatted data from a PHP array
- How to export CSV and XLS with external button in Highcharts
- How do I select which columns from my CSV to chart with HighChart?
- How can I force ticks/grid lines on a Highcharts datetime X axis to arbitrarily line up with data points?
- Highcharts : How do I keep the marker formatting and make the click event fire with a 5K+ point scatter plot?
More Query from same tag
- How to disable a highchart chart completely
- Backbone Model caching and fetching locally
- highcharts single line with arrow arrow
- How to disable click in angular high-chart data points?
- Uncaught TypeError adding chart in markdown using Jekyll
- Highcharts donut customize legend
- Can highcharts heatmap zone pattenObjects respect colors applied by color axis?
- highcharts inner line on bar chart
- Highcharts: TreeMap Select State not working
- Highchart networkgraph and area chart conflict
- How to subtract one month from each month in a Date.UTC Array with jQuery
- Sample onLoad handler?
- Using a plot line comparator in Highcharts
- Highcharts don't render in Internet Explorer 11
- Highcharts datagrouping issue
- Remove underline for Drilldown labels
- Highcharts plot in fancybox
- how to remove extra data point from x-axis in highcharts
- Highcharts tool tip marker color change
- HighCharts: how to update bar color when updating the point value
- Using ModalEditor from highcharts-editor in Angular5
- Highstock - Timeaxis ticks not continuos
- Highcharts: Click to Highlight instead of Hide (= Always show non-selected)
- can you have more than one ajax?
- How to change Highcharts object configuration locally with vue-highcharts?
- Make chart width exclude x axis labels
- Passing data from $ajax call to highcharts
- highstock conflict with jquery.ba-resize.js and jquery.flot.resize.js
- highchart with angular and ionic framework error
- Highcharts Data Point Image