Skip to content

Minimum height feature for bar chart#29359

Merged
AtishayMsft merged 15 commits into
microsoft:masterfrom
Shubhabrata08:minimum-height-feature-bar-chart
Oct 4, 2023
Merged

Minimum height feature for bar chart#29359
AtishayMsft merged 15 commits into
microsoft:masterfrom
Shubhabrata08:minimum-height-feature-bar-chart

Conversation

@Shubhabrata08

Copy link
Copy Markdown
Contributor

New Behavior

image

Related Issue(s)

Can this be a viable way to implement this? As changing props can be a contract change for the component and might be a breaking change?
Basically setting the minimum scaled height for all non-zero values to 1.
If this is a viable way, I can proceed with updating the tests.
PS: I have quite less experience in this...

@Shubhabrata08 Shubhabrata08 requested a review from a team as a code owner October 2, 2023 15:21
@codesandbox-ci

codesandbox-ci Bot commented Oct 2, 2023

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 40e3863:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@AtishayMsft

Copy link
Copy Markdown
Contributor

/azp run Fluent UI React - PR and CI

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@Shubhabrata08

Copy link
Copy Markdown
Contributor Author

Finalized the scaling logic
image
image
@AtishayMsft

@AtishayMsft

Copy link
Copy Markdown
Contributor

/azp run Fluent UI React - PR and CI

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@Shubhabrata08

Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree

@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 29359 in repo microsoft/fluentui

@Shubhabrata08

Copy link
Copy Markdown
Contributor Author

@AtishayMsft , I have added the changelog as well.

@AtishayMsft

Copy link
Copy Markdown
Contributor

/azp run Fluent UI React - PR and CI

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@Shubhabrata08

Copy link
Copy Markdown
Contributor Author

@AtishayMsft Please have a look at the changes for the Vertical stacked charts

@Shubhabrata08

Copy link
Copy Markdown
Contributor Author

@AtishayMsft Are there any more changes required in this issue?

@AtishayMsft

Copy link
Copy Markdown
Contributor

/azp run Fluent UI React - PR and CI

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@AtishayMsft

Copy link
Copy Markdown
Contributor

/azp run Fluent UI React - PR and CI

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@AtishayMsft AtishayMsft enabled auto-merge (squash) October 4, 2023 13:30
@AtishayMsft

Copy link
Copy Markdown
Contributor

/azp run Fluent UI React - PR and CI

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@AtishayMsft

Copy link
Copy Markdown
Contributor

/azp run Fluent UI React - PR and CI

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@AtishayMsft

Copy link
Copy Markdown
Contributor

/azp help

@azure-pipelines

Copy link
Copy Markdown
Supported commands
  • help:
    • Get descriptions, examples and documentation about supported commands
    • Example: help "command_name"
  • list:
    • List all pipelines for this repository using a comment.
    • Example: "list"
  • run:
    • Run all pipelines or specific pipelines for this repository using a comment. Use this command by itself to trigger all related pipelines, or specify specific pipelines to run.
    • Example: "run" or "run pipeline_name, pipeline_name, pipeline_name"
  • where:
    • Report back the Azure DevOps orgs that are related to this repository and org
    • Example: "where"

See additional documentation.

@AtishayMsft

Copy link
Copy Markdown
Contributor

/azp list

@azure-pipelines

Copy link
Copy Markdown

@AtishayMsft

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 4 pipeline(s).

@fabricteam

Copy link
Copy Markdown
Collaborator

📊 Bundle size report

🤖 This report was generated against 401ff6d9af9536b24ab3c52c658127d19706e030

@fabricteam

Copy link
Copy Markdown
Collaborator

🕵 fluentuiv8 No visual regressions between this PR and main

@size-auditor

size-auditor Bot commented Oct 4, 2023

Copy link
Copy Markdown

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: 401ff6d9af9536b24ab3c52c658127d19706e030 (build)

@AtishayMsft AtishayMsft merged commit b4611f7 into microsoft:master Oct 4, 2023
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Oct 4, 2023
* master: (35 commits)
  bugfix(react-dialog): removes context hooks invocations from styles hook (microsoft#29396)
  chore(react-dialog): exports DialogSurface context types and hooks (microsoft#29397)
  Minimum height feature for bar chart (microsoft#29359)
  (feat) Breadcrumb - register items via context (microsoft#29393)
  fix: Consider all parents as scroll parents (microsoft#29378)
  Changes to enable charting on fluent docsite (microsoft#29210)
  bugfix: ensure TreeItem emits events properly (microsoft#29390)
  chore(deps): bump get-func-name from 2.0.0 to 2.0.2 (microsoft#29320)
  chore: migrate from getNativeElementProps to getIntrinsicElementProps (microsoft#29387)
  applying package updates
  applying package updates
  fix: Icon in disabled Button shouldn't change color on hover or pressed (microsoft#29342)
  Squish changes for rebase (microsoft#28705)
  fix: GroupedListV2 scrollToIndex now works correctly (microsoft#29332)
  Fix 27482: ProgressBar has an optional state variable  (microsoft#29366)
  remove a11y test ux from theme designer (microsoft#29379)
  feat: preview release (microsoft#29377)
  Fixed divider in the tooltip (microsoft#29357)
  fix (microsoft#29376)
  docs: Initial documentation pass (microsoft#29372)
  ...
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.

[Feature]: Add barMinimumHeight property to VerticalBarChart

3 participants