   color_t bar_colors[3] = {RED, GREEN, BLUE};
   for (int i = 0; i < 3; i++) {
     bars[i].setBounds(10 + i * 25, 20, 23, 200);
-    bars[i].setRange(0.0F, 4096.0F);
+    bars[i].setRange(-4096.0F, 4096.0F);
     bars[i].setColor(CONTENT, bar_colors[i]);
     display.addWidget(bars[i]);
   }

  int dx = (int) ((float) (compass_rad - 2) * cos(angle));
  int dy = (int) ((float) (compass_rad - 2) * sin(angle));
  display.drawLine(compass_x + dx, compass_y + dy, compass_x, compass_y, color);
}

  MagnetometerRaw raw = compass.ReadRawAxis();

  // Obtain the x/y/z values
  float x = (float) raw.XAxis;
  float y = (float) raw.YAxis;
  float z = (float) raw.ZAxis;
  bars[0].setValue(x);
  bars[1].setValue(y);
  bars[2].setValue(z);
