Skip to content

New Tick mode for evenly spaced X number of ticks #6023

@jparac

Description

@jparac

Is your feature request related to a problem? Please describe.
Currently when we want to add x number of ticks that are spaced evenly we would use At Percent mode and input values depending on how many ticks we need.
For example if I want to split progress bar into 4 sections I would need 3 ticks at positions 25, 50 and 75.
This works great for numbers where dividing 100 returns natural numbers.

However, when this is not the case when the result are decimal values.

This also increases in complexity when we have conditions setup for variable tick count (e.g. monk chi depending on talents)

Describe the solution you'd like
Add an additional mode, lets call it spaced evenly. This mode would only take the number of ticks we would like to display and Weakauras will calculate the positions automatically.
Some examples:

  1. We enter 4. The calculated positions are 20, 40, 60 and 80
  2. We enter 2. The calculated positions are 33.33 and 66.66

Additional context
Current implementation of ticks with progress bar divided into 7 equal sections.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    🎨 Feature RequestThis is a request for a new feature, or an expansion of an existing feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions