1.0.12 • Published 4 years ago

ngcatalyst v1.0.12

Weekly downloads
163
License
SEE LICENSE IN LI...
Repository
github
Last release
4 years ago

NgCatalyst npm version

An Angular component library of data visualizations

Angular Compatibility

ngCatalystAngular
0.2.57.x
1.x.x8.x

If using with Angular 7 run command npm install ngcatalyst@0.2.5 --save

How to Use

Install the package

npm install ngcatalyst --save

Import Module into your App

Add NgCatalystModule to imports in src/app/app.module.ts:

import { BrowserModule } from "@angular/platform-browser";
import { NgModule } from "@angular/core";
import { AppComponent } from "./app.component";

import { NgcatalystModule } from "ngcatalyst";

@NgModule({
  declarations: [AppComponent],
  imports: [
    BrowserModule,
    NgcatalystModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule {}

Include Styles

In your angular.json

// In angular.json under architect > build > options > styles
// add "node_modules/ngcatalyst/lib/styles.css"
{
    "projects": {
        "your-project": {
            "architect": {
                "build": {
                    "options": {
                        "styles": [
                            "src/styles.css", 
                            "node_modules/ngcatalyst/lib/styles.css"
                        ]
                    }
                }
            }
        }
    }
}

Use in your App

In your app.component.html

<!-- Example with a bar chart and props defined in app.component.ts -->
<eikos-bar-chart 
    [data]="barData" 
    [xAxisLabel]="xAxisLabel" 
    [yAxisLabel]="yAxisLabel" 
    [propID]="barPropID"
    [colors]="barColors" 
    [title]="barTitle"
    (clickEvent)="clickEventEmit($event)">
</eikos-bar-chart>

Local Development

In terminal, use npm run dev to watch for file edits, and automatically re-package the project for local development and change detection.

Check out the examples repo

A repo containing an example app with all of the visualizations availble can be found here. Please clone that repo, npm install and run ng serve.

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.190

5 years ago

0.1.180

5 years ago

0.1.175

5 years ago

0.1.17

5 years ago

0.1.16

5 years ago

0.1.15

5 years ago

0.1.1-4.5

5 years ago

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.0

5 years ago

0.0.0

5 years ago