score:1
Accepted answer
if you remove space between text and number ,it will work fine
like instead
<th>pears 222</th>
use
<th>pears222</th>
but simillar fiddle is working even with space between string and number , so it could be an issue related to versions
score:0
add the following line to your code:
itemdelimiter: '</th>'
full code would be:
$(function () {
$('#container').highcharts({
data: {
table: 'datatable',
itemdelimiter:'</th>'
},
chart: {
type: 'column'
},
title: {
text: 'data extracted from a html table in the page'
},
yaxis: {
allowdecimals: false,
title: {
text: 'units'
}
},
tooltip: {
formatter: function () {
return '<b>' + this.series.name + '</b><br/>' +
this.point.y + ' ' + this.point.name.tolowercase();
}
}
});
});
Source: stackoverflow.com
Related Query
- Highcharts if title contains number it shows invalid data
- Find number of data points in each series in highcharts
- Highcharts - Global configuration with common code and unique data & Headings
- Highcharts shows data but can't display chart
- Highcharts exporting hide data labels if number doesn't fit in stacked bar
- Highcharts loading data from a HTML table with a title
- Highcharts Heatmap background color when invalid data
- Highcharts display label for pie chart using html table as data source
- Include additional highcharts source data in angular2 app
- Highcharts how to make a set number of colors for pie chart data and drilldown data
- In highcharts how can I provide data with values x, y, title so that I can put the title in the tooltip?
- Highcharts series visibility with csv data source
- HTML table as data source for highstock charts using highcharts
- Invalid dates in Highcharts with data loaded by JSON
- Reduce the number of data points on X axis in highcharts
- How to have multiple highcharts with different series data in vuejs without repeating code
- Using a flask variable as data source for highcharts
- Error: Data source must be a URL for refresh | console error | javascript | Highcharts
- Highcharts cloud issue with data source when duplicating chart
- HighCharts Bubble graph JSON as data source
- Use HTML class as Highcharts table data source
- Use Node.js as data source for highcharts
- how do i link my sqlite(PDO) databse data to highcharts code
- highcharts - pulling data from HTML but converting the strings to number
- Highcharts waterfall chart shows unknown number in one series
- HighCharts - When I download csv, can I switch data source to new one?
- Only my title shows when using highcharts with php and MySql
- Highcharts displays series names but missing data points from json source
- Highcharts graph shows 265 series and no data after update to categories and series
- Set Additional Data to highcharts series
More Query from same tag
- Is there a way to load data into Highstock without the use of PHP?
- highcharts data labels overlaps the plotlines value
- Multiple categories for hc_yAxis
- gem Lazy High Charts - Pie Donut
- How to display a single series total in stackLabels
- Highchart show grid lines on y-axis for every point
- Add clickable link to tooltip in Highcharts Scatter Plot
- Automatic fold/unfold Y-axis break on mouse over
- Make equal distance for bars with different width Highchart
- Last label on xaxis disappears when resize
- How to add new chart(any charts, highcharts or d3 charts) in Serenity admin dashboard
- Highest value of y-axis is not shown
- Highcharts - Stack a full serie (Bar chart)
- highcharts: tooltip shows for spline but not scatter plot
- Highcharts - increment a class name so piechart slices can be uniquely styled in style.css
- HighCharts: Is it possible to remove every other value on the x-axis?
- Highcharts bug with labels
- Highcharts issue in Data spline overlap
- How to add secondary y-axis to highcharts
- dynamic highcharts with json data every 1 second
- Highcharts show/hide datalabel of selected point
- Highcharts: How to plot adjacent scatter points for different box plots
- Highcharts missing bars when running through PhantomJS
- Highchart Z-Index practice not functioning
- highcharts 5.0.14 issue with textOverflow
- Arrows not rotating while viewing in Drupal
- Highcharts piechart is not drawing slices from JSON object
- Erb array not updated after ajax post
- Show labels outside in sunburst highchart
- How to add box shaders to plot Highcharts