-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Junyu Nan
committed
Jul 25, 2018
1 parent
82b151c
commit 4ed64ac
Showing
8 changed files
with
224 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
BiometricsDataDashboard/ClientApp/src/app/fetch-data/data/gazeLog.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
|
||
export const gazeData: string = '[{"time": 0.51, "gaze": true}, {"time": 0.24, "gaze": true}, {"time": 0.32, "gaze": true}, {"time": 1.02, "gaze": true}]'; | ||
export const gazeData: string ='[{"time": "0.05", "hit": "true"}, {"time": "0.24", "hit": "true"}, {"time": "0.32", "hit": "false"}, {"time": "1.02", "hit": "false"}]'; |
3 changes: 1 addition & 2 deletions
3
BiometricsDataDashboard/ClientApp/src/app/fetch-data/fetch-data.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
<h2>{{ title }}</h2> | ||
<svg width="900" height="500"></svg> | ||
<app-medical-data [data1]="data1" [data2]="data2"></app-medical-data> |
179 changes: 19 additions & 160 deletions
179
BiometricsDataDashboard/ClientApp/src/app/fetch-data/fetch-data.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
BiometricsDataDashboard/ClientApp/src/app/fetch-data/fetch-data.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { BrowserModule } from '@angular/platform-browser'; | ||
import { NgModule } from '@angular/core'; | ||
import { FormsModule } from '@angular/forms'; | ||
import { HttpClientModule } from '@angular/common/http'; | ||
import { RouterModule } from '@angular/router'; | ||
import { MedicalDataComponent } from './medical-data/medical-data.component'; | ||
import { FetchDataComponent } from './fetch-data.component'; | ||
|
||
|
||
@NgModule({ | ||
declarations: [ | ||
MedicalDataComponent, | ||
], | ||
imports: [ | ||
MedicalDataComponent | ||
], | ||
}) | ||
export class FetchDataModule { } |
2 changes: 2 additions & 0 deletions
2
...etricsDataDashboard/ClientApp/src/app/fetch-data/medical-data/medical-data.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h2>{{ title }}</h2> | ||
<svg width="900" height="500"></svg> |
Empty file.
Oops, something went wrong.