Skip to content

Commit

Permalink
fixes in constructor (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
Helen Rodionova authored and ignatvilesov committed Jul 17, 2018
1 parent cdde897 commit 32e47e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/legend/legend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module powerbi.extensibility.utils.chart.legend {
return new InteractiveLegend(legendParentElement);
}

return new SVGLegend(legendParentElement, legendPosition, interactivityService, interactiveBehavior, isScrollable);
return new SVGLegend(legendParentElement, legendPosition, interactivityService, isScrollable, interactiveBehavior);
}

export function isLeft(orientation: LegendPosition): boolean {
Expand Down
4 changes: 2 additions & 2 deletions src/legend/svgLegend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ module powerbi.extensibility.utils.chart.legend {
element: HTMLElement,
legendPosition: LegendPosition,
interactivityService: IInteractivityService,
interactiveBehavior: IInteractiveBehavior,
isScrollable: boolean) {
isScrollable: boolean,
interactiveBehavior?: IInteractiveBehavior) {

this.svg = d3.select(element)
.append("svg")
Expand Down

0 comments on commit 32e47e3

Please sign in to comment.