Skip to content

Commit

Permalink
function renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
pras7430 committed Aug 10, 2021
1 parent e020497 commit 5a20d2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/line-graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export class LineGraph extends HTMLElement {
div.transition()
.duration(200)
.style("opacity", .9);
div.html(this.toolTipHtml(d,toltipDat)) // ToolTip Html template binding
div.html(this.tooltipTemplate(d,toltipDat)) // ToolTip Html template binding
.styles({
"left": (d3.event.pageX + 10) + "px",
"top": (d3.event.pageY - 28) + "px",
Expand Down Expand Up @@ -414,7 +414,7 @@ export class LineGraph extends HTMLElement {
* @returns Tooltip html body
*/

toolTipHtml(d,ttlD){
tooltipTemplate(d,ttlD){
return `
<table>
<tr>
Expand Down

0 comments on commit 5a20d2a

Please sign in to comment.