Skip to content

Trend Line Data Does Not Affect Graph Height #12

@ihasTaco

Description

@ihasTaco

In the current implementation of ServerQuery, the trend line data does not influence the height of the graph. Instead, the graph's height is determined solely by the maximum player count multiplied by two. This could lead to a misleading representation of the trend data, as the trend line may appear less prominent on the graph than it should be.

To enhance the accuracy and readability of the graph, the trend line data should be considered when determining the graph's height.

Steps to Reproduce:

  • Run the ServerQuery bot and let it gather data.
  • Observe the graph height and its relation to the trend line data.

Expected Outcome:

The graph height should adapt to the larger of the two values: the maximum player count (doubled) or the trend line data.

Actual Outcome:

The graph height is only influenced by the maximum player count (doubled), and does not adjust to accommodate the trend line data.

Suggested Fix:

Adjust the graph generation logic to consider both the maximum player count and the trend line data when setting the graph height. The graph height should be set to the larger of these two values to ensure an accurate and proportional representation of the trend data.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions