Docs menu

Native Components

Trend Chart Pro

A premium bounded engineering-history card for SCADA, HMI and monitoring dashboards. PROVEN on the current ESP32-P4 evidence ledger.

#6 — Trend Chart Pro

Trend Chart Pro in the implemented ForgeUI Native Component library.

A premium bounded engineering-history card for SCADA, HMI and monitoring dashboards.

  • Premium industrial HMI
  • Energy dashboards
  • Marine systems
  • Engineering telemetry

Inspector capabilities and presentation

  • Five to 120 history points
  • Major grid, area fill, trace glow and current marker
  • Automatic or fixed scaling
  • Warning and alarm threshold bands

The component remains one serialized Canvas object. Browser Preview, Live Studio and Standalone Export consume its normalized semantic model while internal LVGL composition stays private.

Generated Runtime SDK family

c
void FG_Add_<TrendChartPro>_Point(float value);
void FG_Clear_<TrendChartPro>(void);
void FG_Set_<TrendChartPro>_Units(const char * units);
void FG_Set_<TrendChartPro>_Warning(float value);
void FG_Set_<TrendChartPro>_Alarm(float value);

Interaction and UserEvents

c
void FG_On_<TrendChartPro>_Point_Added(float value);
void FG_On_<TrendChartPro>_Warning(void);
void FG_On_<TrendChartPro>_Alarm(void);
void FG_On_<TrendChartPro>_Recovered(void);

Optional callbacks report point addition and threshold-state transitions; warning, alarm and recovery fire only on state changes.

Where hooks exist, implement the exact declarations in 95_UserEvents.c. Runtime SDK calls never simulate user input.

Ownership boundary

ForgeUI owns semantic presentation, private LVGL composition, generated contracts, persisted identity, fixed storage and Browser/Live/Standalone alignment.

Browser, Live, Standalone and ESP32-P4 status

SurfaceStatus
Browser PreviewImplemented
Live StudioImplemented
Standalone ExportImplemented
Persisted identity and duplicate isolationImplemented
ESP32-P4PROVEN