score:4
Accepted answer
you can reach the datalabel
via this.datalabel
within the point
events for the series
:
series: {
point: {
events: {
mouseover: function (e) {
this.datalabel.css({
fontsize: "30px",
});
},
mouseout: function (e) {
this.datalabel.css({
fontsize: "12px",
});
}
}
}
}
score:0
is the datalabel you are referring to in html? if you want to access datalabel you can do this in javascript like this (assuming the html element is an id):
document.getelementbyid("datalabel").setattribute("style", "font-size: 20px");
this would set datalabel's font size to 20px. you can put this inside the mouse event function you desire.
Source: stackoverflow.com
Related Query
- HighCharts on hover change dataLabel's font size
- Change dataLabels font size when zooming in Highcharts bubble graph
- Highcharts - change font size of text on chart
- Highcharts marker size change on/after hover
- Change the font size and orientation of Highcharts Gantt X-axis labels
- Changing Highcharts font size
- Highcharts Change column color on hover
- Highcharts Donut Chart text in center change on hover
- How to change axis label size when exporting in Highcharts / Highstock
- Stop HighCharts change transparency of another series on hover of one series
- Change Font Size Jquery Hightcharts
- Highcharts exporting.js change menu hover title text
- Highcharts tooltip x axis font size
- highcharts change rendered image source on click
- Highcharts map doesn't change color on hover
- highcharts dataLabels support RTL with enable hover it for show tooltip
- Highcharts change symbol and hover text of individual points Line Chart
- Change size of highcharts points on mobile
- change dataLabels on highcharts based on color of bar
- change datalabels color in a HighCharts chart when hovering without updating the series
- Highcharts size doesn't change on div.animate()
- Highcharts change serie type without change datalabels
- How to change font size of chart title in downloaded pdf with jspdf
- Change the step size of Highcharts Drag?
- Highcharts - how can I change font size?
- Highcharts : Stacked barchart on hover change the opacity
- Highcharts {Pie} - Change dataLabels connector curve
- Highcharts - Change color of hover points
- Get notice when a Highcharts chart is change after change the window size
- Highcharts networkgraph datalabels on hover
More Query from same tag
- How to make mathematical chart with HighCharts?
- HighCharts: How to change style of bottom most x-axis grid line
- how to use javascript variable for complete series data
- How to use HighChart in offline?
- Marker should follow Cursor
- HighCharts Export burger menu not showing in AngularJS app
- Highcharts Pie Custom Legend, possible?
- HighStock with Django: help me render
- Highcharts issues in [object Object]:0.0 for pie chart
- Can't show the color in interactive highchart choropleth map
- Change data by download as pdf in Highcharts
- Highcharts - CUSTOM DATA LABELS in line series, are disappearing on window resize
- how to enable drawing multiple lines on highstock basic-line graph?
- Highcharts or Fusioncharts,which one to select
- In Highcharts drilldown charts, Custom Formatting of X-Axis label displays the label with underline even in the last level
- Highstock with multiple series, tooltip follows points even i disabled
- Line chart with multiple series and irregular intervals not displaying correctly
- highcharts x-axis for 1 year displays tick/label of year +1
- Monthly data in highcharts without explicitly providing all month label
- Highcharts.map depreciated warning
- How to add a React method to an object outside of React
- Labels on bar chart missing
- Highcharts.js - edit the axis of a chart without remaking it
- Highcharts unable to destroy labels
- Graph not rendering series correctly using angular 4
- Highcharts Column Chart
- How to export multiple charts in HighCharts to one file (png, jpeg, pdf)
- highstockchart range selector x axis date is displaying only jan 8 1970 to jan 19 1970
- High Chart different color for one column
- unable to make plotOptions.scatter.states.hover.marker in a HighCharts scatterplot