Skip to content

Commit

Permalink
[time table] use sparkData values in tooltip (apache#3794)
Browse files Browse the repository at this point in the history
  • Loading branch information
williaster authored and michellethomas committed May 23, 2018
1 parent eaba9d1 commit 10eb396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/assets/visualizations/time_table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ function viz(slice, payload) {
display: (
<WithTooltip
renderTooltip={({ index }) => (
<div style={{ minWidth: 140 }}>
<strong>{d3format(c.d3format, data[index][metric])}</strong>
<div>
<strong>{d3format(c.d3format, sparkData[index])}</strong>
<div>{formatDate(data[index].iso)}</div>
</div>
)}
Expand Down

0 comments on commit 10eb396

Please sign in to comment.