Skip to content

Commit

Permalink
WIP Yoreley Filters
Browse files Browse the repository at this point in the history
  • Loading branch information
artisticlight committed Jul 26, 2024
1 parent 6a74a2e commit c282c9c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
}

.ts-layer-list {
// flex: 1 1 500px;
flex-basis: 650px;
flex-grow: 0;
flex: 1 1 500px;
//flex-basis: 650px;
//flex-grow: 0;
}

.ts-layer-list-header {
Expand Down Expand Up @@ -268,4 +268,4 @@ label {
}
.ts-column-2 {
margin: 25px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class TimeseriesChartComponent implements OnInit {
...data.mean
})
this.svg.selectChildren().remove();

this.drawChart();
}

Expand Down Expand Up @@ -154,8 +154,9 @@ export class TimeseriesChartComponent implements OnInit {
public updateAxis(_axis, _value) {

}

public onResized() {
this.createSVG();
// this.createSVG();
}

private createSVG() {
Expand All @@ -171,6 +172,7 @@ export class TimeseriesChartComponent implements OnInit {
.append('g')
.attr('transform', `translate(${this.margin.left}, ${this.margin.top})`);
this.drawChart();

}

}
16 changes: 9 additions & 7 deletions src/app/components/timeseries-chart/timeseries-chart.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ import { TranslateModule } from "@ngx-translate/core";
import { TimeseriesChartComponent } from './timeseries-chart.component';
import { MatIconModule } from '@angular/material/icon';
import { MatTableModule } from '@angular/material/table';
import {ResizedEventModule} from '@directives/resized.directive';


@NgModule({
declarations: [TimeseriesChartComponent],
imports: [
CommonModule,
MatSharedModule,
TranslateModule,
MatTableModule,
MatIconModule
],
imports: [
CommonModule,
MatSharedModule,
TranslateModule,
MatTableModule,
MatIconModule,
ResizedEventModule
],
exports: [
TimeseriesChartComponent,
]
Expand Down

0 comments on commit c282c9c

Please sign in to comment.