Installation

One package covers every platform. There is nothing else to add for iOS or Android — the native modules ship inside it.

npm install @hzblj/zyplot
No stylesheet import. Zyplot includes its compiled styles through the JavaScript entry point. Your application does not need Tailwind CSS.

Entry points

A plain @hzblj/zyplot import resolves to the renderer the current target needs, and gives you the chart forms that exist everywhere. The three subpaths name a platform outright, and are how you reach forms only one renderer has.

PropTypeDefaultDescription
@hzblj/zyplotany targetResolves per target: ECharts and uPlot on the web, the native module under React Native. Exposes the twenty-one shared forms.
@hzblj/zyplot/webwebThe DOM renderer, and the only entry with Chart.Frame, Chart.Legend and a .Skeleton on every form.
@hzblj/zyplot/iosiOSShared forms plus Chart.Range and Chart.Rule, widened with the Swift Charts axis options.
@hzblj/zyplot/androidAndroidShared forms plus Chart.Lollipop and Chart.Waterfall, widened with the Compose axis options.