score:1
Accepted answer
To highlight the labels in the timeline series you can add this code to the chart load event:
chart: {
type: 'timeline',
events: {
load: function() {
var chart = this;
chart.series[0].points.forEach(function(point) {
point.dataLabel.on('mouseover', function() {
point.dataLabel.box.css({
fill: 'red'
});
});
point.dataLabel.on('mouseout', function() {
point.dataLabel.box.css({
fill: 'white'
});
});
});
}
}
}
Demo:
API reference:
score:0
There is states option available, where you can set the color of bar on hover state
for more info follow the link below
https://api.highcharts.com/highcharts/plotOptions.column.states.hover.color
check Demo here
JS:
Highcharts.chart('container', {
plotOptions: {
series: {
shadow: true
}
},
series: [{
data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4],
type: 'column',
states: {
hover: {
color: '#FF0000',
borderColor: '#FF0000'
}
}
}]
});
Source: stackoverflow.com
Related Query
- How can I focus or change label color on mouse-hover in Timeline Highchart?
- How to set series-label to false by default and change the color of series label text in highchart
- how to change bar hover color of highchart dynamically?
- How can I faded label in Highchart Timeline if it's not selected?
- Highchart - change color of one x-axis label only
- Can color of data label be different inside and outside of the bar in Highchart
- How to change series legend text color in HighChart chart?
- How to change Highcharts xAxis label color individually?
- Highcharts, how to change hover bg color for series with multiple columns (categories)
- How to Change Highchart Column Color Dynamicly
- how to change color of line chart in highchart based on a categorical column in r?
- How can I put custom color in High Charts PIE data | Slice and want to change slice text
- How can I change the color of legend points?
- How can I change the color of the selected point in Highcharts?
- How Can we display blocked area for particular timeline in horizontal bar in gantt highchart
- How to change HighChart xAxis timeline to match local time and not UTC?
- How to change the Highchart plotline color for theme
- HighChart type = area hover color change at several points
- How to change rCharts Highchart Color based on Factor Variable
- How to change color on the Highchart Sparkline line only?
- How we can format the box size of timeline highchart
- How to stop Highmaps on mouse hover to change SVG path orders
- How can I change the background color of horizontal bar if date value is less than to current date?
- How can I have same hover point color in highcharts?
- How can i change the color of a tile which was clicked of a treemap in highcharts using react
- how to disable the color change on mousehover in sankeycharts Highchart . { hover: {color: '#a4edba',opacity: 1,filter: {type: 'none',}}} didnt work
- How to change the label color of Y-Axis on click in angular Gantt chart High Chart
- How can I change a Highcharts bar color based on a third field?
- Highchart spline Cut Off when reach to maximum scale value. How can it fixed?. I have attached may sample code on body
- How to change default line color in highchart stock GUI tools?
More Query from same tag
- How to get work range selector with Highcharts with a function?
- How to hide only the regressions
- Highcharts Date.UTC does not work properly for real data
- Highchart Data is not supporting
- highcharts: issues
- Reset yAxis Min and Max on drilldown
- HighCharts - How to set a max value of 100%
- Highcharts gantt or any chart x-axis scroll position to be at the start/left side on loading chart
- Stacked highcharts on the same graph, with a new y axis each time?
- High charts bar chart label overlaps with the graph when labels are long
- Change zIndex in HighChart
- highcharts stacked area
- highcharter custom animation
- GWT Highcharts : Displaying 'Date' values on X-Axis
- How to make Highchart fill the whole bootstrap window?
- How to change the X and Y axis names of Pie chart High Chart?
- HighCharts - how to set labels font color for printing?
- Set distance between labels and chart in Highcharts
- set series driildown data with looping from array
- Highcharts: Dynamically update dataLabels in synchronization with setData
- Plotting line in linechart according to specific math formula
- Stacked area in Highcharts make my series fading in and fading out
- Change style for a specific tick in highcharts
- Highchart graph retrieve data from json url
- Stacked bar chart colors in case of Drilldown (open on click of Line chart)
- Highcharts y-axis units on top
- Highcharts Stacked Area Data
- Highstock no rangeSelector appear with async loading
- When calling an AJAX post request to rails db, the return data is a list of generic objects
- How to load data to highcharts from ajax?