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

feat(core): add alignment options for gauge charts #877

Merged
merged 1 commit into from
Nov 10, 2020

Conversation

theiliad
Copy link
Member

@theiliad theiliad commented Nov 9, 2020

center | left | right alignment for gauge charts

Closes #870

@theiliad theiliad requested review from natashadecoste and a team as code owners November 9, 2020 21:39
@theiliad theiliad requested review from cal-smith and Donisius and removed request for a team November 9, 2020 21:39
Copy link
Contributor

@cal-smith cal-smith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm having a hard time visualizing what this actually does ... Maybe it would make sense to have a story for it?

@cal-smith
Copy link
Contributor

Or I suppose I could play with the config ... Interesting 🤔

@cal-smith
Copy link
Contributor

This seems like a bit of an odd fix for the situation where the graph frame is taking up too much space ... I would expect this to be a lot easier to deal with in CSS ...

I'll give this an approve, since it basically seems to just bring it inline with Donut/Pie, but I'm not sure it's the best solution for Gauge alignment.

@theiliad theiliad merged commit 5d4a621 into carbon-design-system:master Nov 10, 2020
@theiliad theiliad deleted the gauge-alignment branch November 10, 2020 15:33
JennChao added a commit to JennChao/carbon-charts that referenced this pull request Nov 17, 2020
…on-charts into sparkline-with-scale-color-option

* 'master' of https://github.com/carbon-design-system/carbon-charts: (24 commits)
  v0.41.4
  Merge pull request carbon-design-system#882 from theiliad/demo-treemap-fix
  docs(core): add theme & API tutorials to storybook (carbon-design-system#883)
  v0.41.3
  Merge pull request carbon-design-system#880 from sophiiae/fix-import-colors
  fix(core): use fill:transparent for toolbar controls (carbon-design-system#884)
  v0.41.2
  fix(core): tooltips should hide when mouseout is triggered on the chart holder (carbon-design-system#887)
  fix(core): sanitize user provided axis domains
  add treemap to the component status table
  v0.41.1
  Merge pull request carbon-design-system#719 from theiliad/tree-map
  fix(core): correct axis title paddings in y-axes (carbon-design-system#873)
  v0.41.0
  fix: use fill:none to allow transparent toolbar control background (carbon-design-system#858)
  feat(core): add alignment options for gauge charts (carbon-design-system#877)
  v0.40.14
  fix(core): replace import to lodash with lodash-es
  fix(core): only set zoombar data and sanitize date values if a cartesian time-series chart
  v0.40.13
  ...
theiliad added a commit to theiliad/carbon-charts that referenced this pull request May 17, 2021
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.

No alignment option in GaugeChart
3 participants