Skip to content

Commit

Permalink
Fixing regression on configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
andrefarzat committed Jun 8, 2018
1 parent 2dba419 commit bded3fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/plotly/plotly.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export class PlotlyService {
}

public newPlot(div: HTMLDivElement, data: Plotly.Data[], layout?: Partial<Plotly.Layout>, config?: Partial<Plotly.Config>) {
return this.plotly.newPlot(div, data, layout);
return this.plotly.newPlot(div, data, layout, config);
}

public plot(div: Plotly.PlotlyHTMLElement, data: Plotly.Data[], layout?: Partial<Plotly.Layout>, config?: Partial<Plotly.Config>) {
return this.plotly.plot(div, data, layout);
return this.plotly.plot(div, data, layout, config);
}

public update(div: Plotly.PlotlyHTMLElement, data: Plotly.Data[], layout?: Partial<Plotly.Layout>, config?: Partial<Plotly.Config>) {
return this.plotly.update(div, data, layout);
return this.plotly.update(div, data, layout, config);
}

public resize(div: Plotly.PlotlyHTMLElement): void {
Expand Down

0 comments on commit bded3fa

Please sign in to comment.