score:0
Accepted answer
highcharts expects a certain structure for the values/names in a point.
see series.data in the api where you can find the following structure:
data: [{
x: 1,
y: 10,
name: "point2",
color: "#00ff00"
}, {
x: 1,
y: 6,
name: "point1",
color: "#ff00ff"
}]
so if you change your point buildup to:
var myitem = {
y: result[i].numberofkittens,
x: result[i].timeofbirth,
name: result[i].mummykittenname
};
highchartdata.push(myitem);
it should work.
then you will need to format the tooltip to your liking, see highcharts api on tooltips. where this is the key takeaway:
this.point (not shared) / this.points[i].point (shared)
the point object. the point name, if defined, is available through this.point.name.
the above is valid for a line graph and most other graphs, however, some graphs take different options for the points.
Source: stackoverflow.com
Related Query
- In highcharts how can I provide data with values x, y, title so that I can put the title in the tooltip?
- How can i change highcharts data values by selecting from a dropdown list
- How can I force ticks/grid lines on a Highcharts datetime X axis to arbitrarily line up with data points?
- How can I get a data label in my Highcharts Pie Chart that is a font-awesome icon?
- How can I put xAxis in highcharts starting in the horizontal line when all values are in 0?
- How to have multiple highcharts with different series data in vuejs without repeating code
- how do you create custom buttons with highcharts that each data buttons calls anather php script for its data
- How can I graph two sensor data values with Highcharts?
- How can I put text within horizontal bar chart data points using Highcharts as well as adding text underneath each data point? Example below:
- How can i use double click in Highcharts and get that data
- How to structure Angular with Highcharts and lots of dynamic data
- Highcharts How to get decimal point values on y-axis with big numbers
- Highcharts - Global configuration with common code and unique data & Headings
- How to populate a Highcharts axis with string formatted data from a PHP array
- How to handle HighCharts zooming with large data sets
- How can i get the json data with the specific between Year?
- How to Build a Column Chart in Highcharts with Data Entered Dynamically Within a CMS
- How can I make a graph with highcharts from csv file?
- How to input plot data into highcharts with rails
- How can I align gridlines with dots in Highcharts
- How to align Highcharts datetime x-axis with data I pass to it?
- HighCharts & MVC: How to load whole graph definition and data with JSON?
- How can I pass values from Highcharts event callbacks (click, mouseOver, mouseOut) back to React component member function?
- How can I deal with Highcharts inline styles to prevent Content-Security-Policy violations?
- How can I update two highcharts with one dropdown menu?
- How can i loop data in highcharts
- How to feed series data that has x axis and y axis values in line highcharts?
- Highcharts loading data from a HTML table with a title
- Highcharts fill map based on data values with React TypeScript
- How to connect null values with dotted lines in highcharts
More Query from same tag
- Highchart value series mapping
- Rails 4 + Filtration of Data on the basis of Day, Week, Month and Year in HighCharts
- Column rang chart is not getting reset when click on legends in highcharts
- Pie-donut using .csv
- How to position tooltip when moving along y-axis?
- Dynamically update tooltip date format highchart
- different tooltip than x-axis category text - highcharts
- Equaling max value in two side of graph in highcharts.js
- Combination highchart graph not working in vue
- Set cell size in Heat Map. Highcharts
- What is the name of the Highcharts type interface that provides series types?
- Highcharts - set yAxis.max to max value from data
- Changing month names of a highchart plot
- Drilldown in grouped column chart with categories
- Issue on Formatting Highcharts.js yAxis Value
- Wkhtmltopdf + Highcart export issue
- Highcharts graph X-axis label for different date ranges
- Make Highcharts' setExtremes off tick with two yAxis
- Not able to go back to original state after drill down in highcharts
- Can I add my own property in 'this' of xAxis labels formatter function in High Charts?
- Highcharts Line Chart Drill down not working properly
- Highchart Polar chart multiple background colors to SVG
- HighCharts. Adding series to yAxis with id
- My highchart not showing the correct time on the x-axis
- Show details in Fancybox with Highcharts
- Plot heatmap from CSV file [Highcharts]
- Drilldown in highmaps - how to remove a series
- Highcharts legend div not rendered and replaced by tspan
- Highcharts yAxis click event
- Pass data in highcharts