You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Start the ServerQuery bot and let it generate a graph. (This will take at least a day to fully fill the graph and make the trend line to start filling with data)
Observe the direction of the trend line on the graph.
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.
The text was updated successfully, but these errors were encountered:
I believe I have fixed a couple of issues:
* Possible Fix for [issue #9](#9)
* Possible Fix for [issue #1](#1)
Added a new feature
* Added a logging system
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.
The text was updated successfully, but these errors were encountered: