Voltage meter using arduino, hm10 and blynk

Hello guys! Its my first time trying out for Blynk. Originally i have the code below:

void setup() {
// initialize serial communication at 9600 bits per second:
// the loop routine runs over and over again forever:
void loop() {
// read the input on analog pin 0:
int sensorValue = analogRead(A0);
// Convert the analog reading (which goes from 0 - 1023) to a voltage (0 - 250V):
float voltage = sensorValue * (500.0 / 1024.0);
// print out the value you read:
Serial.print(“AC Voltage: “);
Serial.println(” Volts”);

Now, i want the value of “voltage” to appear in the GRAPH widget. This is my first time to use Blynk.
kindly guide me. I would appreciate help. Thanks

@Zee_Atz welcome to Blynk.

Have you got your MCU connected to Blynk without the voltage meter sketch?

What MCU are you using?

Android or iOS?

Please don’t post unformatted code, see guidelines.

thanks. Im using Arduino ATMEGA2560. Im using an Android Phone. What i mean is that, i have an arduino sketch but i want to enhance my sketch in order for me to view the Analog data in the graph.

Send the analogue data to a value display and graph the value display virtual pin.