Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bmzernichow committed Jan 28, 2017
1 parent f1a3eba commit ac78749
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
8 changes: 2 additions & 6 deletions src/app/chart/chart.component.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@

<div class="chart01">
<h5>CLUSTER ANALYSIS</h5>
<h5>CLUSTERING</h5>
<canvas baseChart
[data]="chartData01"
[labels]="chartLabels01"
[options]="chartOptions01"
[legend]="chartLegend01"
[colors]="chartColors01"
[chartType]="chartType02"
(chartHover)="chart01Hovered($event)"
(chartClick)="chart01Clicked($event)"></canvas>
</div>

Expand All @@ -22,7 +21,6 @@ <h5>DATA VALIDATION</h5>
[colors]="chartColors02"
[legend]="chartLegend02"
[chartType]="chartType02"
(chartHover)="chart02Hovered($event)"
(chartClick)="chart02Clicked($event)"></canvas>
</div>

Expand All @@ -34,8 +32,6 @@ <h5>DATA DISTRIBUTION</h5>
[options]="chartOptions03"
[legend]="chartLegend03"
[colors]="chartColors03"
[chartType]="chartType03"
(chartHover)="chart03Hovered($event)"
(chartClick)="chart03Clicked($event)"></canvas>
[chartType]="chartType03"></canvas>
</div>

4 changes: 3 additions & 1 deletion src/app/chart/chart.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class ChartComponent implements OnInit {
@Input() public chartData03: any;
@Input() public chartLabels03: any;
@Input() public inferredType: boolean;

public chartType01: string = 'doughnut';
public chartType02: string = 'doughnut';
public chartType03: string = 'horizontalBar';
Expand Down Expand Up @@ -150,11 +150,13 @@ export class ChartComponent implements OnInit {
this.chartSubsetEmit();
}

/*
// events chart03
public chart03Clicked(e:any):void {
this.profileSubset.selection = e.active["0"]._index;
this.profileSubset.chart = 3;
this.chartSubsetEmit();
}
*/

}
4 changes: 2 additions & 2 deletions src/app/sidebar/sidebar.component.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

<strong>TRANSFORMATIONS</strong>
<strong> SUGGESTED TRANSFORMATIONS</strong>

<div class="sidebar">

<p-listbox [options]="transformations" [(ngModel)]="transformationSelected" [style]="{'width':'330px','max-height':'230px'}"></p-listbox>
<p-listbox [options]="transformations" [(ngModel)]="transformationSelected" [style]="{'width':'370px','max-height':'230px'}"></p-listbox>

</div>

Expand Down

0 comments on commit ac78749

Please sign in to comment.