Commit Graph

88 Commits

Author SHA1 Message Date
Martin Preuss
0325d51c0e share more code. 2025-12-30 12:58:12 +01:00
Martin Preuss
2a641f7a25 add margins also for x axis. 2025-12-30 12:57:49 +01:00
Martin Preuss
42c81e32ce added AQDG_Graph_DataPair_List_GetMinDiffX/Y() 2025-12-30 10:50:57 +01:00
Martin Preuss
87053c5029 clip bars to viewport. 2025-12-30 10:50:09 +01:00
Martin Preuss
fb6af5ef1b implemented vertical bars graph. 2025-12-30 10:44:57 +01:00
Martin Preuss
0ca814b677 minor reformatting. 2025-12-29 18:37:07 +01:00
Martin Preuss
f73a451bf1 add modifiers for daysums, monthsums etc. 2025-12-29 18:36:49 +01:00
Martin Preuss
082efeb57d make categoryId an uint32_t 2025-12-29 18:36:18 +01:00
Martin Preuss
93cf001454 added GenYearTicks() 2025-12-29 18:35:57 +01:00
Martin Preuss
0fa6a592aa add data functions to negate data 2025-12-29 18:35:40 +01:00
Martin Preuss
ade43e02ff add c++ decorations. 2025-12-29 18:35:15 +01:00
Martin Preuss
031357d2fb hide labels which don't fit inside the axis widget. 2025-12-26 11:21:32 +01:00
Martin Preuss
c6edc77a3d improved time ticks (need minimum of 2 ticks for highest level). 2025-12-23 21:25:11 +01:00
Martin Preuss
e03a622d08 different sizes for level 1 and level 2 ticks. 2025-12-23 20:22:46 +01:00
Martin Preuss
a2fc8cec5d further improve handling of ticks for x axis. 2025-12-23 17:18:05 +01:00
Martin Preuss
6cb0cabcb0 decreased verbosity. 2025-12-23 17:01:39 +01:00
Martin Preuss
988ad356c4 improved X-axis ticks. 2025-12-23 16:58:00 +01:00
Martin Preuss
31bc1ae0a2 added "last update" line to graph. 2025-10-23 17:27:44 +02:00
Martin Preuss
976d850c9d further improved y-axis tick generation.
now makes sure the Y axis has at least 4 labeled ticks in level 0.
2025-10-22 23:47:40 +02:00
Martin Preuss
a5c611b140 improved y axis tick generation and labeling. 2025-10-22 22:12:41 +02:00
Martin Preuss
855588a2fc improved y-tick function. 2025-10-22 20:41:51 +02:00
Martin Preuss
261c52505b improved graph. 2025-10-22 20:07:49 +02:00
Martin Preuss
b597fadeff use smaller font for legend. 2025-10-03 01:58:28 +02:00
Martin Preuss
625162bb3c implement AQDG_GRAPH_TYPE_STEPLINE 2025-10-02 23:07:15 +02:00
Martin Preuss
bf0be75ba1 use GRAY for grid. 2025-10-02 23:06:53 +02:00
Martin Preuss
d1275e2419 increase pen size for graphs. 2025-10-02 22:26:12 +02:00
Martin Preuss
6b93c9fc9f more graph use simplification.
- added AQDG_TimeGraph_ModifyDataAndAddCurve()
- AQDG_Data_MinutesMax()
- AQDG_Data_MinutesMin()
2025-10-02 22:25:53 +02:00
Martin Preuss
56b3ceed1b also install main lib headers. 2025-10-01 23:12:42 +02:00
Martin Preuss
fbd97cf64d fixed bug in install path. 2025-10-01 23:12:23 +02:00
Martin Preuss
27383022e7 simplified graph usage. 2025-10-01 23:12:04 +02:00
Martin Preuss
f11c4ded86 decreased verbosity. 2025-10-01 23:11:11 +02:00
Martin Preuss
c7be694896 use defines. 2025-10-01 23:10:58 +02:00
Martin Preuss
c4c23ccfd2 use correct min/max values from axis instead of subgraph.
subgraph contains the max/min values of the datasets while axis stores
the visible max/min values (i.e. spanned by labeled tick axis).
2025-10-01 23:10:41 +02:00
Martin Preuss
8ba319e923 simplify graph usage by putting needed function calls into one function. 2025-10-01 23:09:17 +02:00
Martin Preuss
be795689c7 decrease verbosity, allow for fixed limits. 2025-10-01 23:08:40 +02:00
Martin Preuss
b0b13aa471 make _GenHourTicks more granular. simplified tick functions. 2025-10-01 23:08:02 +02:00
Martin Preuss
1b63d50d6b decrease verbosity. 2025-10-01 23:06:48 +02:00
Martin Preuss
926f61aaa3 use logdomain. 2025-10-01 23:05:49 +02:00
Martin Preuss
bac8537939 added some more data functions.
- AQDG_Data_DayAverage() average data over days
- AQDG_Data_MinutesAverage() average data over variable minutes
2025-10-01 22:27:00 +02:00
Martin Preuss
27f4919ef3 improved tick handling, added data transformation lib 2025-09-29 21:25:54 +02:00
Martin Preuss
271372969d Graphs now have a legend. 2025-09-29 16:11:53 +02:00
Martin Preuss
3142e886b4 building a graph now basically works! 2025-09-29 14:34:16 +02:00
Martin Preuss
0c6f932765 increased verbosity. 2025-09-29 14:33:39 +02:00
Martin Preuss
b6997f3640 left Y axis and bottom x axis work. 2025-09-27 14:35:22 +02:00
Martin Preuss
97bdcb5bff more code sharing. 2025-09-25 23:27:50 +02:00
Martin Preuss
7c721b9ff6 added some functions. 2025-09-25 23:26:57 +02:00
Martin Preuss
ab41af104b enable both tests. 2025-09-24 23:35:15 +02:00
Martin Preuss
86af358cd1 share code for axis widgets. 2025-09-24 23:34:54 +02:00
Martin Preuss
91b0878ced add "value" to drawable as a general purpose variable. 2025-09-24 23:34:23 +02:00
Martin Preuss
f9c3c73825 axis: remove highest level of ticks for log10 axis ticks. 2025-09-23 22:11:36 +02:00