I am trying to achieve a non-functional color picker circle (just visual existence) in HighCharts.
I have been able to create circles with plain colors (JsFiddle: http://jsfiddle.net/amigoo/zwod86e1/)
HTML:
<div id="container1" style="display:inline-block;"></div>
JS:
$(function() {
Highcharts.setOptions({
colors: ['#8edce7', '#e8ebeb']
});
// Create the chart for completion
var chart_completion = new Highcharts.Chart({
chart: {
renderTo: 'container1',
type: 'pie',
margin: [0,0,0,0],
height: 100,
width: 100
},
tooltip: {
enabled: false,
},
plotOptions: {
pie: {
slicedOffset: 0,
size: '100%',
dataLabels: {
enabled: false
}
},
series: noBorder
},
title: {
text: 'In Prog.',
align: 'center',
verticalAlign: 'middle',
style: {
fontSize: '9.5px'
}
},
credits: {
enabled: false
},
series: [{
name: 'Browsers',
data: [["MSIE",10],[,2]],
innerSize: '80%',
showInLegend:false,
dataLabels: {
enabled: false
},
states:{
hover: {
enabled: false
}
},
point : {
events: {
mouseOver: function(){
this.oldTitle = chart_completion.options.title.text;
chart_completion.setTitle({
text: 'New title '
});
},
mouseOut: function(){
chart_completion.setTitle({
text: this.oldTitle
});
}
}
}
}]
});
However struggling to make the plain color go in gradients to make it look like this:
Any thoughts?