app
app copied to clipboard
Inconsistent Label Behavior in Custom Charts (Analytics Section)
Description:
There is an issue with custom charts in the Analytics section. The behavior of labels is inconsistent depending on the selected option in the Labels field:
- When selecting "Title" or "Title and %", the query title is displayed on the chart.
- When selecting "Title and tests amount" or "Title, tests amount and %", the query itself is used as the label instead.
- This inconsistency makes it unclear which labeling logic is applied.
- Additionally, very long queries can overlap the entire chart, making it unreadable.
- The percentage (%) value is missing when selecting "Title, tests amount and %", even though it should be displayed.
To Reproduce
- Navigate to the Analytics section -> Custom Charts -> Create new chart -
/projects/{project_id}/analytics/charts/new - Create a custom chart, add query with query title.
- Select different Label options.
- Observe that:
- Long queries overlap the chart when selecting "Title and tests amount" or "Title, tests amount and %"
- The percentage (%) is missing when selecting "Title, tests amount and %".
Expected behavior
- Labels should follow a consistent logic across all selection options. When selecting Label "Title ..." should be displayed query title.
- The percentage (%) should be displayed when selecting "Title, tests amount and %".
Screenshots
@seusur Hello! Please show your list of queries if possible
@seusur please try adding titles as it is shown above
@littlefrontender hello! Screenshot:
Hi @seusur ! Thanks for reporting the issue. The issue was fixed.