value.js 690 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. module.exports = {
  2. config: {
  3. type: 'radar',
  4. data: {
  5. labels: [0, 1, 2, 3, 4, 5],
  6. datasets: [
  7. {
  8. // option in dataset
  9. data: [0, 5, 10, null, -10, -5],
  10. pointBorderColor: '#0000ff',
  11. pointRotation: 90
  12. },
  13. {
  14. // option in element (fallback)
  15. data: [4, -5, -10, null, 10, 5],
  16. }
  17. ]
  18. },
  19. options: {
  20. legend: false,
  21. title: false,
  22. elements: {
  23. line: {
  24. fill: false,
  25. },
  26. point: {
  27. borderColor: '#00ff00',
  28. pointStyle: 'line',
  29. radius: 10,
  30. rotation: 0,
  31. }
  32. },
  33. scale: {
  34. display: false,
  35. ticks: {
  36. min: -15
  37. }
  38. }
  39. }
  40. },
  41. options: {
  42. canvas: {
  43. height: 512,
  44. width: 512
  45. }
  46. }
  47. };