indexable-dataset.js 620 B

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