AG

Ag Charts Types

ag-charts-types

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

Charts
chart
charts
data
angular
angular-component
react
react-component
reactjs
vue
vuejs
Stars
522
Weekly
3.0M
Open issues
7
Bundle
~25 kB

Installation

npm install ag-charts-types

Code example

import { AgChartsTypes } from "ag-charts-types";

const data = [
  { name: "Jan", value: 12 },
  { name: "Feb", value: 18 },
];

export function Example() {
  return (
    <AgChartsTypes data={data} width={420} height={240}>
      {/* series / axes from Ag Charts Types */}
    </AgChartsTypes>
  );
}

Pros & cons

Pros

  • Actively maintained by AG Grid
  • 3.0M weekly downloads. Battle tested
  • First-class TypeScript definitions
  • MIT licensed

Considerations

  • Adds roughly ~25 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 7 open issues on GitHub

FAQs

Alternatives & similar libraries