- toggleVisibility() and toggleSelection() for legend entries

- use FontAwesomeModule also in app.module
- select and hide events in geomon-timeseries-chart.component.ts
This commit is contained in:
Arno Kaimbacher 2021-10-06 15:20:52 +02:00
parent 91cd763da0
commit e797122055
6 changed files with 183 additions and 34 deletions

View file

@ -6,6 +6,8 @@ import { TimeInterval } from '../../../shared/models/timespan';
import { DatasetApiService } from '../../services/dataset-api.service';
import { InternalIdHandler, InternalDatasetId } from '../../../common/components/services/internal-id-handler.service';
import { DatasetOptions } from '../../../shared/models/options';
import { faEye, faEyeSlash } from '@fortawesome/free-solid-svg-icons';
@Component({
selector: 'geomon-legend-entry',
templateUrl: './legend-entry.component.html',
@ -18,6 +20,9 @@ export class LegendEntryComponent {
@Output()
public onSelectDate: EventEmitter<Date> = new EventEmitter();
faEye = faEye;
faEyeSlash= faEyeSlash;
// public firstValue: FirstLastValue;
// public lastValue: FirstLastValue;
public hasData = true;