Commit Graph

86 Commits (c0db3355392b95d8963c5a55d666a9af3db728f7)

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.
11 years ago
Robin Hu 9fbe68c8d8 Adding "use strict"; in all chart code.
Fixed any exceptions thrown when "use strict" was added.
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 435cea2cf7 Updated scatterChart with transitionDuration property. 11 years ago
Rusty Bailey fa43a8388d Add xRange and yRange methods to compliment {x,y}Domain methods. 11 years ago
Robin Hu 561fb5afe1 Merge branch 'development' of https://github.com/adjohnson916/nvd3 into development-127
Conflicts:
	src/models/scatter.js
11 years ago
Robin Hu 3266bc369d Fixing bug on cumulative line chart where point hover circles
were not disappearing after moving the index line.
This is due to commit 065c8eb84d.
11 years ago
Robin Hu 817340cff5 Instead of using a dispatch for handling 'highlightPoint' and 'clearHighlights', I am making
those functions a direct method of nv.models.scatter.  So you just say scatter.highlightPoint,
instead of scatter.dispatch.highlightPoint.
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 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
Robin Hu c079f3e122 Added 'ClearHighlights' dispatch to scatter.
Created preliminary implementation of mousemove event on lineChart.
11 years ago
Robin Hu 4038a56c7a Added color legend square to the tooltip for each series. 11 years ago
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.
11 years ago
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.
11 years ago
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 11 years ago
Tyler Wolf af8b13dd48 Merge branch 'master' of https://github.com/novus/nvd3 into development
Conflicts:
	nv.d3.min.js
11 years ago
frank shao 90e4078941 Adjusted jitter in scatter.js 11 years ago
Tyler Wolf a437d1ef0e Merge branch 'master' of https://github.com/novus/nvd3 into development
Conflicts:
	nv.d3.min.js
11 years ago
Robin Hu 8731046948 Issue #140. Added ability to stagger the x-axis labels on Multibar charts. 11 years ago
Tyler Wolf bd0aab25ca lots of changes 11 years ago
Tyler Wolf 1ac80d87c8 Merge branch 'master' of https://github.com/novus/nvd3 into development
Conflicts:
	nv.d3.min.js
11 years ago
Robin Hu 3e48d32290 Altered the way 'jittering' is handled for scatter plots. This should fix any d3.geom.voronoi issues we encountered. 11 years ago
Tyler Wolf fb5897eb52 progress 11 years ago
Robin Hu 6fcee4e17d Removed some line breaks that were added. 11 years ago
Robin Hu 0894152def Fixed issue #131. Was able to remove errors:
d='MZ', cx="NaN", cy="NaN".  The error "Problem parsing d=''" remains.
11 years ago
Anders Johnson 08b23cf37d Add opt-in scatter point color override. 11 years ago
Bob Monteverde 859b97a9d3 Fixed padData on scatter, added padDataOuter to account for outerPadding on ordinal scales 11 years ago
Bob Monteverde 88c4157d0e Minor fix to scatter to allow all series to be disabled and padData set to true without error 11 years ago
Tyler Wolf 050e827f6c fixed js error in scatter voronoi mouseover 11 years ago
Lee Gillentine a89a5ce29a Grammar police: fixing typos 11 years ago
Tyler Wolf 5f0700eac9 #33, plus added flatTestData() for testing with flat data to cumulativeLineChart example 11 years ago
Bob Monteverde 38ba70f4dc Added padData option to allow bars and lines to align correctly without cutting off half of the first and last bar 12 years ago
twolf d0d5346535 expanded borders for voronoi field on charts 12 years ago
Dingo 5f79dba1ea UI-38 fixed all scatter-based charts for use on IE9 12 years ago
twolf 5bb5e161ab UI-38 fixed voronoi issue in IE9 12 years ago
unknown 09ed5ec092 fixed issue with scatter resize 12 years ago
twolf f83e6eb16b fixed tooltip problem on stacked Area in IE 12 years ago
Bob Monteverde 99329c6fc9 Lots of enahncements to scatter and stacked are, useVoronoi(false) now functions correctly. IE9 fixes. 12 years ago
Bob Monteverde 6db030bdb4 Some minor tweaks for the scatter voronoi 12 years ago
Tyler Wolf f6a4166117 removed logging 12 years ago
Tyler Wolf f374c9a527 fixed NVD-325 and UI-34 12 years ago
Tyler Wolf 0de0ea9ab6 fixed issue #UI-22 12 years ago
Bob Monteverde 2cb1240441 Issue #305 disable tooltips until interactive layer updates to new position 12 years ago
Bob Monteverde 3e5d1e4807 Issue #283 voronoi based point interaction now works with less than 3 points 12 years ago
unknown 396a778c0d scatter points will show up without specifying .size(1) 12 years ago
Bob Monteverde 65d1d3eff5 Issue #237 when a series in the stacked area has 0 value, make point NOT active 12 years ago
Bob Monteverde aca8838f52 Issue #161 implemented new margin setting in scatter.js will implement into the others later 12 years ago
Bob Monteverde 33823fe24d Issue #68 updated multibar model to standard format 12 years ago
Stefan Gojan 3db503ecce fixed #147 added switch to use voronoi or circles for mouse events 12 years ago