Skip to content

Built-in web UI: add an ability to change the number of bars displayed on the bar chart #956

@valyala

Description

@valyala

Is your feature request related to a problem? Please describe

The web UI doesn't allow changing the number of bars displayed on the bar chart, since it is hard coded. Sometimes it is needed to be able to change the number of displayed bars.

Describe the solution you'd like

To add bars count dropdown to the bar chart with the following options: 12, 24, 48, 96, 288, 620, 1240. By default 96 must be selected, e.g. 96 bars must be displayed by default on the selected time range.

Why the proposed bars counts have such strange values? Because they align well with integer time steps. This simplifies bar chart analysis. For example, if 24 hours time range is selected, then every bar on the bar chart equals to the following intervals for the proposed bars count values:

  • 12 - 2 hours
  • 24 - one hour
  • 48 - 30 minutes
  • 96 - 15 minutes
  • 288 - 5 minutes
  • 620 - 2 minutes
  • 1240 - one minute

The bar count dropdown must work for hits bar chart and for stats bar chart.

Describe alternatives you've considered

No response

Additional information

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestweb-uiIssues related to the user interface: layout, styling, usability, or UI-specific bugs.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions