Hello All,
I'm using column chart similar to :
http://www.jqchart.com/j.../ChartTypes/ColumnChart
but the data am passing to it has dates for x-axis. Hence am getting the output chart with single color. Can someone please suggest me how to avoid that?
For ex: My data is like this:
series: [
{
type: 'column',
title: 'Series 1',
fillStyle: '#418CF0',
data: [[new Date("2013-10-15"), 33], [new Date("2013-10-14"), 57], new Date("2013-10-13"), 33], [new Date("2013-10-12"), 12], [new Date("2013-10-11"), 35], [new Date("2013-10-10"), 7], [new Date("2013-10-09"), 24]]
},
{
type: 'column',
title: 'Series 2',
fillStyle: '#FCB441',
data: [[new Date("2013-10-15"), 33], [new Date("2013-10-14"), 57], new Date("2013-10-13"), 33], [new Date("2013-10-12"), 12], [new Date("2013-10-11"), 35], [new Date("2013-10-10"), 7], [new Date("2013-10-09"), 24]]
}
]
});
In this case it displays column chart with same color.
Thanks,
Bharat