Commit Graph

350 Commits (d1ebad10e4458bd8d61c5abcdc4d380ba31b349c)
 

Author SHA1 Message Date
Itay Neeman ac3392519d Fix horizontal bar charts not updating correctly (#54)
Horizontal bar charts didn't update correctly - the data that the width
was calculated by was bound to previous values.

The fix was to use `select()` instead of `selectAll` on the bars
themselves (since there is only a single `rect` element in each). This
is because `selectAll` doesn't propagate data bindings, per the
following links:

https://groups.google.com/forum/?fromgroups#!topic/d3-js/PUansS150J0
https://groups.google.com/forum/?fromgroups#!topic/d3-js/272vChmijIw

It works the first time because of the `.enter()` definition which will
cause data to propagate, as mentioned in the above threads.
12 years ago
ian 0a5b34308a center y axis label 12 years ago
Bob Monteverde 54bcb6d971 Added defined to all line charts that defaults to not defined when something cannot be parsed to a number, feature added to fix problem noted in Issue #57 12 years ago
Bob Monteverde 5b99f6159b Mergin in Pull Request #56 12 years ago
Bob Monteverde 5bbd533ab4 Minifying Pull Request #55 12 years ago
EricRose 2b8f12d6bf Added a public method to PieChart to allow users to opt not to show the legend 12 years ago
Bernd Ahlers eba42c3039 Fix typo in lineWithFocusChart example. 12 years ago
Bob Monteverde 6a4e969303 Fix scatter magnify where clicking on points does not pause, now clicking anywhere, points and background will pause it 12 years ago
Bob Monteverde cc95d977d8 Exposing x2 and y2 axis on line with focus chart so user can set different if needed, BUT user must set both now 12 years ago
Bob Monteverde affd81b0a4 Merge remote-tracking branch 'synack/master' 12 years ago
Bob Monteverde eb313cc7ec Issue #31 added accessor for tooltips and tooltipContent on multibar 12 years ago
Bob Monteverde 88d538287b Issue #41 fixed legend height updating available height on line plus bar chart 12 years ago
Bob Monteverde 2274156100 Issue #44 Limiting legend to 50% width on line plus bar 12 years ago
Bob Monteverde f46328a585 Merging in Pull Request #53 12 years ago
Bob Monteverde 2634e157cf Merging in Pull Request #51 12 years ago
Alexandre Rocha Lima e Marcondes c9717f0427 * Interpolate should have been rebound from the lines:
d3.rebind(chart, lines, 'interpolate');
12 years ago
Itay Neeman 0355c9cbe5 Make lineWithFocusChart have consistent x and y value getters
lineWithFocusChart uses two separate line charts, and this change
ensures that any x/y value getter (e.g. `chart.x(...)`) set on the main
line chart is also migrated to the focus chart.
12 years ago
Alexandre Rocha Lima e Marcondes d513dee197 * Interpolation on line and line related charts 12 years ago
Bob Monteverde 8cc955c29c whitespace cleanup in scatterChart 12 years ago
Bob Monteverde 58de184cf9 slight tweaks to scatterChart and css 12 years ago
Bob Monteverde 89172ff42e Fix issue where disabled series show up when magnify is enabled 12 years ago
Bob Monteverde bfb1f2db25 Cleaning up scatterChart, fixed a few issues that had no tickets 12 years ago
Bob Monteverde 631e50f684 trying out common comment structure in scatter, soon the rest will have it 12 years ago
Bob Monteverde c6e4ffb5c5 Stage 1 of cleanup continued 12 years ago
Bob Monteverde ab80bda59c Stage one of major code cleanup / consistency check 12 years ago
Bob Monteverde 5beda82c05 Issue #29 removing deprected bar example 12 years ago
Bob Monteverde 53401adab5 Merging in Pull Request #43 fixiing Issue #42 MultibarChart set to stacked, the controls default value is wrong 12 years ago
Bob Monteverde 292256bab7 Merging in Pull Request #46 allow updating delay for multiBarChart 12 years ago
Bob Monteverde 35ba44bd9f Issue #38 let user set custom scales on the satckedAreaChart 12 years ago
Luke Steensen a7c4b0fe06 regenerate compiled files
also undo mistake deletion from last commit
12 years ago
Luke Steensen 575a4efce7 allow updating delay for multiBarChart 12 years ago
Jun Lin 7b489cf781 re-generate minified js 12 years ago
Jun Lin d1f7cdf286 fixed #42 set multibar default to stacked, the controls default value is wrong 12 years ago
Bob Monteverde e91cf0ac25 Merge pull request #36 from latentflip/fix-issue-35
Fix accidental semicolon in var list causing variables afterwards to be globals in multiBarChart.
12 years ago
Philip Roberts a04cc0fa07 Fix accidental semicolon in var list causing
variables afterwards to be globals in multiBarChart.

Fixes #35.
12 years ago
Bob Monteverde 253023d805 adding 1px white stroke to pir chart 12 years ago
Bob Monteverde 6a35569ca2 LOTS of tweaks to discreteBar and Axis. Only pad for the correct values if showValues, reduce unnused margins, prevent overlapping labels on axis with showMaxMin 12 years ago
Bob Monteverde 5dcc2b7402 fixed incorrect api name, valueFormat, NOT valuesFormat 12 years ago
Bob Monteverde 04e68e9295 fixed issue with max and min labels overlapping on y axis 12 years ago
Bob Monteverde e7a8665705 fixing issues with labels not being positions correctly in firefox 12 years ago
Bob Monteverde feed538cee configurable open and close options now in api 12 years ago
Bob Monteverde c9011f5f22 updated lineWithFisheye example, and boosted max zoom to 5x 12 years ago
Bob Monteverde 016dc47bd9 update examples url 12 years ago
Bob Monteverde 879cf06e09 Removed shape from scatter, replaced with getShape, defaults to function(d) { return d.shape || 'circle' } 12 years ago
Bob Monteverde c4c2e8afde oops, CNAME should be in gh-pages 12 years ago
Bob Monteverde fc1424859c Adding CNAME file so you can use nvd3.com 12 years ago
Bob Monteverde 52eec9b46f working on fixing multibar x axis with showMaxMin is false 12 years ago
Bob Monteverde 7b780350fb working on fixing multibar x axis with showMaxMin is false 12 years ago
Bob Monteverde 5d5488dbb6 Fix issue where pie chart lets you disable all series then series doesn;t come back when re-enabled 12 years ago
Bob Monteverde 9d726ac9ab some updates to the pie css to make interaction sexier 12 years ago