score:3
Accepted answer
you can put the color in the data string, eg
var data = [{
code: "af",
z: 30552,
color: '#642288'
}, /*.... etc */
]
since the data in the example is being loaded from elsewhere, i copied it into the fiddle and added the colors.
Source: stackoverflow.com
Related Query
- Set different color for each bubble in Bubble-Map
- set different colors for each column in highcharts
- Set different width for each column in highcharts
- white border/line color set on hover for the bubbles in the bubble chart not being reset on mouse out from bubble
- Highcharts for multiple plot lines each with a different color and show tooltip?
- Set different colors for each column in DotNet.HighCharts
- set individual color for each bar in bar chart using highcharts
- Set a different tooltip formatter for each sunburst levels - Highcharts
- Highcharts Highmaps How to change value for color axis in map bubble
- after using for loop all my column graphs are plotted in single color i need each bar in different color in highcharts
- javascript - Highcharts - Type Bar - How to set different starting for each bar
- High charts: Set Each Bar In a Multi-Series Bar Graphs To a Different Color
- Spider Highchart - different color for each gridline
- How to set specific color for each data in pie chart using phplot.php
- Highcharts Set data label border color for each pie slice
- A different suffix for each line on Highstock/Highcharts
- Can I assign a different radius for each pie slice using Highcharts?
- highcharts donut pie - different color for the data than its drilldown
- HighMaps Only Displaying Color For Last Series In US Map
- Heat Map With Red Color Range For Negative Values And Green Color Range For Positive Values
- Set background color for only one pane in multi-pane Highstock chart
- Set position for each flag in highstock
- How do I setup Individual Column color for each Column (HighStock/HighChart)
- different approximation methods (dataGrouping) for each Series in one Highstocks-Chart?
- HighCharts - how to set labels font color for printing?
- Javascript set theme for each graph
- In Highcharts, how can we separatedly set up the border color of each block in a Pyramid chart
- Highcharts - Different Marker for Each Point of Area Plot
- Set a Different Color Per Region/Province in a Country
- Cannot set Individual Point color in Series for Highstock API, it works for Highchart API
More Query from same tag
- Highchart - Changing label text of the yaxis programatically
- Highcharts MapBubble - Is it possible to load the data by using the data module?
- Drilldown multiple levels Highchart
- HighCharts doesnt get data from Flask endpoint
- Formatter Using HighCharts
- Import CSV to highcharts scatterplot with tooltip populated by point name and x,y values
- Highcharts unable to fit it to mobile screen size
- Filename not assigned to csv export in HighCharts on Mac
- Kendo Linear Guage with logarithmic scale
- How to update the highcharts.js to make the export server to my own ipaddress,instead of connect to the highcharts server?
- How to change color of shaded area in highcharts
- how to display 2 same highcharts without duplicate the code
- Using highcharts x-axis "zones" for datetime series chart
- Highstock align 0 values
- Dynamically create highcharts with bootstrap carousel
- How to make a square chart?
- Highcharts: when exporting, unselected series should not show in the legend
- highcharts scale chart to width
- How to remove bullet from tooltip when using highchart?
- Highcharts loses it's dateRange values after refresh on IE<=9 and Chrome
- Color selection based on a function for Highchart graphs?
- rCharts : Highcharts column with color based on value
- Custom Notation in HighChart series
- How to set correct xAxis time data in Highcharts?
- HighCharts dynamically resize renderer label or element
- Is HighCharts supported in IE9?
- Working with Highchart Treemaps (drilldown)
- JSHint and grunt.js - Highcharts is not defined
- Highchart not displaying in cakephp
- Responsive Highcharts not sizing correctly until window resize