# Progress Card

# Preview:


Preview

This card displays a horizontal range based on a integer or a float value. It makes data visualization user friendly.


# Type:

PROGRESS_CARD


# Valid Data Types:

  • int
  • float

# Initializer:

With progress card, Initializer requires min & max range.

/* 
  Progress Card
  Valid Arguments: (ESPDash dashboard, Card Type, const char* name, const char* symbol (optional), int min, int max)
*/
Card card1(&dashboard, PROGRESS_CARD, "Progress1", "", 0, 255);

# Updaters:

card1.update(int value);
card1.update(float value);

Or, update symbol along your value:

card1.update(244, "%");