fixed a bug.
This commit is contained in:
@@ -32,7 +32,7 @@ AQDG_GRAPH_DATAPAIR_LIST *AQDG_Data_DaySums(const AQDG_GRAPH_DATAPAIR_LIST *dpLi
|
|||||||
while(dp) {
|
while(dp) {
|
||||||
double v;
|
double v;
|
||||||
|
|
||||||
v=AQDG_Graph_DataPair_GetValueX(dp);
|
v=AQDG_Graph_DataPair_GetValueY(dp);
|
||||||
if (lastDate==NULL) {
|
if (lastDate==NULL) {
|
||||||
/* first value */
|
/* first value */
|
||||||
lastDate=GWEN_Date_fromLocalTime(AQDG_Graph_DataPair_GetValueX(dp));
|
lastDate=GWEN_Date_fromLocalTime(AQDG_Graph_DataPair_GetValueX(dp));
|
||||||
|
|||||||
Reference in New Issue
Block a user