Skip to content

Commit

Permalink
tsc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici committed Feb 15, 2016
1 parent f35300b commit bca8c70
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion components/chart/barchart/barchart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class BarChart implements AfterViewInit, OnDestroy, DoCheck {

@Input() legend: any;

@Input() legendTemplate: "<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<datasets.length; i++){%><li><span style=\"background-color:<%=datasets[i].fillColor%>\"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>";
@Input() legendTemplate: string = "<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<datasets.length; i++){%><li><span style=\"background-color:<%=datasets[i].fillColor%>\"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>";

@Output() onBarsSelect: EventEmitter<any> = new EventEmitter();

Expand Down
2 changes: 1 addition & 1 deletion components/chart/linechart/linechart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export class LineChart implements AfterViewInit, OnDestroy, DoCheck {

@Input() legend: any;

@Input() legendTemplate: "<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<datasets.length; i++){%><li><span style=\"background-color:<%=datasets[i].strokeColor%>\"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>";
@Input() legendTemplate: string = "<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<datasets.length; i++){%><li><span style=\"background-color:<%=datasets[i].strokeColor%>\"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>";

@Output() onPointsSelect: EventEmitter<any> = new EventEmitter();

Expand Down
2 changes: 1 addition & 1 deletion components/chart/radarchart/radarchart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export class RadarChart implements AfterViewInit, OnDestroy, DoCheck {

@Input() legend: any;

@Input() legendTemplate: "<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<datasets.length; i++){%><li><span style=\"background-color:<%=datasets[i].strokeColor%>\"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>";
@Input() legendTemplate: string = "<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<datasets.length; i++){%><li><span style=\"background-color:<%=datasets[i].strokeColor%>\"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>";

@Output() onPointsSelect: EventEmitter<any> = new EventEmitter();

Expand Down
12 changes: 6 additions & 6 deletions primeng.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ export * from './components/accordion/accordion';
export * from './components/accordion/accordiontab';
export * from './components/button/button';
export * from './components/carousel/carousel';
export * from './components/chart/barchart';
export * from './components/chart/doughnutchart';
export * from './components/chart/linechart';
export * from './components/chart/piechart';
export * from './components/chart/polarareachart';
export * from './components/chart/radarchart';
export * from './components/chart/barchart/barchart';
export * from './components/chart/doughnutchart/doughnutchart';
export * from './components/chart/linechart/linechart';
export * from './components/chart/piechart/piechart';
export * from './components/chart/polarareachart/polarareachart';
export * from './components/chart/radarchart/radarchart';
export * from './components/checkbox/checkbox';
export * from './components/dialog/dialog';
export * from './components/fieldset/fieldset';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {Component} from 'angular2/core';
import {DoughnutChart} from '../../../../components/chart/doughnutchart/doughnotchart'
import {DoughnutChart} from '../../../../components/chart/doughnutchart/doughnutchart'
import {TabView} from '../../../../components/tabview/tabview';
import {TabPanel} from '../../../../components/tabview/tabpanel';
import {Growl} from '../../../../components/growl/growl';
Expand Down
2 changes: 2 additions & 0 deletions typedefinition/chart.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ interface LineChartOptions extends ChartOptions {
datasetStroke?: boolean;
datasetStrokeWidth?: number;
datasetFill?: boolean;
scaleShowHorizontalLines?: boolean;
scaleShowVerticalLines?: boolean;
}

interface BarChartOptions extends ChartOptions {
Expand Down

0 comments on commit bca8c70

Please sign in to comment.