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)
|
Here is: Code: $(document).ready(function () { $('#jqChart').jqChart({ title: { text: 'Line Chart' }, tooltips: { type: 'shared' }, animation: { duration: 1 }, axes: [ { location: 'bottom', type: 'dateTime', labels: { stringFormat: 'm/d/yy' } } ], series: [ { type: 'line', title: 'Series 1', strokeStyle: '#418CF0', lineWidth: 2, data: [[new Date(2010, 0, 1), 62], [new Date(2010, 0, 2), 60], [new Date(2010, 0, 3), 68], [new Date(2010, 0, 4), 58], [new Date(2010, 0, 5), 52], [new Date(2010, 0, 6), 60], [new Date(2010, 0, 7), 48]] }, { type: 'line', title: 'Series 2', strokeStyle: '#FCB441', showInLegend: false, lineWidth: 2, data: [[new Date(2010, 0, 3), 62], [new Date(2010, 0, 6), 36]], markers : null } ] }); }); Best, Ivan Petrov jqChart Inc.
|