@xchart/core
TypeScript icon, indicating that this package has built-in type declarations

0.1.51 • Public • Published

@xchart/core

A small (~60 KB min), fast chart for time series, lines, areas, ohlc & bars.

Inspired by uPlot

Introduction

xchart is a fast, memory-efficient Canvas 2D-based chart for plotting time series, lines, areas, ohlc & bars; from a cold start it can create an interactive chart containing 150,000 data points in 135ms, scaling linearly at [~25,000 pts/ms]. In addition to fast initial render, the zooming and cursor performance is by far the best of any similar charting lib; at ~60 KB, it's likely the smallest and fastest time series plotter that doesn't make use of context-limited WebGL shaders or WASM, both of which have much higher startup cost and code size.


xchart Chart


Features


Non-Features

In order to stay lean, fast and focused the following features will not be added:

License

MIT

Dependents (1)

Package Sidebar

Install

npm i @xchart/core

Weekly Downloads

3

Version

0.1.51

License

MIT

Unpacked Size

798 kB

Total Files

78

Last publish

Collaborators

  • cyrilluce
  • haibins
  • yugasun