I just got this series code to make the bar in the chart gradient by highcharts, so how can I make it by Invient Chart.
This is the highchart js link:
http://jsfiddle.net/7Mmee/1481/
var chart = new Highcharts.Chart({
chart: {
renderTo: ‘container’,
defaultSeriesType: ‘bar’
},
xAxis: {
categories: [‘Jan’, ‘Feb’, ‘Mar’, ‘Apr’, ‘May’, ‘Jun’, ‘Jul’, ‘Aug’, ‘Sep’, ‘Oct’, ‘Nov’, ‘Dec’]
},
plotOptions: {
series: {
stacking: 'normal'
}
},
series: [{
color: {
linearGradient: [0, '20%', 0, '70%']
,
stops: [
[0, ‘rgb(255, 255, 255)’]
,
[1, ‘rgb(0, 0, 0)’]
]
},
data: [29.9, 71.5, {y:106.4,
color: {
linearGradient: [0, '20%', 0, '70%']
,
stops: [
[0, ‘rgb(255, 0, 0)’]
,
[1, ‘rgb(0, 0, 255)’]
]
}},
129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
}, {
data: [144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4, 29.9, 71.5, 106.4, 129.2]
}]
});