Commit Graph

36 Commits (master)

Author SHA1 Message Date
Robin Hu 4983f2c6df Fixed bug in stackedAreaChart where the tooltip highlight lines would not show up for negative stacked charts. 11 years ago
Robin Hu b072322514 Adding multiBarChartTest.html test page 11 years ago
Robin Hu c13606db14 Updating historicalBar to update attr(transform) on enter. 11 years ago
Robin Hu b102af9edd Removed a line from multibar chart that was referencing undefined variable
'singlePoint'.
11 years ago
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.
11 years ago
Robin Hu c2cc7772d1 Added nv-legend-* class to legend text and circle icon.
Fixing some IE bugs related to the tooltip.
11 years ago
Robin Hu 8b4a0b6cd9 Updating line chart test to include a volatile dummy stock chart
as test data.
11 years ago
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.
11 years ago
Robin Hu 281f6cfbce Fixed bug in tooltip.js, for situations where parentContainer is undefined.
Added tooltip.js script to pieChartTest.html
11 years ago
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.
11 years ago
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.
11 years ago
Robin Hu cdb7e3e271 Fixing bug where tooltips don't show up in right position
if the chart is inside a <div> with overflow:scroll
11 years ago
Robin Hu 7610c5b5f6 Updating readme to highlight issue #216. Renamed rangeScaleTest to
polylinearTest, and added link to lineChartTest.html
11 years ago
Robin Hu e083d663e3 For issue #216, adding test page for testing various
ranges and scales.
11 years ago
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
11 years ago
Robin Hu 0edd39bb1c For issue #171, making stackedAreaChart and scatterChart legends
fill full available width if the controls are hidden.
11 years ago
Robin Hu 3dbdde795f For PR #209, adding test pieChart to pieChartTest.html.
Making 'key' the default label type if none specified.
11 years ago
Robin Hu 07c850649b Adding nav links to pieChartTest.html. 11 years ago
Robin Hu 5bce7a4d07 Updated stackedAreaChartTest to show example with less than four points.
CHecking if issue #89 manifests itself.
11 years ago
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.
11 years ago
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
11 years ago
Robin Hu e891716b11 Adding various pieChart tests. 11 years ago
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.
11 years ago
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.
11 years ago
Robin Hu 9227616db2 Adding new test page for Scatter chart (and scatter plus line). 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 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 6ab5b447d4 Adding unit test page (very crude) for nv.interactiveBisect, since it is a
very important function.
11 years ago
Robin Hu 79b196cb41 Added simple navigation links between lineChart, StackedAreaChart and
CumulativeChart test examples.
11 years ago
Robin Hu 5f3e6d5691 Fixed merge conflicts when merging with origin/nvd3-UI-134 11 years ago
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.
11 years ago
Robin Hu 9b3858e926 Created new general stylesheet for the nvd3 chart test pages.
Added test page for stacked area chart.
11 years ago
Robin Hu 02da71c944 Added six more important line chart test cases. Changed tests to include
area charts.
11 years ago
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.
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