Advertisement
Guest User

Untitled

a guest
Sep 27th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. this.options = {
  2. title: {
  3. text: 'Emotions',
  4. x: -20 //center
  5. },
  6. subtitle: {
  7. text: 'Source: Microsoft Emotion API',
  8. x: -20
  9. },
  10. xAxis: {
  11. type: 'datetime',
  12. data: individualEmotionData["timestamp"]
  13. },
  14. yAxis: {
  15. title: {
  16. text: 'Emotion'
  17. },
  18. plotLines: [{
  19. value: 0,
  20. width: 1,
  21. color: '#808080'
  22. }]
  23. },
  24. tooltip: {
  25. valueSuffix: '°C'
  26. },
  27. legend: {
  28. layout: 'vertical',
  29. align: 'right',
  30. verticalAlign: 'middle',
  31. borderWidth: 0
  32. },
  33. series: [{
  34. name: 'Anger',
  35. data: individualEmotionData["anger"],
  36. color: this.emotionColor.anger
  37. }, {
  38. name: 'Contempt',
  39. data: individualEmotionData["contempt"],
  40. color: this.emotionColor.contempt
  41. }, {
  42. name: 'Disgust',
  43. data: individualEmotionData["disgust"],
  44. color: this.emotionColor.disgust
  45. }]
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement