Im currently making use of the Morris Bar chart and its working quite nicely.
Im having a problem with making the bars alternate in colour from 2 defined colours.
if( $("#publication-chart").length)
{
Morris.Bar({
element: 'publication-chart',
data: financeChartData,
xkey: 'y',
ykeys: ['a'],
labels: ['Total'],
barColors: ['#FF0000','#000000','#FF0000','#000000','#FF0000']
});
}
in my code, i'm trying to alternate from red to black, but it only appears to show in red every time.
Ive also tried to have the colour of the chart come from the data array, but cant seem to get greater control over the bars in the chart