Commit Graph

10 Commits

Author SHA1 Message Date
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.
2013-07-08 17:19:10 -04:00
Robin Hu
6ab5b447d4 Adding unit test page (very crude) for nv.interactiveBisect, since it is a
very important function.
2013-07-07 00:02:34 -04:00
Robin Hu
79b196cb41 Added simple navigation links between lineChart, StackedAreaChart and
CumulativeChart test examples.
2013-07-06 14:58:50 -04:00
Robin Hu
5f3e6d5691 Fixed merge conflicts when merging with origin/nvd3-UI-134 2013-07-06 10:33:54 -04:00
Robin Hu
28d708d09d Adding unit test on lineChartTest.html for when points are NaN, undefined,
etc.
Found a few edge cases where errors happen. Creating nv.utils.NaNtoZero()
function, to be used in places where points and lines are rendered.

Using NantoZero in scatter.js and interactiveGuideline.
2013-07-05 16:14:48 -04:00
Robin Hu
9b3858e926 Created new general stylesheet for the nvd3 chart test pages.
Added test page for stacked area chart.
2013-07-05 15:32:47 -04:00
Robin Hu
02da71c944 Added six more important line chart test cases. Changed tests to include
area charts.
2013-07-04 17:45:42 -04:00
Robin Hu
defaf765e8 Created nv.interactiveBisect utility function, and integrated it into the
interactiveGuideline logic.  This function is used to find the x point
position given a mouseX location. It's a more robust solution. Made sure
chart tests passed.
2013-07-04 12:21:12 -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