Skip to main content

The Gaugechart custom component is a Reflex wrapper for the popular react-gauge-chart React library. It provides a visually appealing and highly customizable gauge chart component, ideal for displaying percentage values or progress in a sleek, modern format.

Project description

Reflex Gaugechart

The Reflex Gaugechart custom component is a Reflex wrapper for the popular react-gauge-chart React library.

It provides a visually appealing and highly customisable gauge chart component, ideal for displaying percentage values or progress in a sleek, modern format.

Features

  • Intuitive Design: Displays data in an easy-to-understand gauge format.
  • Customisable Appearance: Allows control over colours, needle size, arc width, and more.
  • Responsive Layout: Automatically adjusts to fit the parent container.
  • Dynamic Updates: Smoothly animates value changes for real-time data visualisation.
  • Integration Ready: Seamlessly integrates into Reflex applications, inheriting the framework's reactive capabilities.

Installation

pip install reflex-gaugechart

Properties

The Gaugechart component supports the following customisable props:

  • id: A unique identifier for the component.
  • value: The current value to display on the gauge (e.g., 0.5 for 50%).
  • colors: An array of colors for the gauge segments (e.g., ["#FF0000", "#FFFF00", "#00FF00"]).
  • arcWidth: Adjusts the width of the gauge arc.
  • needleColor: Sets the color of the needle.
  • textColor: Defines the color of the percentage text.
  • hideText: Boolean to toggle visibility of the percentage text.
  • animate: Boolean to enable or disable animation during value changes.
  • animationDuration: Specifies the duration of animations (in seconds).
  • animationEasing: Defines the easing function for animations.

Use Case Scenarios

  1. IoT Dashboards: Display sensor readings, such as temperature or humidity levels.
  2. Business Metrics: Show KPIs like sales targets or project progress.
  3. Health Monitoring: Visualise fitness or health-related metrics.
  4. Gaming: Represent player stats or game progress.

The Gaugechart component brings together the power of react-gauge-chart with Reflex's reactive framework, making it a great choice for developers looking to add polished data visualisations to their applications.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reflex_gaugechart-0.1.1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reflex_gaugechart-0.1.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file reflex_gaugechart-0.1.1.tar.gz.

File metadata

  • Download URL: reflex_gaugechart-0.1.1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for reflex_gaugechart-0.1.1.tar.gz
Algorithm Hash digest
SHA256 17b628c3b78cd46c6429665f6dc6624ab3c050af3e7bb0df86f2c6f09a6e33d1
MD5 f9a53d65ff4818a93995b6fa765fba6f
BLAKE2b-256 fe234d79371a9fe66435da75a6e3fa8792ae045b521df97270a8fd4281a4d3d1

See more details on using hashes here.

File details

Details for the file reflex_gaugechart-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for reflex_gaugechart-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eabaa4dbe5d2b44a712d7bd33b57c45d0ce7afd3f7a60e04e722c6413639ad79
MD5 a1532f42c6b252371f9df9ff430bb07e
BLAKE2b-256 f34714935571e8a989ba4268ad34559f29cf288150f452445a4272c90e8fb2ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page