title-1.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "title":{
  3. "text":"Area Chart",
  4. "style":"{font-size:18px; padding: 5px; text-align: left; font-family: Century Gothic; font-weight: bold;}"
  5. },
  6. "y_legend":{
  7. "text":"OFC",
  8. "style":"{font-size: 12px; color:#736AFF;}"
  9. },
  10. "elements":[
  11. {
  12. "type": "area_hollow",
  13. "colour": "#CC3399",
  14. "fill": "#343399",
  15. "fill-alpha": 0.5,
  16. "text": "Page views",
  17. "width": 3,
  18. "font-size": 10,
  19. "dot-size": 7,
  20. "tip": "Hello<br>#val#",
  21. "values" : [0,0.37,0.73,1.07,1.36,1.59,1.77,1.87,1.89,1.85,1.72,1.53,1.28,0.97,0.63,0.26,-0.11,-0.48,-0.84,-1.16,-1.43,-1.65,-1.80,-1.88,-1.89,-1.82,-1.67,-1.46,-1.19,-0.88]
  22. }
  23. ],
  24. "x_axis":{
  25. "max":30,
  26. "labels": {
  27. "labels": ["0.00","0.38","0.74","1.07","1.36","1.60","1.77","1.87","1.90","1.85","1.73","1.54",
  28. "1.28","0.98","0.64","0.27","-0.11","-0.49","-0.84","-1.16","-1.44","-1.66","-1.81",
  29. "-1.89","-1.89","-1.82","-1.68","-1.47","-1.20","-0.88"]
  30. }
  31. },
  32. "y_axis":{
  33. "min": -2,
  34. "max": 2
  35. }
  36. }