This package has been deprecated

Author message:

WARNING: This package has been renamed to @rfprodz/client-d3-charts. Install using @rfprodz/client-d3-charts instead.

@rfprodz/d3-charts
TypeScript icon, indicating that this package has built-in type declarations

0.0.48 • Public • Published

Angular D3 chart components

This library was generated with Nx.

Development commands reference

Run nx test client-d3-charts to execute the unit tests.

Run nx lint client-d3-charts to lint the library.

Run nx build client-d3-charts to build the library.

Usage

Within the development workspace

Import the charts module

import { AppClientD3ChartsModule } from '@app/client-d3-charts';

As an external package

Install the package

yarn add @rfprodz/d3-charts d3 @types/d3

Import the charts module

import { AppClientD3ChartsModule } from '@rfprodz/d3-charts';

Use chart components

in templates

<!-- bar chart -->
<app-bar-chart></app-bar-chart>
<!-- line chart -->
<app-line-chart></app-line-chart>
<!-- pie chart -->
<app-pie-chart></app-pie-chart>
<!-- radar chart -->
<app-radar-chart></app-radar-chart>
<!-- force-directed chart -->
<app-force-directed-chart></app-force-directed-chart>

in classes

import {
  AppPieChartComponent,
  AppRadarChartComponent,
  AppForceDirectedChartComponent,
  AppBarChartComponent,
  AppLineChartComponent,
} from '@rfprodz/d3-charts';

See the chart examples component

import { AppChartExamplesComponent } from '@rfprodz/d3-charts';

Package Sidebar

Install

npm i @rfprodz/d3-charts

Weekly Downloads

0

Version

0.0.48

License

MIT

Unpacked Size

755 kB

Total Files

54

Last publish

Collaborators

  • rfprodz