scatter.txt 894 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "elements":[
  3. {
  4. "type": "scatter",
  5. "colour": "#FFB900",
  6. "text": "Avg",
  7. "font-size": 10,
  8. "dot-style": {"type":"solid-dot"},
  9. "values" : [
  10. {"x":-5, "y":-5, "tip":"HELLO" },
  11. {"x":0, "y":0, "colour":"#FF0000" },
  12. {"x":5, "y":5, "dot-size":20, "on-click":"trace:moooo"},
  13. {"x":5, "y":-5, "dot-size":5, "type":"hollow-dot"},
  14. {"x":-5, "y":5, "dot-size":5},
  15. {"x":0.5, "y":1, "dot-size":15}
  16. ]
  17. }
  18. ],
  19. "x_axis":{
  20. "offset": false,
  21. "min": -5,
  22. "max": 5/*,"labels":["mon","tue","wed","thur","fri","sat","sun"]*/
  23. },
  24. "y_axis":{
  25. "min": -5,
  26. "max": 5
  27. },
  28. "y_legend":{
  29. "text": "Time of day",
  30. "style": "{font-size: 20px; color: #736AFF;}"
  31. }
  32. }