Skip to content

Commit

Permalink
fix(tooltip): Make linked tooltip to work based on index
Browse files Browse the repository at this point in the history
- Update tooltip show/hide based on index instead of x value
- Fix on incorrect sandbox generation
- Fix and refactoring on tooltip test codes

Fix #494
Close #496
  • Loading branch information
netil committed Jul 18, 2018
1 parent f38cd24 commit 2df0a38
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 150 deletions.
2 changes: 1 addition & 1 deletion spec/assets/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const initDom = idValue => {
const id = idValue && idValue.replace && idValue.replace("#", "");

if (!document.getElementById(id)) {
sandbox("chart", {
sandbox(id, {
style: "width:640px;height:480px;"
});

Expand Down
Loading

0 comments on commit 2df0a38

Please sign in to comment.