1.0.4 • Published 5 months ago

@xuda.io/xuda-ui-plugin-gaugejs v1.0.4

Weekly downloads
-
License
Proprietary softw...
Repository
-
Last release
5 months ago

Xuda Gauge.js Plugin

The Xuda Gauge.js Plugin integrates the versatile Gauge.js library into Xuda.io, providing customizable and animated gauges for data visualization. Perfect for displaying performance metrics, progress tracking, or any data that requires a sleek, visual representation.


Features

  • Customizable Gauges: Adjust arc angles, colors, pointer settings, and more.
  • Dynamic Values: Update gauge values in real-time.
  • Animated Transitions: Smooth animations for value changes.
  • Xuda Compatibility: Fully integrates with Xuda.io properties and UI components.

Installation in Xuda Platform

  1. Log in to your project on Xuda.io.
  2. Navigate to the Plugins tab in the project node.
  3. Locate the Xuda Gauge.js Plugin.
  4. Install the plugin by toggling the activation button.

Usage in Xuda Studio

  1. Open Xuda Studio on Xuda.io.
  2. Select a UI component where the gauge should be displayed.
  3. Scroll down in the Properties Pane to locate the plugin options.
  4. Activate the Xuda Gauge.js Plugin and configure its settings.

Example Configuration in Xuda Studio

PropertyValue
gauge_angle0.15
gauge_line_width0.44
gauge_color_start#6FADCF
gauge_color_stop#8FC0DA
gauge_max_value100
gauge_value75

Plugin Properties

PropertyTypeDescriptionDefault Value
gauge_anglenumberThe span of the gauge arc (e.g., 0.15 for a partial arc).0.15
gauge_line_widthnumberThe thickness of the gauge line.0.44
gauge_pointer_lengthnumberThe length of the pointer relative to the gauge radius.0.9
gauge_pointer_stroke_widthnumberThe thickness of the pointer stroke.0.035
gauge_color_startstringThe starting color of the gauge arc.#6FADCF
gauge_color_stopstringThe ending color of the gauge arc.#8FC0DA
gauge_stroke_colorstringThe color of the background arc.#E0E0E0
gauge_max_valuenumberThe maximum value of the gauge.100
gauge_min_valuenumberThe minimum value of the gauge.0
gauge_valuenumberThe initial value displayed by the gauge.0