score:2
Accepted answer
Got the solution. http://jsfiddle.net/faywp9w3/
changed this:- color: data[i].drilldown.colors[j]
// add version data
drillDataLen = data[i].drilldown.data.length;
for (j = 0; j < drillDataLen; j += 1) {
brightness = 0.2 - (j / drillDataLen) / 5;
versionsData.push({
name: data[i].drilldown.categories[j],
y: data[i].drilldown.data[j],
color: data[i].drilldown.colors[j]
});
}
Declared : var colors = ['#0000ff','#458B00','#658300'];
And add this : colors: [colors[2],colors[1],colors[2],colors[1]]
in drilldown
drilldown: {
name: 'Equity',
categories: ['Large Cap', 'Multi Cap', 'Mid & Small Cap','Eq Hybrid'],
data: equity_data,
colors: [colors[2],colors[1],colors[2],colors[1]]
}
score:1
series: [{
type: 'pie',
name: 'Browser share',
innerSize: '50%',
data: [{
name: 'one',
y: 40,
color: 'yellow' // Jane's color
},
{
name: 'two',
y: 50,
color: 'green' // Jane's color
},
{
name: 'three',
y: 10,
color: 'red' // Jane's color
}
]
Source: stackoverflow.com
Related Query
- How to change color of donut chart in highchart?
- how to change color of line chart in highchart based on a categorical column in r?
- How to Change the color of the text in donut chart
- how to change the slice color in donut chart on click of slice?
- How to change series legend text color in HighChart chart?
- How to Change Highchart Column Color Dynamicly
- How to set series-label to false by default and change the color of series label text in highchart
- Need to change title color donut highchart
- how to dynamically change column chart to mirror chart using highchart
- How to change the background color of measure tool in stock chart in highstock?
- How to change tooltip of a column chart programmatically in highchart
- How to change color of bar in column chart with different level of percentage in highcharts
- How to change the color of single point in spiderweb chart
- how to change bar hover color of highchart dynamically?
- How to change the Highchart plotline color for theme
- How to change rCharts Highchart Color based on Factor Variable
- Highcharts - Column Chart Drilldown, how to change the drilldown bar color based on some value
- How to change color on the Highchart Sparkline line only?
- how to change the color of column in chart ?
- How to change default color of a series chart in highcharts?
- How to change the series color and mark after I draw the line chart in highcharts?Does it has databound event?
- How To Change The Color of specific span of data in a chart
- How to change the background color the chart area in high charts?
- how to add color inside a 3d chart in highchart js
- how to disable the color change on mousehover in sankeycharts Highchart . { hover: {color: '#a4edba',opacity: 1,filter: {type: 'none',}}} didnt work
- How to change the label color of Y-Axis on click in angular Gantt chart High Chart
- highcharts: How do I change the color of the chart above?
- How to change default line color in highchart stock GUI tools?
- how to change my pie chart color according to the value
- How to make highchart bubble chart color active of clicked bubble
More Query from same tag
- highchart's hidden chart renders out of container in Angularjs
- Highcharts Series Margins
- How can you speed up the Highcharts network graph initial animation?
- How to change the theme of a Highstock graph with a button?
- Highcharts: How to set colors per column, per series, with a data set, in a multi series chart?
- Create the xAxys with a array of strings instead of an array of integers - Highcharts
- ViewEncapsulation creating problems while styling highcharts
- Customize legend pie highchart into tag div
- convert list<int> to object
- Highcharts click events not firing when displaying multiple line series
- How to disable Datalabels in Navigator
- Adding a pattern fill to a black and white column graph in Highcharter
- highcharts customize legend for different series
- Highmaps svg path issue - Data not flowing into certain counties on US map
- Multiple point selection in Highcharts stockChart
- How to display 2 solid gauge using ng-repeat function?
- Bugs on windrose in highcharts
- Highcharts legend hover for bar chart?
- Highcharts - How to get default y-Axis label formatter in a custom formatter
- Highmap not displaying map with angular-highcharts in Angular5
- highstock x-axis is always time
- Angular & Highcharts. Set state to hover programatically
- Highchart crashing with multiple Y axis
- HighchartsTable jQuery plugin - is it possible to have labels on axis-Y and values on axis-X
- How to add an item to Highcharts legend?
- HighCharts xAxis - tickInterval for month
- Highcharts: wrong labels align for inverted charts
- Hide legend for zero values
- How to display data from server in pie chart?
- Highcharts xAxis padding is lost when navigator when zooming in and out and can't get the padding back when zoom out