score:3
Accepted answer
you'll need to preprocess the data to assign the colors. something like this:
var input = [34.4, 62.5, 80.1, 70, 69.6, 69.5, 89.1, 68.4, 18,
17.3],
data = [];
$.each(input, function(index, value){
var color;
if (value > 80) color = 'red';
else if (value > 65) color = 'yellow';
else color = 'green';
data.push({y:value, color: color});
});
Source: stackoverflow.com
Related Query
- How to change color of bar in column chart with different level of percentage in highcharts
- Highcharts column chart color by single color but with different brightness level as per respective column value
- Highcharts - Column Chart Drilldown, how to change the drilldown bar color based on some value
- how to change color of line chart in highchart based on a categorical column in r?
- Multiple different chart types stacked, column type with y value as color
- How to make split grouped column bar chart in highcharts with percentage?
- how to change the color of column in chart ?
- How to change the color of series(grouped column chart) only with json object(without js function) on Highchart?
- How to render a bar chart with different series with only one entry per category in HighCharts
- How to show a column with the value Zero in Bar chart in Highcharts?
- how to create a column char with highcharts where each column has a different color
- How to apply color gradient in progress bar in high chart with stylemode in Angular
- How to show a column with the value Zero in Column chart in Highcharts?
- highcharts jquery dynamic change chart type column to bar
- highcharts: column chart color change based on value
- High chart - Column Range Chart with Time range. How to get tooltip as Start and End time
- How to use drilldown upto level 3 with different charts on each level in highcharts?
- Highcharts, how to change hover bg color for series with multiple columns (categories)
- How to Change Highchart Column Color Dynamicly
- Highcharts: Change Highlight Color of Column Chart
- How to add a horizontal line in Column bar chart in Highcharts plugin?
- How do I change a specific bar color in Highcharts Bar Chart?
- How to change color of donut chart in highchart?
- How to Build a Column Chart in Highcharts with Data Entered Dynamically Within a CMS
- how to dynamically change column chart to mirror chart using highchart
- How do I change the style of the inner part enclosed by the lines(polar) chart created with highcharts?
- Highcharts - how to export chart with different scale in one click
- How to change the background color of measure tool in stock chart in highstock?
- Change color of stacked bar chart
- How to change tooltip of a column chart programmatically in highchart
More Query from same tag
- how remove picture frame for Highchart chart pie
- How to get object value inside an array
- how to set xAxis pointInterval(update: tickInterval) in highcharts
- Toggling DataTable Rows Based On HighChart Legend
- Cannot set bar chart width for specific data, Highcharts
- Iterating through JSON structure matching criteria
- Highchart - how to control gap between series
- highcharts: Indent labels from pie-chart
- HighCharts - Angular, how to get y axis labels on the vertical lines drawn from x axis
- Rails 4: chart is not showing
- Highcharts Waterfall low value for yAxis point
- Angular Highcharts Wordcloud color array
- Negative value for categories axis in highcharts
- How to display yearly values on xAxis in Highcharts
- Adding new HighChart Series
- Highcharts - Combine & superimpose columns
- Highcharts-react not rendering on initial page load
- How to get data from multiple tables of MySQL DB and manuplate it using PHP to display graphs?
- Highcharts - javascript - incorrect stacked column formatting
- Visualizing Data via Highcharts and Django-Chartit2 on App Engine
- Highchart: add href to each segment of stacked bar chart
- jquery datatable to highcharts
- Highstock: Hover-over Tooltip format
- highcharts 2 variable JSON (Date, Value) not showing correctly
- Highcharts bubble graph - Custom Tooltip with Error bar (either horizontal or vertical)
- Parsing a JSON object of arrays gives different results in IE9
- How to get/set highcharts xAxis step?
- Wrong start date in irregular intervals chart
- highcharts-export-server yAxis formatter does not work
- Highcharts Dynamic Drilldown using json