fixed a bug.

This commit is contained in:
Martin Preuss
2025-12-30 14:43:50 +01:00
parent 0325d51c0e
commit e3eb5cc901

View File

@@ -32,7 +32,7 @@ AQDG_GRAPH_DATAPAIR_LIST *AQDG_Data_DaySums(const AQDG_GRAPH_DATAPAIR_LIST *dpLi
while(dp) {
double v;
v=AQDG_Graph_DataPair_GetValueX(dp);
v=AQDG_Graph_DataPair_GetValueY(dp);
if (lastDate==NULL) {
/* first value */
lastDate=GWEN_Date_fromLocalTime(AQDG_Graph_DataPair_GetValueX(dp));