first step to show plot on dashboard

This commit is contained in:
2023-02-26 14:07:19 +01:00
parent ea3ccabe56
commit fb5c8ea019
19 changed files with 114 additions and 55 deletions

View File

@@ -0,0 +1,4 @@
<style>
</style>
<p>{{data.config.query}}</p>

View File

@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { PlotWidgetComponent } from './plot-widget.component';
describe('PlotWidgetComponent', () => {
let component: PlotWidgetComponent;
let fixture: ComponentFixture<PlotWidgetComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ PlotWidgetComponent ]
})
.compileComponents();
fixture = TestBed.createComponent(PlotWidgetComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@@ -0,0 +1,13 @@
import { Component, Input } from '@angular/core';
import { PlotWidget } from 'src/app/dashboard.service';
@Component({
selector: 'app-plot-widget',
templateUrl: './plot-widget.component.html'
})
export class PlotWidgetComponent {
@Input("data")
data!: PlotWidget;
}