chartist component basics

This commit is contained in:
nixa 2016-05-03 19:16:13 +03:00
parent 08a456921a
commit 8b0015679b
8 changed files with 134 additions and 1 deletions

View file

@ -0,0 +1,23 @@
import {Component, ViewEncapsulation} from 'angular2/core';
import {BaCard} from '../../../../theme';
import {ChartistJsService} from "./chartistJs.service";
require('chartist');
@Component({
selector: 'chartist-js',
pipes: [],
providers: [ChartistJsService],
encapsulation: ViewEncapsulation.None,
styles: [require('./chartistJs.scss')],
directives: [BaCard],
template: require('./chartistJs.html'),
})
export class ChartistJs {
constructor(private _chartistJsService:ChartistJsService) {
}
}