wso2 / api-manager

All issues, tasks, improvements and new features of WSO2 API Manager
Apache License 2.0
34 stars 8 forks source link

Right Type of Plots for Usage/Traffic #3358

Open nadheesh opened 1 week ago

nadheesh commented 1 week ago

Problem

What is the best plot type for usage or traffic data? Line plots may not be ideal, as their shape and scale can vary depending on the bin size used to aggregate data, especially when adjusting the plot’s time range. Below is an example illustrating this issue:

Screenshot 2024-11-14 at 10 33 19

Additionally, using a solid fill under line plots can sometimes be misleading, as it may cause them to resemble bar plots visually:

Screenshot 2024-11-14 at 10 35 07

Solution

Use bar plots, as they are ideal for displaying discrete counters. Each bar can accurately represent a bin (e.g., 1 minute, 15 minutes, 1 hour, 1 day).

Alternatively, if using line plots, consider making the solid fill transparent to avoid any potential misinterpretation.

Affected Component

Analytics

Version

4.4.0

Implementation

No response

Related Issues

No response

Suggested Labels

No response