JSPM

zero-chart

0.0.12
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q31250F
  • License MIT

Zero dependency React candlestick chart library

Package Exports

  • zero-chart

Readme

Zero Chart

A high-performance React Candlestick Library using HTML5 Canvas.

Features

  • High Performance: Uses HTML5 Canvas for rendering.
  • Interactive: Zoom, Pan, Crosshair.
  • Multiple Chart Types: Candlestick, Line, Bar.
  • Live Data: Real-time updates.

Installation

npm install zero-chart

Usage

import { ChartCanvas } from 'zero-chart';
import 'zero-chart/dist/style.css'; // If you have styles

function App() {
  const data = [/* ... */];
  
  return (
    <div style={{ height: '500px' }}>
      <ChartCanvas data={data} />
    </div>
  );
}