ngx-admin/src/app/pages/maps/components/bubbleMaps/bubbleMaps.component.ts

24 lines
525 B
TypeScript
Raw Normal View History

2016-05-11 17:38:01 +03:00
import {Component, ViewEncapsulation} from '@angular/core';
2016-05-02 19:49:37 +03:00
import {BubbleMapsService} from './bubbleMaps.service';
2016-05-02 19:49:37 +03:00
@Component({
selector: 'bubble-maps',
pipes: [],
providers: [BubbleMapsService],
encapsulation: ViewEncapsulation.None,
2016-05-16 13:05:17 +03:00
styles: [require('./bubbleMaps.scss')],
2016-05-02 19:49:37 +03:00
template: require('./bubbleMaps.html'),
})
export class BubbleMaps {
2016-05-16 13:05:17 +03:00
chartData:Object;
2016-05-02 19:49:37 +03:00
constructor(private _bubbleMapsService:BubbleMapsService) {
}
2016-05-16 13:05:17 +03:00
ngOnInit() {
this.chartData = this._bubbleMapsService.getData();
2016-05-02 19:49:37 +03:00
}
}