-
Notifications
You must be signed in to change notification settings - Fork 133
Auto min value on log scale #916
Copy link
Copy link
Labels
:axisAxis related issueAxis related issueenhancementNew feature or requestNew feature or requestkibana cross issueHas a Kibana issue counterpartHas a Kibana issue counterpartreleasedIssue released publiclyIssue released publicly
Metadata
Metadata
Assignees
Labels
:axisAxis related issueAxis related issueenhancementNew feature or requestNew feature or requestkibana cross issueHas a Kibana issue counterpartHas a Kibana issue counterpartreleasedIssue released publiclyIssue released publicly
Type
Fields
Give feedbackNo fields configured for issues without a type.
Is your feature request related to a problem? Please describe.
When using a log scale the min value is hard coded to
1.elastic-charts/src/scales/constants.ts
Line 40 in f99ba1f
This causes issues in charts with a dataset with values less than
1causing the values to not be shown.https://codesandbox.io/s/happy-fog-pkd1j?file=/src/App.tsx
Describe the solution you'd like
EC should detect the min value from the data. Also, allow users to set the min log value via settings.
Describe alternatives you've considered
Setting explicit min domain value.
Kibana Cross Issues
elastic/kibana#83917
Checklist
Kibana Cross Issueslistkibana cross issuetag is associated to the issue if any kibana cross issue is present