Rank: Advanced Member
Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered Joined: 1/3/2011(UTC) Posts: 483
Thanks: 0 times Was thanked: 87 time(s) in 87 post(s)
|
You can specify individual bar colors with: Code:$(document).ready(function () { $('#jqChart').jqChart({ series: [ { type: 'stackedBar', title: 'Stacked 1', data: [62, 70, 68], fillStyles: ['red', 'blue', 'orange'] }, { type: 'stackedBar', title: 'Stacked 2', data: [56, 30, 62], fillStyles: ['yellow', 'green', 'aqua'] }, { type: 'stackedBar', title: 'Stacked 3', data: [33, 42, 54], fillStyles: ['gray', 'black', 'purple'] } ] }); }); Best Regards, Dragan Matek jqChart Inc.
|
1 user thanked Dragan for this useful post.
|
|