Commit Graph

36 Commits

Author SHA1 Message Date
Robin Hu
4983f2c6df Fixed bug in stackedAreaChart where the tooltip highlight lines would not show up for negative stacked charts. 2013-11-26 11:32:03 -05:00
Robin Hu
b072322514 Adding multiBarChartTest.html test page 2013-08-25 17:02:30 -04:00
Robin Hu
c13606db14 Updating historicalBar to update attr(transform) on enter. 2013-08-25 09:07:55 -04:00
Robin Hu
b102af9edd Removed a line from multibar chart that was referencing undefined variable
'singlePoint'.
2013-08-17 20:34:45 -04:00
Robin Hu
30d8637356 Adding a "Select chart" button to each of the test charts.
Clicking this button will hide other charts and only display the selected
one.
2013-08-14 23:03:29 -04:00
Robin Hu
c2cc7772d1 Added nv-legend-* class to legend text and circle icon.
Fixing some IE bugs related to the tooltip.
2013-08-14 22:25:28 -04:00
Robin Hu
8b4a0b6cd9 Updating line chart test to include a volatile dummy stock chart
as test data.
2013-08-14 21:45:48 -04:00
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
281f6cfbce Fixed bug in tooltip.js, for situations where parentContainer is undefined.
Added tooltip.js script to pieChartTest.html
2013-08-13 09:28:23 -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
9770970f79 Fixing issue #190. Changing logic inside scatterChart.js
so that scatter.xDomain and yDomain are not altered
unless xPadding and yPadding are non-zero.
2013-08-12 21:18:17 -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
e083d663e3 For issue #216, adding test page for testing various
ranges and scales.
2013-08-11 21:57:03 -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
0edd39bb1c For issue #171, making stackedAreaChart and scatterChart legends
fill full available width if the controls are hidden.
2013-08-09 17:59:02 -04:00
Robin Hu
3dbdde795f For PR #209, adding test pieChart to pieChartTest.html.
Making 'key' the default label type if none specified.
2013-08-07 22:58:35 -04:00
Robin Hu
07c850649b Adding nav links to pieChartTest.html. 2013-08-05 23:10:58 -04:00
Robin Hu
5bce7a4d07 Updated stackedAreaChartTest to show example with less than four points.
CHecking if issue #89 manifests itself.
2013-08-05 11:55:08 -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
2cf5b63c91 The whole concept of specifying a pie.values() function is
not consistent with other charts.  For all pie charts,
the developer needs to make sure to just pass in an array of key-value
pairs.  Nothing more.  The example of nvd3.org is not the proper way of
passing data into pie charts.

Removing pie.values() functionality and putting console error message.
Updated examples. For issue #98, #162, #106
2013-08-03 23:38:31 -04:00
Robin Hu
e891716b11 Adding various pieChart tests. 2013-08-03 23:24:32 -04:00
Robin Hu
5af04cb857 Fixing NVD3 issue #98, 'Object #<Object> has no method 'map' on pieChart'.
Updating pieChart examples, so that [testData] becomes testData (no extra
array brackets needed).

Also adding pieChart test page.
2013-08-03 23:12:53 -04:00
Robin Hu
e182e081bf Major change to interactiveLayer.js. Instead of creating
a svg <rect> element to process mousemove events, we are
attaching the mousemove event to the bounding <svg> container.
This allows stackedAreaChart to maintain some previous interactivity.
2013-07-25 14:23:51 -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