Advertisement
Guest User

Untitled

a guest
Aug 27th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. {
  2. type: 'line',
  3. data: {
  4. labels: [ <string> ],
  5. datasets: [
  6. {
  7. label: <string>,
  8. data: [ <num> ],
  9. borderColor: <string> ,
  10. backgroundColor: <string>
  11. },
  12. {
  13. // as same as above "{}"
  14. }
  15. ]
  16. },
  17. options: {
  18. responsive: <bool>,
  19. legend: {
  20. position: 'top' or 'bottom'
  21. },
  22. title: {
  23. display: <bool>,
  24. text: <string>
  25. },
  26. scales: {
  27. yAxes: [
  28. {
  29. ticks: {
  30. min: <num>
  31. },
  32. scaleLabel: {
  33. display: <bool>
  34. labelString: <string>
  35. }
  36. }
  37. ],
  38. xAxes: [
  39. // as same as yAxes
  40. ],
  41. }
  42. }
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement