Skip to content

Solid uPlot #1061

Open
Open
@thedanchez

Description

@thedanchez

In case anyone is interested, I recently published @dschz/solid-uplot -- a SolidJS wrapper for uPlot so that it can be used as a JSX component. I worked with uPlot in the past and thought it was a super cool library and I believe Solid + uPlot is an incredible marriage that could unlock patterns that perhaps weren't possible before. Wanted to play my part in making the library more accessible to others.

The Solid version does more than just wrap around it. I decided to enhance the plugin system a bit by introducing a plugin bus system that allows plugins to talk to each other so that you could compose and orchestrate plugins together with less friction on the dev side.

I provide four plugins out of the box that serve as "primitives" for others to build on if they're interested:

  • cursor
  • focusSeries
  • tooltip
  • legend

The legend is more of an opinionated one but the others are definitely more fundamental I think.

Hope this all helps!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions