File

src/app/modules/program-dashboard/pipes/filterChart/filter-chart.pipe.ts

Metadata

Methods

transform
transform(configId: any, chartData: any, currentFilters: any)
Parameters :
Name Type Optional
configId any No
chartData any No
currentFilters any No
import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'filterChart'
})
export class FilterChartPipe implements PipeTransform {

  transform(configId: any, chartData:any,currentFilters:any): unknown {
    return [{ id: configId, data: chartData , selectedFilters: currentFilters }];
  }

}

results matching ""

    No results matching ""