Added debug info

This commit is contained in:
2017-04-11 17:15:32 +02:00
parent a9b34a6fc1
commit 91a82b9e97
6 changed files with 22 additions and 15 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+14 -12
View File
@@ -257,6 +257,7 @@ var DashboardComponent = (function () {
.get("4530303035303031353538313833363134")
.subscribe(function (res) {
_this.data4 = res.HOV;
console.log(_this.data4);
_this.dbloaded = true;
});
};
@@ -600,12 +601,12 @@ var AppComponent = (function () {
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__app_component__ = __webpack_require__(512);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__chart_component__ = __webpack_require__(514);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__piechart_component__ = __webpack_require__(516);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__dashboard_component__ = __webpack_require__(335);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__device_component__ = __webpack_require__(337);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__detail_component__ = __webpack_require__(336);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__picker_component__ = __webpack_require__(338);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__data_service__ = __webpack_require__(104);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__doublelinechart_component__ = __webpack_require__(515);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__doublelinechart_component__ = __webpack_require__(515);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__dashboard_component__ = __webpack_require__(335);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__device_component__ = __webpack_require__(337);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__detail_component__ = __webpack_require__(336);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__picker_component__ = __webpack_require__(338);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__data_service__ = __webpack_require__(104);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; });
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -639,12 +640,12 @@ var AppModule = (function () {
declarations: [
__WEBPACK_IMPORTED_MODULE_6__app_component__["a" /* AppComponent */],
__WEBPACK_IMPORTED_MODULE_7__chart_component__["a" /* LineChartComponent */],
__WEBPACK_IMPORTED_MODULE_14__doublelinechart_component__["a" /* DoubleLineChartComponent */],
__WEBPACK_IMPORTED_MODULE_9__doublelinechart_component__["a" /* DoubleLineChartComponent */],
__WEBPACK_IMPORTED_MODULE_8__piechart_component__["a" /* PieChartComponent */],
__WEBPACK_IMPORTED_MODULE_9__dashboard_component__["a" /* DashboardComponent */],
__WEBPACK_IMPORTED_MODULE_10__device_component__["a" /* DeviceComponent */],
__WEBPACK_IMPORTED_MODULE_11__detail_component__["a" /* DetailComponent */],
__WEBPACK_IMPORTED_MODULE_12__picker_component__["a" /* PickerComponent */]
__WEBPACK_IMPORTED_MODULE_10__dashboard_component__["a" /* DashboardComponent */],
__WEBPACK_IMPORTED_MODULE_11__device_component__["a" /* DeviceComponent */],
__WEBPACK_IMPORTED_MODULE_12__detail_component__["a" /* DetailComponent */],
__WEBPACK_IMPORTED_MODULE_13__picker_component__["a" /* PickerComponent */]
],
imports: [
__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__["a" /* BrowserModule */],
@@ -653,7 +654,7 @@ var AppModule = (function () {
__WEBPACK_IMPORTED_MODULE_4_ng2_charts_ng2_charts__["ChartsModule"],
__WEBPACK_IMPORTED_MODULE_5__app_routing_module__["a" /* AppRoutingModule */]
],
providers: [__WEBPACK_IMPORTED_MODULE_13__data_service__["a" /* DataService */]],
providers: [__WEBPACK_IMPORTED_MODULE_14__data_service__["a" /* DataService */]],
bootstrap: [__WEBPACK_IMPORTED_MODULE_6__app_component__["a" /* AppComponent */]]
}),
__metadata('design:paramtypes', [])
@@ -821,6 +822,7 @@ var DoubleLineChartComponent = (function () {
newDataSet.push(newLine);
newDataSet.push(newLine2);
this.doublelineChartData = newDataSet;
console.log(this.doublelineChartData);
};
DoubleLineChartComponent.prototype.ngOnChanges = function () {
if (this.chart.chart != undefined) {
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -9,13 +9,13 @@ import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { LineChartComponent } from './chart.component';
import { PieChartComponent } from './piechart.component';
import { DoubleLineChartComponent } from "./doublelinechart.component";
import { DashboardComponent } from './dashboard.component';
import { DeviceComponent } from './device.component';
import { DetailComponent } from './detail.component';
import { PickerComponent } from './picker.component';
import { DataService } from './data.service';
import {DoubleLineChartComponent} from "./doublelinechart.component";
@NgModule({
declarations: [
+3
View File
@@ -78,6 +78,9 @@ export class DashboardComponent implements OnInit, OnDestroy {
.subscribe(res => {
this.data4 = res.HOV;
console.log(this.data4);
this.dbloaded = true;
});
@@ -63,6 +63,8 @@ export class DoubleLineChartComponent implements OnInit, OnChanges {
newDataSet.push(newLine);
newDataSet.push(newLine2);
this.doublelineChartData = newDataSet;
console.log(this.doublelineChartData);
}
ngOnChanges(): void {