score:0
You need to use Highcharts 3.0.10, to set colours.
score:1
stops: [
[0, '#FF0000'],
[1, '#00FF00'],
[2, '#FFA500'],
[3,'#FFFF00']
],
min: 0,
max: 1
This will give you the exact colours also in the series you need to give the json Object like this: {"x":0,"y":0,"value":0,"myData":"Critical"} The value is the attribute which gives exact colour
score:1
Use colors
for list of colors,
In colorAxis
declare dataClassColor as 'category'
and define your data range in
dataClasses
colors : ['#D7EDE5', '#9BD1BE', '#37A47E'],
colorAxis : {
dataClassColor : 'category',
dataClasses : [{
to : 57.1
}, {
from : 57.2,
to : 60.4
}, {
from : 60.5
}
]
},
Source: stackoverflow.com
Related Articles
- Change the legend in highcharts heatmap to show instead of a color bar, a set of fixed icons with hide and show on click
- how do you change the color of cells in highcharts heatmap?
- How to change the text color in Highcharts
- Highcharts Change Bar Color Based on Value
- Highcharts dynamically change bar color based on value
- Change Color of Volume Columns (High/Low) in HighCharts
- Change Highcharts Series color
- Highcharts - change background color along specific date range
- Change color of area chart programmatically in highcharts
- Highcharts column range change color for negative numbers
- Highcharts Change column color on hover
- Change Y Axis vertical line color in Highcharts
- Highcharts - how to disable color change on mouseover/hover
- highcharts treemap heatmap level2 color turning black
- Highcharts - change color of only clicked column
- How to change Highcharts xAxis label color individually?
- How to change area graph color above certain value in Highcharts
- Highcharts hide series without change legend color
- Highcharts Change Bar Background Color Based on categories value
- Highcharts --- Change sliced color on drilldown pie chart
- Highcharts change the line color if its out of the area range
- Highcharts - Change line color between points
- HighCharts - Dynamically Change Axis Title Color
- In highcharts how do I change the color of the line above the categories?
- How do I change a specific bar color in Highcharts Bar Chart?
- highcharts change rendered image source on click
- Update color of plotline label on change highcharts
- Can highcharts heatmap zone pattenObjects respect colors applied by color axis?
- How to change one point color on click in Highcharts
- Highcharts map doesn't change color on hover
- javascript, change default position after zoom on highcharts maps
- Invalid dates in Highcharts with data loaded by JSON
- non programmer--Read data from mySQL into bar chart
- MultiAxis HighChart: show different color
- Angular Module Is not a function - Highcharts-ng appearing on .aspx web form
- Highcharts dynamic set category update the chart but shows only points but not lines
- highcharts tooltip stop update when mouse over
- Highcharts - Pinch zoom does not work on chart with multiple y axes
- Change Highcharts sparklines marker colours
- HighChartsDate Picker With Series Chart
- How to change border radius of legend symbol
- Highcharts scatter: show value in plot
- Stop Highcharts from cropping the series line between points on the x-axis
- Get x-axis values of selected graphs
- Highcharts venn diagram is missing intersections
- Javascript Pie Chart Colors
- How to resize card content to its size in material ui?
- Full width arearange
- Highcharts - Piecharts - title generated with useHTML overlaps with tooltip generated using useHTML
- d.select is not a function