export class DataLabel { private _labels : string [ ] ; constructor ( ) { this . _labels = [ ] ; } public appendLabel ( label ) { this . _labels . push ( label ) ; } public extentLabel ( labels ) { for ( let label of labels ) { this . _labels . push ( label ) ; } } get labels ( ) : string [ ] { return this . _labels ; } }