Commit Graph

19 Commits

Author SHA1 Message Date
Robin Hu
9f2280bee7 Fixing issue #219. Moving the jitter logic to after the scatter point's scale
has been determined.
Added line chart and scatter chart tests.
2013-08-14 09:09:31 -04:00
Robin Hu
6d0b196892 Fixing issue #139. Logic in scatter.js for
when yDomain is a constant range (ie, [10,10]) is opposite
of what it should be. Added test cases in lineChartTest and
scatterChartTest.html.
2013-08-12 21:35:00 -04:00
Robin Hu
cdb7e3e271 Fixing bug where tooltips don't show up in right position
if the chart is inside a <div> with overflow:scroll
2013-08-12 21:05:53 -04:00
Robin Hu
7610c5b5f6 Updating readme to highlight issue #216. Renamed rangeScaleTest to
polylinearTest, and added link to lineChartTest.html
2013-08-11 22:19:20 -04:00
Robin Hu
174592207e Added a chart test case where the chart is inside a
div with overflow:scroll. And I found a bug with tooltips!
Brought up in issue #211
2013-08-09 23:15:03 -04:00
Robin Hu
07c850649b Adding nav links to pieChartTest.html. 2013-08-05 23:10:58 -04:00
Robin Hu
535993aa7c Adding real time bar chart test example. Updating historicalBar.js
to add a data key function for each bar <rect>.
Added transition to historicalBarChart.update, just like lineChart.
2013-08-04 21:39:02 -04:00
Robin Hu
9227616db2 Adding new test page for Scatter chart (and scatter plus line). 2013-07-13 20:58:47 -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
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