New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

reflex-echarts

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reflex-echarts

Reflex Wrapper for echarts-for-react library.

  • 0.0.1
  • PyPI
  • Socket score

Maintainers
1

reflex-echarts

A Reflex wrapper for echarts-for-react library.

Installation

pip install reflex-echarts

Usage

See echarts_demo/echarts_demo.py for a working example.

Props are based on the echarts-for-react library, so please refer to the documentation there for further explanation.

Themes

Themes can be set by passing a theme prop to the ECharts component.

To load custom themes, provide the JS code that ultimately calls echarts.registerTheme as a string to the register_theme_code prop (this cannot be a State Var).

Limitations

  • Event handling is not yet implemented.
  • Inline functions for formatters and data key extraction is not implemented. Due to how the chart option is serialized as JSON, there is not a clean way to pass inline functions from the Python backend to the Javascript frontend.
  • All chart types are available, which increases the bundle size of the application. There is not currently a mechanism to only include the chart types which are used.
  • Cannot figure out how to load external themes from a JS file...

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc