score:2
Accepted answer
The xAxis categories for the first xAxis for the first chart can be returned with
Highcharts.charts[0].xAxis[0].categories
Here's a real quick and dirty function that given a location and month will alert the y data value:
getSpecificData = function(location, month){
var chart = Highcharts.charts[0];
for (var i = 0; i < chart.series.length; i++) {
if (chart.series[i].name == location){
for (var j = 0; j < chart.series[i].points.length; j++){
if (chart.series[i].points[j].category == month){
alert(chart.series[i].points[j].y);
}
}
}
}
}
See this fiddle.
Source: stackoverflow.com
Related Query
- Get categories name of basic column chart
- How get data name in Highcharts pie chart legend instead of "Slice" using array of values?
- High chart - Column Range Chart with Time range. How to get tooltip as Start and End time
- Highcharts: get category name on column click
- Updating basic column high chart
- Get the end points of each bar in a highcharts column chart
- maxPointWidth causing more gaps for bars within each x point, in basic Column chart
- Get highcharts chart column position
- Column chart with negative values and categories on xAxis in HighCharts
- Highcharts: basic column chart not showing correct color
- HighCharts onClick get column data on Stacked Column Chart
- HighCharts basic bar chart provide the xAxis categories with Series
- How can I get HighCharts column chart to scale the yAxis to not have so much whitespace?
- Configuring Data Table from Highcharts Basic Column Chart
- Highcharts basic line chart - Y-axis label name
- How to add different series data for each categories in Stacked Column chart in Highcharts?
- highchart get each drilldown categories name on click event
- How to get different colors for every column in a stacked column chart
- trouble with categories on highcharts column chart
- Maximum number of categories in a Basic Bar chart
- line and column chart in grouped categories in highcharts
- highchart : Add the series name on the column chart
- sorting categories in a highcharter stacked column chart
- Using highchart to get a series of a series in a column chart
- Drilldown in grouped column chart with categories
- Change Highchart's pie chart .xls file category column name
- Javascript Highcharts cannot get the name of the click column in the onclick event
- Combining categories for column chart with Highcharts
- How to get column chart in angular using highcharts using dynamic data
- Trying to update name and date in a highcharts column chart
More Query from same tag
- Execute function after zoom highcharts
- Problems implementing synchronized plotline and tooltips for highcharts
- How to move Y axis on highchart
- Is it possible to have two Y Axis in a highstock chart from highcharts one on the left and another on the right?
- HighCharts: How to include text event to the left of chart when exporting
- Resize chart and navigator
- multiple Drilldown in Highcharts using values from database in ruby on rails
- Strange character in the Highstock source code
- Move label above bar
- custom periods value is not taking for linear indicator in highcharts
- Rails - speed and time
- Highcharts stacked column ommit smaller values
- Rendering Highcharts Chart in Two Container
- Assign colour to specific data in Highcharts depending on data type dynamically
- Highcharts date tick position hiding removing
- Highcharts, export/copy image to clipboard
- Locating the legend in Release Burndown Chart Code
- How to add separate annotation style tooltip for Highcharts marker?
- Draw Pie HighCharts from json value,
- How to use HighCharts dart library in Flutter app?
- Line and column combo chart with multiple columns for each category, how to position line marker for each category on a specific column?
- Highchart basic bar : How to know which specific bar section is clicked?
- high charts - how do I get a stacked graph to the full width?
- Highcharts: Show tooltip on legend hover
- react-highcarts using es6 getting some errors
- Updating column zIndex on legendItem mouseover/mouseout in Highcharts
- Difference between HTML5/JavaScript and jQuery based chart libraries
- How to set tooltip background as point color for split chart in Highcharts?
- Highcharts Navigator Zoom
- React-highcharts scrollbar feature not working