indexable-element-options.js 537 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. module.exports = {
  2. config: {
  3. type: 'polarArea',
  4. data: {
  5. labels: [0, 1, 2, 3, 4, 5],
  6. datasets: [
  7. {
  8. // option in element (fallback)
  9. data: [0, 2, 4, null, 6, 8],
  10. }
  11. ]
  12. },
  13. options: {
  14. legend: false,
  15. title: false,
  16. elements: {
  17. arc: {
  18. backgroundColor: 'transparent',
  19. borderColor: '#888',
  20. borderWidth: [
  21. 5,
  22. 4,
  23. 3,
  24. 2,
  25. 1,
  26. 0
  27. ]
  28. }
  29. },
  30. scale: {
  31. display: false
  32. }
  33. }
  34. },
  35. options: {
  36. canvas: {
  37. height: 256,
  38. width: 512
  39. }
  40. }
  41. };