New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

livecharts

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

livecharts

Real-time animated canvas charts — framework-agnostic engine with bindings

latest
Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
10
Maintainers
1
Weekly downloads
 
Created
Source

LiveCharts

Real-time animated charts. Canvas engine with framework bindings.

Install

npm install livecharts

Peers (optional, depending on entry):

  • react ≥ 18 for livecharts/react
  • vue ≥ 3.4 for livecharts/vue

React

import { LiveChart } from "livecharts/react";
import type { LiveChartPoint } from "livecharts/react";

function Chart({ data, value }: { data: LiveChartPoint[]; value: number }) {
  return (
    <div style={{ height: 200 }}>
      <LiveChart data={data} value={value} />
    </div>
  );
}

Vue

<script setup lang="ts">
import { LiveChart, LiveChartTransition } from "livecharts/vue";
import type { LiveChartPoint } from "livecharts/vue";
import { ref } from "vue";

const data = ref<LiveChartPoint[]>([]);
const value = ref(0);
</script>

<template>
  <div style="height: 200px">
    <LiveChart :data="data" :value="value" />
  </div>
</template>

Core (framework-agnostic)

import { LiveChartEngine, resolveTheme } from "livecharts";

Data helpers

Import helpers from the dedicated entry when no chart runtime is needed:

import { aggregateCandles, createWalker } from "livecharts/data";

The root livecharts entry continues to export these helpers for backward compatibility.

Monorepo packages (private)

PackageRole
@livecharts/coreCanvas engine — no framework
@livecharts/reactReact <LiveChart /> wrapper
@livecharts/vueVue 3 <LiveChart /> + LiveChartTransition
livechartsPublished npm package (bundles the above)

License

MIT. Chart engine based on Liveline by Benji Taylor (MIT).

Keywords

chart

FAQs

Package last updated on 08 Aug 2026

Related posts