Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.options = {
- title: {
- text: 'Emotions',
- x: -20 //center
- },
- subtitle: {
- text: 'Source: Microsoft Emotion API',
- x: -20
- },
- xAxis: {
- type: 'datetime',
- data: individualEmotionData["timestamp"]
- },
- yAxis: {
- title: {
- text: 'Emotion'
- },
- plotLines: [{
- value: 0,
- width: 1,
- color: '#808080'
- }]
- },
- tooltip: {
- valueSuffix: '°C'
- },
- legend: {
- layout: 'vertical',
- align: 'right',
- verticalAlign: 'middle',
- borderWidth: 0
- },
- series: [{
- name: 'Anger',
- data: individualEmotionData["anger"],
- color: this.emotionColor.anger
- }, {
- name: 'Contempt',
- data: individualEmotionData["contempt"],
- color: this.emotionColor.contempt
- }, {
- name: 'Disgust',
- data: individualEmotionData["disgust"],
- color: this.emotionColor.disgust
- }]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement