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

[🐛 BUG] Metric's type="none" does not work #1416

Closed
2 of 4 tasks
FabienLelaquais opened this issue Jun 17, 2024 · 0 comments · Fixed by #1417
Closed
2 of 4 tasks

[🐛 BUG] Metric's type="none" does not work #1416

FabienLelaquais opened this issue Jun 17, 2024 · 0 comments · Fixed by #1417
Assignees
Labels
GUI: Front-End 💥Malfunction Addresses an identified problem. 🟥 Priority: Critical Must be addressed as soon as possible

Comments

@FabienLelaquais
Copy link
Member

What went wrong? 🤔

Even if the type property of the metric element is set to "none", the gauge shows up anyway.

Expected Behavior

No response

Steps to Reproduce Issue

The gauge should not be displayed in the following code:

import taipy.gui.builder as tgb
from taipy.gui import Gui

temperature = 23.2

with tgb.Page() as page:
    tgb.metric("{temperature}", type="none")

Gui(page).run()

Solution Proposed

No response

Screenshots

No response

Runtime Environment

No response

Browsers

No response

OS

No response

Version of Taipy

No response

Additional Context

No response

Acceptance Criteria

  • Ensure new code is unit tested, and check code coverage is at least 90%.
  • Create related issue in taipy-doc for documentation and Release Notes.

Code of Conduct

  • I have checked the existing issues.
  • I am willing to work on this issue (optional)
@FabienLelaquais FabienLelaquais added 🟥 Priority: Critical Must be addressed as soon as possible 💥Malfunction Addresses an identified problem. GUI: Front-End labels Jun 17, 2024
@FabienLelaquais FabienLelaquais self-assigned this Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI: Front-End 💥Malfunction Addresses an identified problem. 🟥 Priority: Critical Must be addressed as soon as possible
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant