Reading temperatures in graph

Hello everyone! I’m just starting now developing with blynk and i’m loving it!
I have a small problem where. I’m reading temperatures using a ds18b20 to arduino nano and sending the information via usb. I can control the nano using the blynk interface and read the temperatures if i use the value display widget. but if i use the graph widget, it doesn’t load anything.
Can you guys help me?
this is the code i’m using:

// You could use a spare Hardware Serial on boards that have it (like Mega)
#include <SoftwareSerial.h>
SoftwareSerial SwSerial(2, 3); // RX, TX
#define BLYNK_PRINT SwSerial
#include <BlynkSimpleSerial.h>
#include <OneWire.h>
#include <DallasTemperature.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "___________";

#define ONE_WIRE_BUS 10
OneWire oneWire(ONE_WIRE_BUS);
// Pass our oneWire reference to Dallas Temperature.
DallasTemperature sensors(&oneWire);

void setup()
{
  SwSerial.begin(9600);
  Blynk.begin(auth);
  // Default baud rate is 9600. You could specify it like this:
  //Blynk.begin(auth, 57600);
   sensors.begin();
}

void loop()
{
  Blynk.run();
  sensors.requestTemperatures(); // Send the command to get temperatures
  float temp = sensors.getTempCByIndex(0);
  Blynk.virtualWrite(1,temp);
}

Hi, graph doesn’t work with floats. It is already fixed. Please wait for next update.

Thanks for your reply! Can’t wait for the next update to roll out! :smiley:

Hi, I just wanted to ask if there is still a float limitation on the iOS graph widget? I am passing readings with two fractional digits (e.g. 15.01) to a virtual pin. On Android (latest release) the graph shows this resolution. On iOS the reading is rounded to the full number (15.01 to 15 and 14.99 to 14). In an value display both versions show the fractional reading correct. Where is the problem?

THX!