Closed ihasTaco closed 1 year ago
testing a quick fix for this!
I am still testing this but alpha.2 release should fix this issue
I had to make a new server to test this and am currently waiting for it to fill with data, so I will have a confirmation in a day or so!
This issue has been fixed with the new develop build
In the current implementation of ServerQuery, the trend line on the graph starts from the left side and moves towards the right. This behavior contradicts the expected flow of time, as newer data points should appear on the right side of the graph, causing the line to move from right to left.
This issue might cause confusion among users, as they might interpret the graph as displaying data in reverse chronological order.
We need to adjust the graph generation logic to ensure the trend line starts from the right side of the graph, representing the most recent data, and moves to the left as new data points are added.
Steps to Reproduce:
Expected Outcome: The trend line should start from the right side of the graph and move left as new data points are added, representing the flow of time correctly.
Actual Outcome: The trend line starts from the left side of the graph and moves to the right, which could lead to misinterpretation of the graph data.
Possible Solution During development, the 'Player Amount' line exhibited similar behavior. The solution was to pad the 'Players' variable with zeroes until it was completely populated. Applying the same technique to the 'trend_data' should resolve this issue. Importantly, this change will not affect the server_info.json file, as the adjustment is made within the graph script itself and is not written to the JSON file.