score:2
Accepted answer
try the code shown below, FIDDLE DEMO
var links = ['link1', 'link2', 'link3'];
var options = {grid: { clickable: true, hoverable: true } };
$.plot($("#placeholder"),data,options);})
$("#placeholder").bind("plotclick", function (event, pos, item) {
if (item) {
//window.location = links[item.dataIndex];
window.open(links[dataIndex, '_blank');
console.log(item);
// here you can write location = "http://your-doamin.com";
}
});
Source: stackoverflow.com
Related Query
- handle click event in bar chart
- Highcharts chart click event fired on click of the reset zoom button (bug?)
- Highcharts : Chart with drilldown how to obtain click event of drill up button
- In high chart how to add event for label click
- Get X Axis value on bar Highchart click event
- How to call typescript function inside High chart click event
- Fire click event on a highchart column drilldown chart on clicking x axis for drill down reports
- HighCharts: How to Determine on Click Event what Data Grouping the Chart is Currently In?
- Click event on bar high charts in angular 2
- HighChart : plot line click event for multiple chart
- Highcharts: How to change or redraw a chart when a click event occurs on an another chart?
- Dynamically set click event on bar from highcharts graph
- Highcharts:add click event on data label for pie chart
- Pass data to click event callback in Highstock chart with more then 1000 entries
- HighCharts. Angular. Redraw Chart with new Series on Event Click
- Highcharts - Getting chart on click event
- Highchart on bar item click event
- High chart on click event listening
- How to use click event on Y-axis label in angular Gantt chart High Chart
- How to handle mousedown event on chart part?
- Updating plotOptions bar color on a click event
- I am using click event to trigger a new page to generate the drill down data from highcharts however the entire chart is being generated
- Event on middle click pie chart slice?
- Chart Title on Chart Click Event
- How to add click event on django-chatit chart
- Highcharts pointer cursor for chart click event
- Click event in drilldown chart - Highcharts
- Donut Chart : Trigger legend or pie click event while selecting outside filter state change
- Stacked bar chart colors in case of Drilldown (open on click of Line chart)
- highcharts line chart with same x value, how to handle click events
More Query from same tag
- Highchart axis 2 decimal places
- using library highcharts with asp.net mvc 3
- Why HighChart hangs browser?
- Is there a way to pass in variable element ID from Highcharts to launch a modal window?
- How to change tick and minorTick color in different interval in highcharts gauge charts
- Highcharts not displaying JSON data
- Getting started with Highmaps tooltips
- High traffic solution for simple data graph website
- Highcharts with Rails 6
- translate event in highcharts
- Plotting a Highcharts Heat map from irregular data
- How to use this highchart map in reactJS
- legend labelFormatter: getting space between name and percentage so they line up
- ObHighchartsBundle: custom and set correctly xAxis with datetime and interval from DQL queries
- HighCharts series Z index
- How to set scrollbar for charts in highcharts.js ?
- Highcharts annotations not working when using boost module
- Set the with of xAxis label to 50% on a Highcharts BarChart
- How to set variable in high chart data field
- Highcharts: Looping JSON into Series Data
- How to add scroll on highcharts multiple drilldown
- highcharts - removing decimal places on Y axis with only one point
- What kind of charts library is being used on this Huffington Post page?
- How to include strings in series data to pull for tooltip point formatting?
- Change placement of "exporting" option
- How to reduce the general size of Highchart
- Is possible to zoom with mouse in Highcharts?
- displaying highchart in button click
- Cannot set Individual Point color in Series for Highstock API, it works for Highchart API
- Label position between series in Highcharts polar chart