@super-chart/chart-widget-react
v0.2.9
Published
React wrapper for the Super Chart embeddable widget
Downloads
1,352
Maintainers
Readme
@super-chart/chart-widget-react
React wrapper for @super-chart/chart-widget.
商业闭源,仅供授权集成方使用。
Install
pnpm add @super-chart/chart-widget-react @super-chart/chart-widgetPeer dependency: react ^18 or ^19.
import '@super-chart/chart-widget/styles.css'Quick start
import { FinancialChartWidget } from '@super-chart/chart-widget-react'
import '@super-chart/chart-widget/styles.css'
export function DemoWidget() {
return (
<FinancialChartWidget
chartOptions={{ symbol: 'DEMO', preset: 'trading' }}
data={[
{ time: Date.parse('2026-07-27T09:30:00.000+08:00'), open: 100, high: 103, low: 99, close: 102 },
{ time: Date.parse('2026-07-27T09:31:00.000+08:00'), open: 102, high: 105, low: 101, close: 104 },
]}
/>
)
}Docs
https://danhuaxiansheng.github.io/super-chart-platform/
License
UNLICENSED — authorized use only.
