Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Removed comments and created runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhyadeeps committed Feb 21, 2022
1 parent 8a5c24b commit 67416af
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 37 deletions.
2 changes: 1 addition & 1 deletion projects/gp-event-chart/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gp-event-chart",
"version": "1.0.1",
"version": "2.0.0",
"description": "This is an Angular 11 widget, which is designed to display the chart for the specific event type. ",
"author": "Khushi Khanna - Software AG, Global Presales",
"license": "Apache 2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,7 @@
</button>
</div>
</div>
<!-- <div class="input-wrapper">
<span class="text">{{color}}</span>
<div
class="color-div"
[ngStyle]="{'background-color': color || 'white'}"
></div>
</div> -->




Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,7 @@
</div>


<!-- <div class="datePickerDiv">
<mat-form-field appearance="outline" class="date-input">
<input matInput [matDatepicker]="fromPickerEventChart" placeholder="From" (dateInput) ="dateChanged('from',$event)" [value]="fromDate"/>
<mat-datepicker-toggle matSuffix [for]="fromPickerEventChart"></mat-datepicker-toggle>
<mat-datepicker #fromPickerEventChart></mat-datepicker>
</mat-form-field>
<mat-form-field appearance="outline" class="date-input">
<input matInput [matDatepicker]="toPicker" placeholder="To" (dateInput) ="dateChanged('to',$event)" [value]="toDate" />
<mat-datepicker-toggle matSuffix [for]="toPicker"></mat-datepicker-toggle>
<mat-datepicker #toPicker></mat-datepicker>
</mat-form-field>
<button type="button" title="Filter date range" class="btn btn-default " (click)="filter()">
<i c8y-icon="filter" class="fa fw fa-filter"></i>
</button>
</div> -->

<div *ngIf="dataLoaded | async">
<div style="display: block">
<canvas baseChart
Expand Down
14 changes: 0 additions & 14 deletions projects/gp-event-chart/src/lib/gp-lib-event-chart.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,6 @@ export class GpLibEventChartComponent implements OnInit, OnDestroy {
/** Sets the barchart type and barchart options for canvas and calls device list */
ngOnInit() {
if (isDevMode()) {

// // configuration for sandbox-ar.eu-latest.cumulocity.com

this.config = {
"legend": "top",
"groupby": "Process",
"eventType":"c8y_LocationUpdate",
"type": "bar",
"device": {
"name": "Storage Facility 1-Tank 1",
"id": "36848514"
},

}
}


Expand Down

0 comments on commit 67416af

Please sign in to comment.