Commit Graph

945 Commits (master)

Author SHA1 Message Date
Robin Hu 3974ce1693 Bumping to v 1.1.11, due to changes in the tooltip. 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
Robin Hu 07899e2654 Updating tooltip.js to accept a "footer" element. 11 years ago
Robin Hu 0e116c6b56 Adding interactive Guideline layer double click dispatch event. 11 years ago
Robin Hu f71c9d25ea Merge remote-tracking branch 'origin/development' into development 11 years ago
frank shao 685ab6219d Passing point index to interactive layer 11 years ago
Robin Hu 3b83d8380a A bug on FireFox creates a situation where an <svg> element has a boundingRect.top of -180000 (or some really big number). Added some defensive code in tooltip.js to prevent the tooltip from being positioned at the very bottom. 11 years ago
Robin Hu 9315679dc7 Adding axisLabelDistance property to axis.js 11 years ago
Marsup a2e78e1a72 Keep same reference on data and values for scatter 11 years ago
Robin Hu 8319fe5796 Merge branch 'development-hashedargs' into development 11 years ago
Robin Hu c13606db14 Updating historicalBar to update attr(transform) on enter. 11 years ago
Robin Hu 91f7a8631f Adding optionsFunc to all charts. 11 years ago
Robin Hu 0edc568ad0 Checking in a solution to making it possible to use
chart.options({}).  Instead of chaining properties,
you can pass chart properties in a hash.
Adding a optionsFunc template to utils.js, so it can reused in all chart
code.
11 years ago
Robin Hu ce180645d1 Merge branch 'master-patched' into development-patched
Conflicts:
	nv.d3.min.js
	src/models/multiBarChart.js
11 years ago
Rusty Bailey a4ef6d3c5c Expose d3's stack offset to allow for percent-based stack using 'expand' - fix #225 11 years ago
Robin Hu 843577aff8 Fixing transition issues with lineWithFocusChart. Added transitionDuration
property, defaulted to 250
11 years ago
Robin Hu 804cb72738 Readded the fix for multiBar data enter key. 11 years ago
Robin Hu ad1a18d761 Fixing transition issues with linePlusBarWithFocusChart. 11 years ago
Robin Hu 6244f27d0e Removing 'singlePoint' undefined variable in historicalBar.js 11 years ago
Robin Hu 5e78ec57c3 Fixing a bug related to transitions and delays with mutliBar. 11 years ago
Robin Hu 32f69f5377 Fixed stackedArea chart transitionDuration. 11 years ago
Robin Hu f286b1b4e9 Fixing scatterChart transitionDuration property. 11 years ago
Robin Hu 1e8109a9d1 Small update to README. Updating GruntFile to include new js files.
Bumping to version 1.1.10 due to latest transitionDuration changes.
11 years ago
Robin Hu 46f0f215ac Fixed multibarHorizontal chart transitionDuration 11 years ago
Robin Hu aaf46a48ff Updated multiBar enter() data to use key equal to the data index. 11 years ago
Robin Hu 3e78184006 Fixed multibar transitions. Removed the bar.transition.delay. It was
annoying.
11 years ago
Robin Hu 13e7d4c688 Updating historicalBar chart transitionDuration. 11 years ago
Robin Hu acef1926f0 Fixing up transitions on discreteBar chart. 11 years ago
Robin Hu 9a9e34bb30 Updating cumulativeLineChart to use transitionDuration differently. 11 years ago
Robin Hu 7adc37f1f8 Removed transitionDuration from line.js and axis.js, and modified
lineChart.js to pass transition in via inheritance.
11 years ago
Robin Hu 1a86e271c1 The <rect> inside lineChart and stackedAreaChart needs to have its
width/height updated on redraw, so the new tooltips can be interacted
with.
11 years ago
Robin Hu 42c155eb1b Merge remote-tracking branch 'origin/development' into development 11 years ago
Robin Hu 3c5990d815 Issue #226. Changing multibarHorizontalBar nv-group to use index as key when entering. 11 years ago
Tyler Wolf e7782c1a08 another fixed to controls on stackedareachart 11 years ago
Tyler Wolf cfc706bfa9 fix to previous fix 11 years ago
Robin Hu caa6b56c73 Merge branch 'group_spacing' of https://github.com/dimagi/nvd3 into development
Conflicts:
	src/models/multiBar.js
11 years ago
Tyler Wolf 3bda8b90f2 added classing to links in indentedTree 11 years ago
Robin Hu 4ea8115a6a Fixing issue in multibarChart where the axisLabel was being
rotated along with the xAxis tick labels, when rotateLabels
was set.
11 years ago
Robin Hu 8c6b6eb643 Removed a line from multibar chart that was referencing undefined variable
'singlePoint'.
11 years ago
Robin Hu 7d5a3ac209 Adding transitionDuration to axis showMaxMin. 11 years ago
Robin Hu 6f6a472ed1 Removing transition() chaining in multibar. 11 years ago
Robin Hu 58d60f9cb5 Added back the transitionDuration property to nv.models.axis. Added transitionDuration to historicalBar. 11 years ago
Robin Hu e2ef9489da Added transitionDuration to multiBarHorizontal. Bumped version to 1.1.9b 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 eb117f90d9 Bumping to version 1.1.8b, because of removal of transitionDuration usage from axis. 11 years ago
Robin Hu 17a21cc0f4 Found an issue when using transition().duration() with axis.
It was causing a certain kind of 'flickering' with historicalBars. Removing that usage for now.
11 years ago
Tyler Wolf c0db335539 Merge branch 'development' of https://github.com/novus/nvd3 into development
Conflicts:
	nv.d3.min.js
11 years ago
Tyler Wolf 8099796792 changes to tooltip. removed 3d shadow 11 years ago
Robin Hu 6ff087584d Bumping to version 1.1.7b, due to removal of with-3d-shadow from tooltips.
Updating all example charts to include with-3d-shadow.
11 years ago
Robin Hu c2b32f2909 Removing with-3d-shadow from tooltips by default. Need to add it manually back.
Updating .with-3d-shadow CSS rule to include nvtooltip.
Updated lineChart example.
11 years ago
Robin Hu 7b24a9c2f6 Bumping to version 1.1.6b, due to change in scatter.js jitter hack. This can affect many charts. 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
Tyler Wolf aea9036ee2 Merge branch 'development' of https://github.com/novus/nvd3 into development 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 281f6cfbce Fixed bug in tooltip.js, for situations where parentContainer is undefined.
Added tooltip.js script to pieChartTest.html
11 years ago
Robin Hu 16d0a843fc [cumulativeLineChart] Fixing chart so that dragging index line turns off chart transitions. 11 years ago
Robin Hu e33e102952 Bumping to version 1.1.5b, due to the addition of 'use strict' everywhere. 11 years ago
Robin Hu f78caa70fa Removing previousXCoordinate variable from interactiveLayer.js because it was not being referenced. 11 years ago
Robin Hu 7133a13d85 Fixed conflicts in tooltip.js when merging with origin/development. 11 years ago
Robin Hu 1522fee378 Merge branch 'development' of https://github.com/novus/nvd3 into development 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 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 efeba92bc8 Bumping to version 1.1.4b. This is because of the transitionDuration property added to many charts. 11 years ago
Tyler Wolf d9cca0320f lines are now 1.5px wide instead of 2.5px wide 11 years ago
Robin Hu d8909d3217 Making default transitionDuration=250 for multibar. Rebuilding nv.d3.js 11 years ago
Robin Hu 435cea2cf7 Updated scatterChart with transitionDuration property. 11 years ago
Robin Hu 1f3f3589c3 Added transitionDuration to multiBarChart. 11 years ago
Robin Hu 9e947d4aec Added transitionDuration to discreteBarChart. 11 years ago
Robin Hu d57fa841ca Added transitioDuration property to stackedAreaChart, lineChart, cumulativeLineChart. 11 years ago
Robin Hu 178700c896 Adding transitionDuration property to line.js 11 years ago
Robin Hu 1969a038d3 Merge branch 'development' of https://github.com/novus/nvd3 into development 11 years ago
Robin Hu 4fe7606c04 Updating scatterPlusLineChart.js to use legend.stateChange. 11 years ago
Robin Hu acb310ceec Updating almost all main chart types to use new legend.stateChange
code. All have been tested.
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
Robin Hu 6edf25b5a6 [stackedAreaChart] Adding legend stateChange listener and removing old
legend click code.
11 years ago
Robin Hu f2375705a4 [legend.js] added radioButtonMode. If set to true, chart
legend will behave like a radio button group when clicked.
Mentioned in issue #168.
11 years ago
Robin Hu 4e861eaba0 One of my projects is to overhaul the code for nv.models.legend.
Right now, we have duplicated code in all of our charts
for handling legendClick and legendDblClick. It turns out we
can handle this all in legend.js, and reduce the amount of
code in each chart model.

So far, I've converted lineChart.js to this new format.
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 552758c876 Bumping version to 1.1.2b, due to changes in how legend width is calculated for scatter and stacked charts. 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 b9a2d618cc historicalBar: Adding NaNtoZero check to bar height/y. 11 years ago
Robin Hu 718c7c9ee4 Adding nv-thin-line CSS class to make thinner lines. 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 ce3de0d95c Merge branch 'rb/pie_labels' of https://github.com/rustybailey/nvd3 into development 11 years ago
Robin Hu 9b941caeda Merge branch 'master' into development
Conflicts:
	nv.d3.js
	nv.d3.min.js
	src/core.js
11 years ago
Rusty Bailey e47e048410 Add a labelType method for pieCharts to give to option to use 'key', 'value', or 'percent' 11 years ago
Robin Hu 5179633685 Merge branch 'master' of https://github.com/CentroNet-Marketing/nvd3 into master-patched 11 years ago
Robin Hu 646c54bf62 Fixing issue in legend.js I found while investigating
issue #171.  Turns out it's possible for a divide by zero
error to happen.
11 years ago
Robin Hu 4bb3531197 Issue #131: fixing d="" error with lineWithFocusChart.
Need to add some defensive checks to make sure brush extent
is always greater than one.
11 years ago
Robin Hu 61ea02e264 Rebuilding nv.d3.js. Bumping version to 1.1.1b, due to stackedArea changes. 11 years ago
Robin Hu 19afd68f53 Adding transitionDuration option to stackedArea.
Adding transition to StackedAreaChart example.
11 years ago
Robin Hu 16f64b9821 Updating stackedArea.js to use d3 version 3 transition chaining syntax. 11 years ago
Robin Hu d92428332c Merge branch 'stackedarea' of https://github.com/MikeRoetgers/nvd3 into development
Conflicts:
	src/models/stackedArea.js
11 years ago
Robin Hu 229cbd5121 Fixing tooltip flickering on IE.
Bumping development version # to 1.1.0b, as new significant features have been added.
Rebuilding nv.d3.js
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
Mike Rötgers 6d99aee7b9 refs #153 : add transitions
* transitions active again when path enters or exits chart
11 years ago
Robin Hu c686b7a147 Pie chart's .nv-label needs a pointer-events:none rule.
This makes tooltips stable and not disappear when you mouse over a label.
Issue #48
11 years ago