Skip to content

Commit

Permalink
fix tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Chevalier committed Jul 23, 2016
1 parent 754a8ec commit 8c63eb6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 13 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v0.0.4
==================
* fix tooltip for demo

v0.0.3
==================
* use relative path for demo data, fix units for demo, remove unused behavior
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "px-vis-timeseries",
"version": "0.0.3",
"version": "0.0.4",
"main": [
"px-vis-timeseries.html"
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "px-vis-timeseries",
"author": "General Electric",
"description": "A Px visualization timeseries chart",
"version": "0.0.3",
"version": "0.0.4",
"private": true,
"extName" : null,
"repository" :
Expand Down
23 changes: 12 additions & 11 deletions px-vis-timeseries.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,17 @@
x-axis-type="time">
</px-vis-register>
</template>
<template is="dom-if" if="[[enableTooltip]]">
<px-vis-tooltip
px-svg-elem=[[pxSvgElem]]
width="250"
margin="[[margin]]"
chart-data="[[chartData]]"
tooltip-data="[[tooltipData]]"
complete-series-config="[[completeSeriesConfig]]"
x-axis-type="time">
</px-vis-tooltip>
</template>
<px-vis-zoom
margin="[[margin]]"
extents-data="[[extentsData]]"
Expand Down Expand Up @@ -223,17 +234,7 @@
selected-domain="[[selectedDomain]]">
</px-vis-chart-navigator>
</div>
<template is="dom-if" if="[[enableTooltip]]">
<px-vis-tooltip
px-svg-elem=[[pxSvgElem]]
width="250"
margin="[[margin]]"
chart-data="[[chartData]]"
tooltip-data="[[tooltipData]]"
complete-series-config="[[completeSeriesConfig]]"
x-axis-type="time">
</px-vis-tooltip>
</template>

<template is="dom-if" if="[[_sideRegister(registerLocation)]]">
<px-vis-register
height="[[height]]"
Expand Down

0 comments on commit 8c63eb6

Please sign in to comment.