score:1
Accepted answer
This is possible using the render function
API Link
chart: {
events: {
render: function() {
try {
this.series[0].data.forEach(point => {
if (point.Entry_type === "B") {
point.dataLabel.attr({y: point.plotLow});
} else if (point.Entry_type === "S") {
point.dataLabel.attr({y: point.plotHigh - 20});
}
});
} catch (error) {
// continue
}
}
}
},
...
series: [{
dataLabels: {
enabled: true,
backgroundColor: "#fdfc59",
shape: "circle",
formatter: function () {
return this.point.Entry_type;
}
...
Edit 3 full example
Source: stackoverflow.com
Related Query
- Highcharts - Should Is use data labels or annotation or something else and how?
- Highcharts - how to show/hide multiple data labels on mouseOver and mouseOut
- How to use axios to fetch data from servlet and then crossfilter it and display via highcharts
- how can I use rangeselector and navigation in highcharts in the given code
- How to draw a chart from one array of data and make labels on the chart from another array of data? Highcharts v.4.0.4
- How can i use double click in Highcharts and get that data
- Highcharts how to use JavaScript variable as series data source?
- Query regarding why and how to use highcharts license
- How to structure Angular with Highcharts and lots of dynamic data
- Highcharts v3.0.1 problems with rotating data labels in IE8 and jQuery v1.7.1
- How can i force Highcharts to use same symbols in Legend and Series?
- Highcharts - Global configuration with common code and unique data & Headings
- How to use Highmaps and Highcharts with Meteor?
- How to remove the value and number labels from Highcharts angular gauge
- How to avoid cropped data labels in highcharts
- How To Show All Data Labels For Datetime Axis In Highcharts
- Highcharts - how to create multiple y axis and group the data series
- HighCharts & MVC: How to load whole graph definition and data with JSON?
- How to use Highcharts in typescript and react
- Highcharts - how to set textShadow for data labels
- how to use highcharts tooltip formatter in python code
- HighCharts - how to align (justify) xAxis labels left and right
- Highcharts Columnrange data labels high and low different colors
- Formatting data points and Y-axis labels using HighCharts
- Highcharts bar with negative stack: how to position data labels
- How to create seriesfor Highcharts from JSON data to use
- How can I use data.table or data.csv and extra data for click event handling
- How to use data in rChart Highcharts
- Android highcharts how to enable or disable data labels
- How to use jspdf to print and download the multiple highcharts contents in pdf format
More Query from same tag
- XY trajectory plot using Highcharts
- How to get access to previous value on formatter of xAxis label , Highcharts?
- On a columns chart from highcharts, how to set xAxis labels at columns edges?
- HTML table data into arrays via jQuery
- How to change colors of a highcharter matrix/heatmap?
- How to relate the y-axis of different types of graphs?
- Highcharts. Place tooltip on top of all items
- Highcharts Pie chart: how to hide the legend for all but the three highest values
- How do I create data binding between highcharts and Polymer 1.0
- How to add custom exporting button in highCharts?
- How to remove the padding on the both ends of the HighChart
- Is it possible to trigger tooltip in highchart of a line chart ONLY when the mouse hovers over the point?
- How to create two plot areas with highcharts
- my first highchart
- r shiny with highcharts: filter second plot based on hover from the first plot
- Angular: HighChart TreeMap is not updating with the new data
- How to hide other series when clicking on legend on highcarts?
- Highchart legends,label are not responsive to mobile mode and it looks too smaller
- Adjust space to the sides of highchart series
- Pie Chart is not showing correct value due to asynchronous data retrieve in Angular JS
- Change highstock chart zones on click yAxis
- how to use Bootstrap font icons on x-axis lables in highcharts
- How to turn Highchart scrollable?
- Suggestions on getting Highstocks graph images sent to server
- highcharts line graph with ajax
- Highchart datetime x-axis : display end of month date instead of first day of month
- how to set chart in center on full screen view in highchart
- Unable to get value of the property '0': object is null or undefined in IE7
- highchart not displaying in the center on mobile screen
- Highcharts Error while loading solid gauge module