1.0.1-rc.2 • Published 5 years ago

@rplaurindo/ngen-charts v1.0.1-rc.2

Weekly downloads
7
License
-
Repository
-
Last release
5 years ago

NGenCharts

Requirements

  • @angular/core and @angular/common 5 or higher;
  • @rplaurindo/mathrix.ts 1 or higher.

Installing

$ npm i @rplaurindo/ngen-charts --save

Usage

Include the module into imports metadata key of NgModule decorator of your application importing NGenChartsModule from @rplaurindo/ngen-charts, like that.

import { NGenChartsModule } from '@rplaurindo/ngen-charts';

@NgModule({
    imports: [
        NGenChartsModule
    ]
})
export class MyModule() { }

Usage

Donut

<lib-donut-chart
  [radius]="'<value><unity>'"
  [borderWidth]="'<value><unity>'"
  [sectors]="[
    {
      value: 9,
      ngClass: {
        class-1: <true or false>,
        class-2: <true or false>
      }
    },
    {
      value: 3
    }
  ]"
  [strokeSettings]="{
	width: '<value><unity>',
	bindOn: ['sectors', 'outer', 'inner']
  }"
></lib-donut-chart>
1.0.1-rc.2

5 years ago

1.0.1-rc.1

5 years ago

1.0.0-rc.1

5 years ago