anchor.diff:            color: '#7f7f7f'
           },
           // https://plot.ly/python/overview/
  -        tickcolor: '#f00' # close
  -      },
  +        tickcolor: '#f00'
  +      },*/
         margin: {
           l: 50, r: 40
         },
  
positive.code:       }
      }
  
      datas = [bg, meds] //, carbs]
  
      Plotly.newPlot('chart', datas, layout, { displayModeBar: false })
    }
  
negative.code:       x: points(json['glucose'], 'value')['x'],
        y: points(json['glucose'], 'value')['y'],
        type: 'scatter',
        name: 'Glucose',
        line: {
          color: '#fa5100'
        }
      }
  
      var meds = {
  