This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository echart.
View the commit online.
commit ca9aabeea304ea287aca7abdab60b291794e2132
Author: Vincent Torri <[email protected]>
AuthorDate: Fri Apr 3 07:20:51 2026 +0200
fix y coordinates
---
src/lib/echart_line.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/echart_line.c b/src/lib/echart_line.c
index 8f41cfc..393b1ec 100644
--- a/src/lib/echart_line.c
+++ b/src/lib/echart_line.c
@@ -13,7 +13,7 @@
*============================================================================*/
#define X_VG(x) (w - 1) * ((x) - xmin) / (xmax - xmin)
-#define Y_VG(y) (h - 1) * ((y) - sd->ymin) / (sd->ymax - sd->ymin)
+#define Y_VG(y) (h - 1) * (sd->ymax - (y)) / (sd->ymax - sd->ymin)
typedef struct Chart_Line Chart_Line;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.