Robin Hu
5f5c298ec7
Fixing line chart with SVG resize tooltip issues.
11 years ago
Robin Hu
94efcbad66
Brought back old tooltip transitions and box shadow...
...
but only if you supply the 'with-transitions' CSS class.
Also changed the nv-point.hover dot to a smaller, darker stroke.
11 years ago
Robin Hu
0443d7c779
Removing some code I added in tooltip.js that clamped the svg bound top. Wasn't actually working.
11 years ago
Robin Hu
4b21903740
Adding unique ID to each tooltip in nv.models.tooltip.
11 years ago
Robin Hu
410569110e
Average lines on cumulative line chart had ability to go
...
off the <SVG> bounding rectangle. This caused issues on Firefox.
Changed code so that the average lines are 'clamped' within
the <SVG> bounding rect, and if they go off bounds, make them transparent.
11 years ago
Robin Hu
1a6b5dab13
Adding more inline comments to tooltip.js.
...
Removed an unused feature for bolding a row in the tooltip.
11 years ago
Robin Hu
3a75b583ca
Created more robust tooltip solution. Tooltips render inside the SVG's parent DIV.
...
They can be positioned, even if there are relative positioned elements above it.
11 years ago
Robin Hu
8dea03da44
Converted tooltip.js getTooltipContainer function to use d3.select.
...
Rebuilt nv.d3.js
11 years ago
Robin Hu
6e84a6845c
Tooltips are no longer rendered on document.body.
...
Instead, they are rendered inside the chart container.
Added some CSS styles to nvtooltip
11 years ago
Robin Hu
e1e9144e5f
Updating lineChartSVGResize example to use interactive guideline.
...
Rebuilding nv.d3.js.
11 years ago
Robin Hu
c13be39c12
Added inline comments.
...
Changed style td.legend to td.legend-color-guide, becuase it conflicts with another .legend style being used elsewhere.
11 years ago
Robin Hu
ca769e706d
Using svg.getBoundingClientRect() instead of elem.offsetLeft
...
when calculating tooltip position. Also replaced window.scollY with
pageYOffset. This is for Firefox and MSIE compatibility.
11 years ago
Robin Hu
14117b32de
Fixing a NASTY Microsoft IE bug I found during cross browser testing.
...
Mousing over SVG.rect returns wrong X,Y coordinates, but only in IE.
11 years ago
Robin Hu
8b870e6b0a
Created function to get the first non-svg parent element in tooltip.js.
...
Needed because in Firefox and IE, SVG.offsetParent does not exist.
11 years ago
Robin Hu
4b8ad322cf
Updating algorithm for calculating the tooltip offset positioning.
11 years ago
Robin Hu
575ed7950e
Fixed tooltip display edge case, where if the tooltip is very large, it
...
will render off window if too close to the bottom.
11 years ago
Robin Hu
27d80457b9
Developed stronger backward compatibility with the old tooltip format. Old
...
tooltips work by default, but if you enable 'useInteractiveGuideline', the
new stuff will show.
11 years ago
Robin Hu
0b3ef24e0b
Added test page for lineChart. Continued work on making the interactive line layer.
11 years ago
Robin Hu
dbe826943f
Added interactiveLayer.js and integrated this utility into lineChart.js.
11 years ago
Robin Hu
4038a56c7a
Added color legend square to the tooltip for each series.
11 years ago
Robin Hu
dc66846d46
Updated scatter.js so that when you mouseover a path-point, it will return all series information in the mouse event dispatch.
...
Updated nv.models.tooltip with more features.
Updated styling of the tooltip.
11 years ago
Robin Hu
79fb28f088
Updated nv.models.tooltip to have a custom HTML content generator. The default is to put tooltip inside a <table> tag.
11 years ago
Robin Hu
c02705fc18
Created nv.models.tooltip in tooltip.js.
...
This new model encapsulates most of the tooltip functionality.
11 years ago
Robin Hu
ba44aa3053
Fixing issue #136 . Improved logic in tooltip.js for handling <svg> and <g> tags.
11 years ago
Robin Hu
d690c17a2b
Fixed issue #25 . Updated logic in tooltip.js, so that tooltips are not inserted into SVG containers.
11 years ago
Tyler Wolf
b0c57c33f4
#26
12 years ago
Tyler Wolf
5a08ef2638
fixed Issue #321
12 years ago
Dingo
36a242846a
tooltip fixes applied
12 years ago
Tyler Wolf
a056949ca4
updated tooltip placement variable names
12 years ago
Tyler Wolf
7aff7d5077
fixed tooltip repositioning UI-24
12 years ago
Bob Monteverde
4ad3c2e6f3
Fixed issue #309
12 years ago
Bob Monteverde
de73a5719a
Added classes x-nvtooltip, y-nvtooltip, and xy-nvtooltip to the tooltips, also started working on the single data point issue with scatter and lien chart
12 years ago
Bob Monteverde
a8b080640f
Merging in most of PullRequest #16
12 years ago
Bob Monteverde
59072dde9b
Issue #5 Setting position absolute and pointer-evetns none in the JS (as well as css) on the tooltip, appears to fix both issues I was having with them
12 years ago
Tsyren Ochirov
eb8f9f48fb
tooltip optional base container
12 years ago
Tsyren Ochirov
d06d04ebed
define optional parametr parentID for tooltip element
12 years ago
Nathanael Anderson
22225147ab
Reworked library to remove jquery dependancies
...
renamed nvtooltip.js to tooltip.js and put it into the nv namespace
Added a batch file for building on windows.
12 years ago