Link to home
Start Free TrialLog in
Avatar of Isaac
IsaacFlag for United States of America

asked on

Add to multiarray

This is my first time trying to use jqPlot.  http://www.jqplot.com/tests/pie-donut-charts.php

How can I add data to the array below?
For example;
how would I add ('Laptops', 15), ('Hardware', 25), ('Software', 35)?

var data = [
    ['Heavy Industry', 12],['Retail', 9], ['Light Industry', 14],
    ['Out of home', 16],['Commuting', 7], ['Orientation', 9]
  ];


Please see jsfiddle (http://jsfiddle.net/aF9Q7/4/)
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial