Advertisement
Guest User

Charts

a guest
Aug 21st, 2019
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.15 KB | None | 0 0
  1. export const donutChartData = [
  2. { 'Technology': 'React', 'percentSold': 16.5 },
  3. { 'Technology': 'Ruby on Rails', 'percentSold': 24 },
  4. { 'Technology': 'Javascript', 'percentSold': 13 },
  5. { 'Technology': 'NodeJS', 'percentSold': 16.5 },
  6. { 'Technology': 'Java', 'percentSold': 20 },
  7. { 'Technology': 'Kobol', 'percentSold': 10 }
  8. ];
  9.  
  10. export const barChartQ4Months =['October', 'November', 'December'];
  11. export const barChartMonthlyPercentages = [
  12. { name: 'React', data: [14, 16, 19.5] },
  13. { name: 'Ruby on Rails', data: [24, 23.5, 24.5] },
  14. { name: 'Javascript', data: [12.5, 12.5, 14] },
  15. { name: 'NodeJS', data: [16, 18, 17] },
  16. { name: 'Java', data: [21.5, 20, 17] },
  17. { name: 'Kobol', data: [7, 12, 11] },
  18. ];
  19.  
  20. export const gridData = [
  21. {
  22. "ProductID": 1,
  23. "ProductName": "React",
  24. "SupplierID": 1,
  25. "CategoryID": 1,
  26. "QuantityPerUnit": "10 boxes x 20 bags",
  27. "UnitPrice": 18,
  28. "UnitsInStock": 39,
  29. "UnitsOnOrder": 0,
  30. "ReorderLevel": 10,
  31. "Discontinued": false,
  32. "Category": {
  33. "CategoryID": 1,
  34. "CategoryName": "Javascript",
  35. "Description": "Soft drinks, coffees, teas, beers, and ales"
  36. },
  37. "FirstOrderedOn": new Date(1996, 8, 20)
  38. },
  39. {
  40. "ProductID": 2,
  41. "ProductName": "Java",
  42. "SupplierID": 1,
  43. "CategoryID": 1,
  44. "QuantityPerUnit": "24 - 12 oz bottles",
  45. "UnitPrice": 19,
  46. "UnitsInStock": 17,
  47. "UnitsOnOrder": 40,
  48. "ReorderLevel": 25,
  49. "Discontinued": false,
  50. "Category": {
  51. "CategoryID": 1,
  52. "CategoryName": "Beverages",
  53. "Description": "Soft drinks, coffees, teas, beers, and ales"
  54. },
  55. "FirstOrderedOn": new Date(1996, 7, 12)
  56. },
  57. {
  58. "ProductID": 3,
  59. "ProductName": "Ruby on Rails",
  60. "SupplierID": 1,
  61. "CategoryID": 2,
  62. "QuantityPerUnit": "12 - 550 ml bottles",
  63. "UnitPrice": 10,
  64. "UnitsInStock": 13,
  65. "UnitsOnOrder": 70,
  66. "ReorderLevel": 25,
  67. "Discontinued": false,
  68. "Category": {
  69. "CategoryID": 2,
  70. "CategoryName": "Condiments",
  71. "Description": "Sweet and savory sauces, relishes, spreads, and seasonings"
  72. },
  73. "FirstOrderedOn": new Date(1996, 8, 26)
  74. },
  75. {
  76. "ProductID": 4,
  77. "ProductName": "Kobol",
  78. "SupplierID": 2,
  79. "CategoryID": 2,
  80. "QuantityPerUnit": "48 - 6 oz jars",
  81. "UnitPrice": 22,
  82. "UnitsInStock": 53,
  83. "UnitsOnOrder": 0,
  84. "ReorderLevel": 0,
  85. "Discontinued": false,
  86. "Category": {
  87. "CategoryID": 2,
  88. "CategoryName": "Condiments",
  89. "Description": "Sweet and savory sauces, relishes, spreads, and seasonings"
  90. },
  91. "FirstOrderedOn": new Date(1996, 9, 19)
  92. },
  93. {
  94. "ProductID": 5,
  95. "ProductName": "Chef Anton's Gumbo Mix",
  96. "SupplierID": 2,
  97. "CategoryID": 2,
  98. "QuantityPerUnit": "36 boxes",
  99. "UnitPrice": 21.35,
  100. "UnitsInStock": 0,
  101. "UnitsOnOrder": 0,
  102. "ReorderLevel": 0,
  103. "Discontinued": true,
  104. "Category": {
  105. "CategoryID": 2,
  106. "CategoryName": "Condiments",
  107. "Description": "Sweet and savory sauces, relishes, spreads, and seasonings"
  108. },
  109. "FirstOrderedOn": new Date(1996, 7, 17)
  110. },
  111. {
  112. "ProductID": 6,
  113. "ProductName": "Grandma's Boysenberry Spread",
  114. "SupplierID": 3,
  115. "CategoryID": 2,
  116. "QuantityPerUnit": "12 - 8 oz jars",
  117. "UnitPrice": 25,
  118. "UnitsInStock": 120,
  119. "UnitsOnOrder": 0,
  120. "ReorderLevel": 25,
  121. "Discontinued": false,
  122. "Category": {
  123. "CategoryID": 2,
  124. "CategoryName": "Condiments",
  125. "Description": "Sweet and savory sauces, relishes, spreads, and seasonings"
  126. },
  127. "FirstOrderedOn": new Date(1996, 9, 19)
  128. },
  129. {
  130. "ProductID": 7,
  131. "ProductName": "Uncle Bob's Organic Dried Pears",
  132. "SupplierID": 3,
  133. "CategoryID": 7,
  134. "QuantityPerUnit": "12 - 1 lb pkgs.",
  135. "UnitPrice": 30,
  136. "UnitsInStock": 15,
  137. "UnitsOnOrder": 0,
  138. "ReorderLevel": 10,
  139. "Discontinued": false,
  140. "Category": {
  141. "CategoryID": 7,
  142. "CategoryName": "Produce",
  143. "Description": "Dried fruit and bean curd"
  144. },
  145. "FirstOrderedOn": new Date(1996, 7, 22)
  146. },
  147. {
  148. "ProductID": 8,
  149. "ProductName": "Northwoods Cranberry Sauce",
  150. "SupplierID": 3,
  151. "CategoryID": 2,
  152. "QuantityPerUnit": "12 - 12 oz jars",
  153. "UnitPrice": 40,
  154. "UnitsInStock": 6,
  155. "UnitsOnOrder": 0,
  156. "ReorderLevel": 0,
  157. "Discontinued": false,
  158. "Category": {
  159. "CategoryID": 2,
  160. "CategoryName": "Condiments",
  161. "Description": "Sweet and savory sauces, relishes, spreads, and seasonings"
  162. },
  163. "FirstOrderedOn": new Date(1996, 11, 1)
  164. },
  165. {
  166. "ProductID": 9,
  167. "ProductName": "Mishi Kobe Niku",
  168. "SupplierID": 4,
  169. "CategoryID": 6,
  170. "QuantityPerUnit": "18 - 500 g pkgs.",
  171. "UnitPrice": 97,
  172. "UnitsInStock": 29,
  173. "UnitsOnOrder": 0,
  174. "ReorderLevel": 0,
  175. "Discontinued": true,
  176. "Category": {
  177. "CategoryID": 6,
  178. "CategoryName": "Meat/Poultry",
  179. "Description": "Prepared meats"
  180. },
  181. "FirstOrderedOn": new Date(1997, 1, 21)
  182. },
  183. {
  184. "ProductID": 10,
  185. "ProductName": "Ikura",
  186. "SupplierID": 4,
  187. "CategoryID": 8,
  188. "QuantityPerUnit": "12 - 200 ml jars",
  189. "UnitPrice": 31,
  190. "UnitsInStock": 31,
  191. "UnitsOnOrder": 0,
  192. "ReorderLevel": 0,
  193. "Discontinued": false,
  194. "Category": {
  195. "CategoryID": 8,
  196. "CategoryName": "Seafood",
  197. "Description": "Seaweed and fish"
  198. },
  199. "FirstOrderedOn": new Date(1996, 8, 5)
  200. }
  201. ];
  202.  
  203. export const panelBarData = {
  204. 'teammates': [
  205. {
  206. firstName: 'React',
  207. lastName: '',
  208. position: 'Frontend'
  209. }, {
  210. firstName: 'Java',
  211. lastName: '',
  212. position: 'Backend'
  213. }, {
  214. firstName: 'JavaScript',
  215. lastName: '',
  216. position: 'Fullstack'
  217. }, {
  218. firstName: 'Cobol',
  219. lastName: '',
  220. position: 'Logistics'
  221. }, {
  222. firstName: 'Haskell',
  223. lastName: '',
  224. position: 'Science'
  225. }, {
  226. firstName: 'NodeJS',
  227. lastName: '',
  228. position: 'Fullstack'
  229. }
  230. ],
  231. 'salesReports': [
  232. {
  233. title: 'Q1 Report',
  234. }, {
  235. title: 'Q2 Report',
  236. }, {
  237. title: 'Q3 Report',
  238. }, {
  239. title: 'Q4 Report',
  240. }
  241. ]
  242. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement