Menu
Libraries |
Category

uplot-wrappers

  • A collection of [uPlot](https://github.com/leeoniya/uPlot 'uPlot' fa-solid fa-up-right-from-square) wrappers for declarative chart usage in various frameworks.
  • Purpose: Provides efficient uPlot chart integration that minimizes instance recreation by leveraging uPlot's public API for updates.
  • Key Features:
    • Avoids unnecessary uPlot instance recreation when props change
    • Maintains chart state through updates when possible
  • Supported Frameworks:
    • Svelte: Compatible with both Svelte and SvelteKit projects
    • React (16.8+)
    • Vue.js (2.6 and 3.x)
  • Core Parameters:
    • options (required): uPlot configuration
    • data (required): Chart data
    • target (optional): DOM element for rendering
    • Callbacks: onCreate and onDelete for instance lifecycle events
  • Demo Availability:
    • Live demos available for all frameworks
    • Local demo execution possible via repository clone

chartsuplotreactwrappervuesvelte

Comments