fix bug
This commit is contained in:
@ -10,6 +10,8 @@ import { DataService } from 'src/app/routes/datatable/services/data.service';
|
||||
export class DatatableCustomindexMapComponent implements OnInit, OnChanges, AfterViewInit {
|
||||
el: any;
|
||||
@Input() chartData: any;
|
||||
@ViewChild('auditModal', { static: false }) auditModal!: any;
|
||||
@ViewChild('map',{static: false}) map!: any;
|
||||
chart: any;
|
||||
mapData: any;
|
||||
ds!: DataSet ;
|
||||
@ -19,8 +21,8 @@ export class DatatableCustomindexMapComponent implements OnInit, OnChanges, Afte
|
||||
userData: any = [];
|
||||
constructor(private service: DataService, private ngZone: NgZone) {}
|
||||
ngAfterViewInit(): void {
|
||||
throw new Error('Method not implemented.');
|
||||
|
||||
this.map.el.nativeElement.style.height = this.map.el.nativeElement.clientWidth + 'px'
|
||||
this.chart.render();
|
||||
}
|
||||
|
||||
ngOnChanges(changes: SimpleChanges): void {
|
||||
|
||||
Reference in New Issue
Block a user