value-element-options.js 509 B

1234567891011121314151617181920212223242526272829303132333435
  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. borderAlign: 'center',
  20. borderColor: '#0000ff',
  21. borderWidth: 4,
  22. }
  23. },
  24. scale: {
  25. display: false
  26. }
  27. }
  28. },
  29. options: {
  30. canvas: {
  31. height: 256,
  32. width: 512
  33. }
  34. }
  35. };