Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve ticks formatting/count for Log scale #1217

Open
3 tasks done
Tracked by #2320
qn895 opened this issue Jun 22, 2021 · 1 comment
Open
3 tasks done
Tracked by #2320

Improve ticks formatting/count for Log scale #1217

qn895 opened this issue Jun 22, 2021 · 1 comment
Labels
:axis Axis related issue enhancement New feature or request kibana cross issue Has a Kibana issue counterpart :xy Bar/Line/Area chart related

Comments

@qn895
Copy link
Member

qn895 commented Jun 22, 2021

Is your feature request related to a problem? Please describe.
Currently, setting Axis.ticks in for an AreaSeries doesn’t seem to work if the axis scale is log. It works as expected if the scale is linear.

For example, the following are with the y axis.ticks = 5. Top is linear scale and bottom is log scale.
Screen Shot 2021-06-22 at 12 15 06
Screen Shot 2021-06-22 at 12 15 27

As such, it would be good to be able to either set the approximate tick counts or have a better way to show the labels without all of them look overcrowded

Kibana Cross Issues
Small part of elastic/kibana#99905 PR

Checklist

  • this request is checked against already exist requests
  • every related Kibana issue is listed under Kibana Cross Issues list
  • kibana cross issue tag is associated to the issue if any kibana cross issue is present
@qn895 qn895 added enhancement New feature or request kibana cross issue Has a Kibana issue counterpart :xy Bar/Line/Area chart related labels Jun 22, 2021
@nickofthyme nickofthyme added the :axis Axis related issue label Jun 23, 2021
@nickofthyme
Copy link
Collaborator

nickofthyme commented Apr 11, 2024

Also need to find a way to account for precision in formatting...

image

Also avoid rendering 0 label when value is not actually 0 but 0.001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:axis Axis related issue enhancement New feature or request kibana cross issue Has a Kibana issue counterpart :xy Bar/Line/Area chart related
Projects
None yet
Development

No branches or pull requests

2 participants