score:3
Accepted answer
There is no built-in option like that. Still, you can define a data label for each point and set a proper color if the value is negative.
data: data.map(function (point) {
return point < 0
? {y: point, dataLabels: {color: 'black'}}
: point;
})
example: http://jsfiddle.net/s8ay794r/1/
Source: stackoverflow.com
Related Query
- HighCharts negative color for dataLabels
- Highcharts column range change color for negative numbers
- Highcharts - Column With Negative Values - Column Color
- Highcharts - Color coded legend for solid gauge
- Color contrast setting on dataLabels style parameter using Highcharts 5 is not working on some colors
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- Highcharts navigator error: Invalid negative value for <rect> attribute width
- Highcharts - Negative color with 'line' type polar chart
- highcharts donut pie - different color for the data than its drilldown
- Setting highcharts datalabels backgroundColor with the same color of its serie
- Highcharts bubble chart datalabels color contrast issue
- Highcharts - In area chart how to use gradient color for multiple series?
- Heat Map With Red Color Range For Negative Values And Green Color Range For Positive Values
- Negative value for categories axis in highcharts
- highcharts dataLabels support RTL with enable hover it for show tooltip
- How to make legend color show up in Highcharts for a line graph under certain conditions?
- HighCharts - how to set labels font color for printing?
- highcharts pie chart color for dynamic data
- change dataLabels on highcharts based on color of bar
- change datalabels color in a HighCharts chart when hovering without updating the series
- Highcharts datalabels with gradient color
- Highcharts for multiple plot lines each with a different color and show tooltip?
- Highcharts display label for pie chart using html table as data source
- Simple, Open source PHP wrapper for Highcharts library
- Set crosshairs color for a specific series - highcharts
- Highcharts - Specific color zones for HighCharts navigator
- set individual color for each bar in bar chart using highcharts
- How can I apply different background color to entire tooltip for different series in highcharts
- In a Highcharts heatmap is it possible for a data point to be ignored for the color scale?
- HTML table as data source for highstock charts using highcharts
More Query from same tag
- How to make a pie chart from highcharts responsive
- Create Highcharts data label formatter that filters the data to display
- IE < 9 + HighCharts don't render series
- Use nearest neighbor search for hover in column chart
- Cannot find proper JSON array syntax for Highcharts
- Highchart Array From Ajax
- Highcharts line not plotting
- Highcharts stacking misfunctioning
- Highcharts component that creates secondary yAxis based on props.boolean
- HighCharts navigator to keep range after async data load. (LazyLoad)
- Highcharts not zooming series using option Highcharts.Series.prototype.drawPoints = function() { }
- Tooltips on Highmaps drilldowns and inconsistent styles?
- Disable "fill" attribute when using Styled CSS
- Highchart maps / Highmaps update vue data properties on clicking country
- How to set Highcharts data series in x-axis using crosshairs?
- Consider 0 number of hits for omitted dates
- splitSeries error with packedbubble in Angular
- How to change export button to custom icon in highcharts
- Highcharts - Disable the legend of secondary y axis by default
- How to Show Same Month name of two years in X axis of Highcharts
- How To Show All Data Labels For Datetime Axis In Highcharts
- highcharts not refreshing chart when page refreshes
- Format data to be used in Highcharts series
- Highcharts fill bar background
- spline chart highchart to fill the color in series
- Remove Square Bracket From Array Key PHP
- Display the Plotted value on x axis using highcharts
- Need tooltip in customization
- Highchart plot from two vectors: split the vectors?
- Scrollable Highcharts in React