Commit Graph

78 Commits (6752bf5cc831e69e17572e91c3a8958ede8996aa)

Author SHA1 Message Date
Tyler Wolf 6752bf5cc8 fixed an issue with legend placement 11 years ago
frank shao 8afe71bf76 Added zero line for discreteBarChart and multiBarHorizontalChart 11 years ago
Robin Hu 02ca4d7238 Merge remote-tracking branch 'origin/master' into development 11 years ago
Robin Hu 550e060238 Fixed typo in cumulativeLineChart rescaleY() method. 11 years ago
Robin Hu ef96592694 Updating tooltip highlight so that the item will only highlight if the
mouse is really close to the chart point. Created a "nearestValueIndex"
function.
11 years ago
Robin Hu 8c43e72bbe Added feature where tooltips will highlight the row corresponding to the point your mouse is closest to. 11 years ago
frank shao 685ab6219d Passing point index to interactive layer 11 years ago
Robin Hu 91f7a8631f Adding optionsFunc to all charts. 11 years ago
Robin Hu 9a9e34bb30 Updating cumulativeLineChart to use transitionDuration differently. 11 years ago
Robin Hu 0ead511d72 [cumulativeLineChart] Fixed bug where clicking on a point in the chart
would not move the index line.
11 years ago
Robin Hu 16d0a843fc [cumulativeLineChart] Fixing chart so that dragging index line turns off chart transitions. 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 d57fa841ca Added transitioDuration property to stackedAreaChart, lineChart, cumulativeLineChart. 11 years ago
Robin Hu 73a59f6a07 Converting cumulativeLineChart to use legend stateChange dispatch.
Updated lineChart and stackedArea to update chart.state
whenever legend.stateChange is dispatched.
11 years ago
Rusty Bailey fa43a8388d Add xRange and yRange methods to compliment {x,y}Domain methods. 11 years ago
Robin Hu 6dd18cdcee On IE, tooltips for cumulativeLineChart were flickering
when mouse moved over an avgLine. Making pointer-events:none
the default for avgLine and x/y-axis.
Removing foregroundPointerEvents variable; not needed anymore.
11 years ago
Robin Hu 7f71b66b0c Overhauling the logic for creating an interactive layer.
Basically, the <svg> container will now process all mousemove
events. This allows stackedAreaChart and CumulativeLineChart to
maintain some other forms of interaction.
11 years ago
Robin Hu 410569110e Average lines on cumulative line chart had ability to go
off the <SVG> bounding rectangle. This caused issues on Firefox.
Changed code so that the average lines are 'clamped' within
the <SVG> bounding rect, and if they go off bounds, make them transparent.
11 years ago
Robin Hu 8608819e0d Cumulative line chart old tooltips working again.
Needed to modify pointer-events depending on whether
useInteractiveGuideline was set to true or false.
11 years ago
Robin Hu 678beb63ef Fixing issue where the 'IndexLine' in cumulative line chart was not draggable.
Needed to move interactive layer to the bottom of the SVG layer stack, and change pointer-events to none
for things above it.
11 years ago
Robin Hu 874e068d9f The code to create the interactive guideline is now placed after
the code that creates the legend.
This fixes an issue where the guideline would extend past
the X-axis, when the legend was more than two lines.
11 years ago
Robin Hu 6e84a6845c Tooltips are no longer rendered on document.body.
Instead, they are rendered inside the chart container.
Added some CSS styles to nvtooltip
11 years ago
Robin Hu 4b8ad322cf Updating algorithm for calculating the tooltip offset positioning. 11 years ago
Robin Hu 65edf27199 Fixed bug in nv.interactiveBisect, for situations where the xAccessor is
function(d,i) { return i}
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 1eb01d703d Turning off Voronoi point path creation, if using the new interactive
guideline and tooltip.

Turns out, Voronoi is not needed in this new interactive mode!
11 years ago
Robin Hu d974556d05 Cleaned up interactive guideline dispatch code.
Integrated interactive guideline into cumulativeLineChart and updated
example.
11 years ago
Robin Hu 6b63db67d0 Updated several charts so that the showXAxis, showYAxis and rightAlignYAxis options are available for use. 11 years ago
Robin Hu 0151cdccab Made it so that double clicking a legend item will cause all other series' to be disabled. 11 years ago
Dingo b0bc28cbe0 fixed cumulativeLineChart drag lag 11 years ago
twolfnovus f108de0bd1 Merge branch 'master' of https://github.com/novus/nvd3 into development
Conflicts:
	nv.d3.min.js
11 years ago
Robin Hu 4ba155d733 For ticket AN-617. Added ability to create an 'average' horizontal line for cumulative line charts. Updated the example HTML file too. 11 years ago
twolfnovus a10c25b333 a few changes for v3 upgrade 11 years ago
twolfnovus 0d5f297d61 updated cumulativeLineChart.js 11 years ago
Tyler Wolf db144a9290 updated many models for state management 11 years ago
Bob Monteverde a52eddf761 Made state.disabled always set on charts that keep state 11 years ago
Lee Gillentine a89a5ce29a Grammar police: fixing typos 12 years ago
Bob Monteverde 8d7553d734 remove stateChange call from changeState handler 12 years ago
Bob Monteverde 64a066ccdf Added changeSatte functionality to update chart from a state object 12 years ago
Bob Monteverde 94629ff02e Added initial state management to cumulativeLine.. currently dispatches state whenevr it changes, but state can not be adjusted outside of the chart... that's coming next 12 years ago
Ricardo eedb708570 Undoing 'subdivide ticks' that was causing problem and was making the user interface less friendly after resize 12 years ago
Ricardo 346c4bdbcb Fixing problem on cumulative line when doing a fresh load (grid doesn't render) 12 years ago
Bob Monteverde 8b5c49281e Issue #323 now acount for series that are temporarily disabld due to calcualtions being impossible to make 12 years ago
Bob Monteverde d74a3102cf Issue #322: Disable cumulative series when they go bellow 95% to prevent scale distortion and calculation errors when a series loses 100% or more 12 years ago
Bob Monteverde 976d731a64 Issue #315 fixed issue with background click handler not resizing 12 years ago
Tyler Wolf 7f0b829b01 further fixed x-axis crowding issue 12 years ago
Tyler Wolf b1a98db4ec fixed cumulativeLineChart x-axis overcrowding 12 years ago
Bob Monteverde c0b27c4c71 Issue #315: dragging index line now works correctly afetr resizing chart 12 years ago
Tyler Wolf 49505ba976 UI-31 12 years ago
Bob Monteverde 739e385fce Issue #310 on drage keep ew-resize cursor 12 years ago