Commit Graph

76 Commits

Author SHA1 Message Date
Robin Hu
96840219ee Updating tooltip content generator to use d3 select instead of manually concating strings. 2013-09-06 10:18:32 -04:00
Robin Hu
3974ce1693 Bumping to v 1.1.11, due to changes in the tooltip. 2013-09-04 09:26:15 -04:00
Robin Hu
8c43e72bbe Added feature where tooltips will highlight the row corresponding to the point your mouse is closest to. 2013-09-03 17:04:49 -04:00
Robin Hu
07899e2654 Updating tooltip.js to accept a "footer" element. 2013-09-03 12:39:20 -04:00
Tyler Wolf
c0db335539 Merge branch 'development' of https://github.com/novus/nvd3 into development
Conflicts:
	nv.d3.min.js
2013-08-14 14:49:48 -04:00
Robin Hu
c2b32f2909 Removing with-3d-shadow from tooltips by default. Need to add it manually back.
Updating .with-3d-shadow CSS rule to include nvtooltip.
Updated lineChart example.
2013-08-14 11:56:06 -04:00
Tyler Wolf
d9cca0320f lines are now 1.5px wide instead of 2.5px wide 2013-08-12 14:16:45 -04:00
Robin Hu
718c7c9ee4 Adding nv-thin-line CSS class to make thinner lines. 2013-08-08 12:58:58 -04:00
Robin Hu
c686b7a147 Pie chart's .nv-label needs a pointer-events:none rule.
This makes tooltips stable and not disappear when you mouse over a label.
Issue #48
2013-08-05 22:05:25 -04:00
Robin Hu
7f71b66b0c Overhauling the logic for creating an interactive layer.
Basically, the <svg> container will now process all mousemove
events. This allows stackedAreaChart and CumulativeLineChart to
maintain some other forms of interaction.
2013-07-25 16:03:05 -04:00
frank shao
058503a0be Merge branch 'development' of https://github.com/novus/nvd3 into development 2013-07-24 12:06:05 -04:00
frank shao
147168ca9b Lighten bullet shading 2013-07-24 12:05:46 -04:00
Robin Hu
3fc286a3aa Adding try/catch block around getComputedtextLength.
Adding white-space:nowrap to nvtooltip.
2013-07-16 16:20:03 -04:00
Robin Hu
738a94f634 Increased tooltip transition speed. 2013-07-15 14:30:47 -04:00
Robin Hu
2725a44021 Adding with-3d-shadow style. This style class adds rounded corners and box shadow. 2013-07-15 14:13:14 -04:00
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.
2013-07-12 23:24:12 -04:00
Robin Hu
1a6b5dab13 Adding more inline comments to tooltip.js.
Removed an unused feature for bolding a row in the tooltip.
2013-07-08 22:05:48 -04:00
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
2013-07-08 15:06:22 -04:00
Robin Hu
6c2f19a044 Updating CSS styling around table.td 2013-07-08 09:48:52 -04:00
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.
2013-07-08 09:36:29 -04:00
Robin Hu
792a36262d Removed transitions from nv-point on hover. 2013-07-06 23:32:11 -04:00
Robin Hu
81bf049daa The .nvd3 .nv-bars rect:hover style was incorrect. it needs to be "rect.hover",
because we are applying the hover class when we mouse over a bar.
2013-07-06 11:16:26 -04:00
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.
2013-07-03 23:17:08 -04:00
Robin Hu
0b3ef24e0b Added test page for lineChart. Continued work on making the interactive line layer. 2013-07-03 13:43:32 -04:00
Robin Hu
4038a56c7a Added color legend square to the tooltip for each series. 2013-07-02 17:14:43 -04:00
Robin Hu
4cbd253c67 Added the 'highlightPoint' dispatch on nv.models.scatter. This dispatch lets the programmer highlight any point on any series.
Currently used in lineChart to highlight points.
2013-07-02 16:41:24 -04:00
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.
2013-07-02 16:07:20 -04:00
Robin Hu
c57626ad9b Merge branch 'master' of https://github.com/novus/nvd3
Conflicts:
	examples/historicalBarChart.html
	nv.d3.js
	nv.d3.min.js
	src/models/historicalBarChart.js
	src/nv.d3.css
2013-06-21 15:48:43 -04:00
Robin Hu
739b93fecf Adding ability to right align the Y-axis for historical bar and line charts. 2013-06-11 12:59:33 -04:00
Robin Hu
a9b6f3ab09 FIxing bug in line.js. 2013-06-07 15:34:49 -04:00
Bob Monteverde
065c8eb84d removed transition and delay on tooltips, you can uncomment to revert this. Minor fix to scatter, points will keep custom classes after transiiton 2013-06-06 17:57:32 -04:00
Dingo
76b97fde13 all models updated to run examples using d3.v3 2013-04-16 15:54:46 -07:00
Tyler Wolf
e092bac1c2 fixed update for parallelCoords.js, ran make for all merged pull requests 2013-04-03 14:03:25 -04:00
Bob Monteverde
8415ee55d3 Made tooltip look a little sexier 2013-03-01 09:35:19 -05:00
Bob Monteverde
e161c57e24 Made tooltip look a little sexier 2013-03-01 09:22:54 -05:00
Bob Monteverde
f4a7f27a96 Made tooltip look a little sexier 2013-03-01 09:17:25 -05:00
Lee Gillentine
2a76897f8f Fixing typo in styling 2012-12-21 20:29:55 -05:00
Bob Monteverde
2338ebc8ce Minor css tweak to the bullet 2012-12-05 17:52:10 -05:00
Bob Monteverde
826b938c0d Minor css tweak to the bullet 2012-12-05 17:47:19 -05:00
Bob Monteverde
281a5a2b60 Re-wrote the bullet model to work with positive and negative numbers... including bullets that range both pos and neg 2012-12-03 17:14:41 -05:00
Bob Monteverde
99329c6fc9 Lots of enahncements to scatter and stacked are, useVoronoi(false) now functions correctly. IE9 fixes. 2012-11-29 16:54:07 -05:00
Bob Monteverde
dacbf5303f Issue #297: get showMaxMin to work on ordinal x axis scale 2012-11-08 15:44:26 -05:00
Bob Monteverde
8fae9ec2bf Changing default font to Arial for xonsistgent sizing in different browsers 2012-11-02 18:18:48 -04:00
Ricardo
cdc6565da4 Changing the sparkline tooltip color to avoid confusion with the cumulative chart line 2012-11-02 15:58:28 -04:00
Bob Monteverde
48ab64d329 Minor tweak to sparklinePlus font size 2012-10-26 16:31:31 -04:00
Bob Monteverde
a5d6c9b751 Issue #284 some tweaks to new sparkline showValue 2012-10-26 15:36:09 -04:00
Bob Monteverde
d1edef5457 Issue #284 show current value to the right of the sparkline 2012-10-26 14:47:48 -04:00
Ricardo
6753cfb67f Adding back the hand cursor to the legends 2012-10-25 16:37:14 -04:00
Ricardo
f7de0d03d3 Removed cursor pointers 2012-10-24 11:48:08 -04:00
Bob Monteverde
62a8e4fa9c Issue #271 css tweak to make sure the single point of a line chart shows up 2012-10-23 14:24:31 -04:00