Rank: Administration
Groups: Administrators, Moderator, Registered Joined: 11/5/2012(UTC) Posts: 131
Thanks: 0 times Was thanked: 15 time(s) in 15 post(s)
|
You can use this code: Code: $(document).ready(function () { $('#jqChart').jqChart({ axes: [ { location: 'left', type: 'linear', title: 'Medal Count' } ], series: [ { title: 'Gold', type: 'rangeColumn', fillStyle: '#ECAA53', pointWidth: 0.5, data: [['Olimpic 2008', 0, 20], ['Olimpic 2012', 0, 20]] }, { title: 'Silver', type: 'rangeColumn', fillStyle: '#CBCDA2', pointWidth: 0.4, data: [['Olimpic 2008', 0, 10], ['Olimpic 2012', 0, 10]] }, { title: 'Bronze', type: 'rangeColumn', fillStyle: '#797C46', pointWidth: 0.3, data: [['Olimpic 2008', 0, 5], ['Olimpic 2012', 0, 5]] } ] }); }); Best, Ivan Petrov jqChart Inc.
|