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

Add logarithmic scale for bar charts #7939

Merged
merged 3 commits into from
Aug 9, 2016

Conversation

thomasneirynck
Copy link
Contributor

This addresses #5708.

It only adds the drop down selection. Because this UI-snippet binds to the y-axis component, the new scaling method is applied automatically.

Also removed some unused variables due to linting.

@jbudz
Copy link
Member

jbudz commented Aug 8, 2016

Code looks good, can we double check log and sqrt work for stacked bar charts? #3437 implies this might have complications.

@thomasneirynck
Copy link
Contributor Author

thomasneirynck commented Aug 8, 2016

@jbudz thanks for pointing this out. You can't compare the individual segments of stacked bar charts when the scaling isn't linear.. #3437 is more correct in that sense.

I'd propose to rework this and disable this option for stacked charts.

@jbudz
Copy link
Member

jbudz commented Aug 9, 2016

jenkins, test this

1 similar comment
@thomasneirynck
Copy link
Contributor Author

jenkins, test this

@spalger spalger self-assigned this Aug 9, 2016
@spalger
Copy link
Contributor

spalger commented Aug 9, 2016

@thomasneirynck in the future it would be great if the error refactoring here could be done in a separate PR

@spalger
Copy link
Contributor

spalger commented Aug 9, 2016

LGTM

@thomasneirynck
Copy link
Contributor Author

jenkins, test this

The bar chart visualization already seemed to support it, but the UI-form
was not included in the template.

Also applied some linter corrections.
Still allow non-linear scaling for side-by-side displays of columns.

Included small refactor to reduce some of the error handling footprint.
@thomasneirynck
Copy link
Contributor Author

jenkins, test this

1 similar comment
@thomasneirynck
Copy link
Contributor Author

jenkins, test this

@thomasneirynck thomasneirynck merged commit 0c9e30c into elastic:master Aug 9, 2016
@thomasneirynck thomasneirynck deleted the fix/5708 branch August 10, 2016 23:12
airow pushed a commit to airow/kibana that referenced this pull request Feb 16, 2017
Add logarithmic scale for bar charts

Former-commit-id: 0c9e30c
cee-chen added a commit that referenced this pull request Aug 5, 2024
`v95.5.0` ⏩ `v95.6.0`

_[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_

---

## [`v95.6.0`](https://github.com/elastic/eui/releases/v95.6.0)

- Updated `EuiIcon` with a new `crossInCircle` glyph
([#7924](elastic/eui#7924))

**Bug fixes**

- Fixed `EuiEmptyPrompt` to correctly collapse and expand responsively
when used with custom breakpoints larger than the default `xl`
breakpoint ([#7935](elastic/eui#7935))

**Accessibility**

- Improved the experience of `EuiModal` by ensuring nested `EuiPopover`
closes on `Escape` keypress instead of the modal
([#7939](elastic/eui#7939))

**CSS-in-JS conversions**

- Converted `EuiDatePicker` to Emotion
([#7937](elastic/eui#7937))
  - Removed `$euiDatePickerCalendarWidth`
  - Removed `$euiDatePickerPadding`
  - Removed `$euiDatePickerGap`
  - Removed `$euiDatePickerCalendarColumns`
  - Removed `$euiDatePickerButtonSize`
  - Removed `$euiDatePickerMinControlWidth`
  - Removed `$euiDatePickerMaxControlWidth`
  - Removed `@mixin datePickerCaret`
  - Removed `@mixin datePickerArrow`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants