Commit Graph

465 Commits

Author SHA1 Message Date
Bob Monteverde
7b195d9f6d Merge remote-tracking branch 'itay/feature/fix-linebar-chart-incorrect-tooltip' 2012-07-14 00:13:06 -04:00
Bob Monteverde
862c04cfdf Minifying Pull Request #64 2012-07-14 00:10:12 -04:00
Bob Monteverde
2c052ac6aa Merge remote-tracking branch 'itay/feature/fix-linebar-chart-tooltip' 2012-07-14 00:09:56 -04:00
Bob Monteverde
dff61c303c Minifying Pull Request #63 2012-07-14 00:07:59 -04:00
Itay Neeman
b82bacd322 Update compiled files in master 2012-07-13 19:13:29 -07:00
Itay Neeman
2bd33fe395 Merge branch 'feature/fix-wrong-series' 2012-07-13 19:12:23 -07:00
Itay Neeman
8d940952e9 Merge branch 'feature/fix-text-anchor' 2012-07-13 19:12:12 -07:00
Itay Neeman
d737029bd2 Fix incorrect date in tooltip of line+bar chart (#23)
In a line+bar chart, the date was being set incorrectly due to the fact
we did not pass in the point index to the x-axis computation.

This fix passes it in, so now the tooltip can be calculated correctly.
2012-07-13 19:08:21 -07:00
Itay Neeman
5c3dff719c Fix line+bar chart tooltip
There is a bug in the line+bar chart that caused the tooltip to keep
being append with left/right axis information. We fix this by saving
the original key and using that for the append.
2012-07-13 18:33:37 -07:00
Itay Neeman
8a08435415 Fix a bug where the tooltip might show an incorrect stream (#62)
If you disabled a series in a multi-bar chart (either horizontal or
vertical), you would get incorrect tooltips. This was caused by the
fact that we only set the mouseover on the `enter()` elements, which
meant that nothing was being set when the chart was updated due to the
hiding. This caused us to close over the original value of the data

The fix is to set the mouseover on the entire selection, which updates
it every time the chart is updated. This also contains a small fix to
the horizontal multi-bar chart to have a more descriptive tooltip.
2012-07-13 18:31:56 -07:00
Itay Neeman
18713b6b19 Fix the ability to rotate labels (#22)
It turns out there was a bug in d3 2.9.2 that made the transition
continuously override the text-anchor property. This was fixed here:
https://github.com/mbostock/d3/pull/684

This pull request contains d3 2.9.6, and also makes a small fix to
handle both negative and positive rotations. Finally, it updates the
discreteBarChart sample to use it.
2012-07-13 16:46:19 -07:00
Bob Monteverde
92f42f0f31 moving monthendAxis.html to deprecated, and closing Issue #32 2012-07-13 16:35:11 -04:00
Bob Monteverde
199ec2aed8 renaming d3.css to nv.d3.css 2012-07-13 15:25:19 -04:00
Bob Monteverde
c146ab7787 Merging in Pull Request #61 2012-07-13 14:56:35 -04:00
Bob Monteverde
cd5ede7a84 Minifying pull request #60 2012-07-13 14:17:16 -04:00
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.
2012-07-13 00:45:25 -07:00
ian
0a5b34308a center y axis label 2012-07-12 22:55:28 -04:00
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 2012-07-12 15:40:16 -04:00
Bob Monteverde
5b99f6159b Mergin in Pull Request #56 2012-07-12 14:33:11 -04:00
Bob Monteverde
5bbd533ab4 Minifying Pull Request #55 2012-07-12 14:30:48 -04:00
EricRose
2b8f12d6bf Added a public method to PieChart to allow users to opt not to show the legend 2012-07-11 22:45:56 -07:00
Bernd Ahlers
eba42c3039 Fix typo in lineWithFocusChart example. 2012-07-12 08:41:05 +03:00
Bob Monteverde
6a4e969303 Fix scatter magnify where clicking on points does not pause, now clicking anywhere, points and background will pause it 2012-07-12 01:17:02 -04:00
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 2012-07-12 01:07:36 -04:00
Bob Monteverde
affd81b0a4 Merge remote-tracking branch 'synack/master' 2012-07-12 01:02:13 -04:00
Bob Monteverde
eb313cc7ec Issue #31 added accessor for tooltips and tooltipContent on multibar 2012-07-12 00:36:30 -04:00
Bob Monteverde
88d538287b Issue #41 fixed legend height updating available height on line plus bar chart 2012-07-12 00:28:02 -04:00
Bob Monteverde
2274156100 Issue #44 Limiting legend to 50% width on line plus bar 2012-07-12 00:24:23 -04:00
Bob Monteverde
f46328a585 Merging in Pull Request #53 2012-07-11 20:46:59 -04:00
Bob Monteverde
2634e157cf Merging in Pull Request #51 2012-07-11 20:41:48 -04:00
Alexandre Rocha Lima e Marcondes
c9717f0427 * Interpolate should have been rebound from the lines:
d3.rebind(chart, lines, 'interpolate');
2012-07-11 18:15:34 -03:00
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.
2012-07-11 10:06:57 -07:00
Alexandre Rocha Lima e Marcondes
d513dee197 * Interpolation on line and line related charts 2012-07-10 16:27:20 -03:00
Bob Monteverde
8cc955c29c whitespace cleanup in scatterChart 2012-07-10 01:44:57 -04:00
Bob Monteverde
58de184cf9 slight tweaks to scatterChart and css 2012-07-10 01:39:58 -04:00
Bob Monteverde
89172ff42e Fix issue where disabled series show up when magnify is enabled 2012-07-10 01:25:27 -04:00
Bob Monteverde
bfb1f2db25 Cleaning up scatterChart, fixed a few issues that had no tickets 2012-07-10 01:15:23 -04:00
Bob Monteverde
631e50f684 trying out common comment structure in scatter, soon the rest will have it 2012-07-10 00:16:26 -04:00
Bob Monteverde
c6e4ffb5c5 Stage 1 of cleanup continued 2012-07-09 22:57:12 -04:00
Bob Monteverde
ab80bda59c Stage one of major code cleanup / consistency check 2012-07-09 16:01:33 -04:00
Bob Monteverde
5beda82c05 Issue #29 removing deprected bar example 2012-07-09 01:02:28 -04:00
Bob Monteverde
53401adab5 Merging in Pull Request #43 fixiing Issue #42 MultibarChart set to stacked, the controls default value is wrong 2012-07-09 00:16:40 -04:00
Bob Monteverde
292256bab7 Merging in Pull Request #46 allow updating delay for multiBarChart 2012-07-09 00:12:16 -04:00
Bob Monteverde
35ba44bd9f Issue #38 let user set custom scales on the satckedAreaChart 2012-07-09 00:02:29 -04:00
Luke Steensen
a7c4b0fe06 regenerate compiled files
also undo mistake deletion from last commit
2012-07-06 15:48:32 -05:00
Luke Steensen
575a4efce7 allow updating delay for multiBarChart 2012-07-06 15:35:32 -05:00
Jun Lin
7b489cf781 re-generate minified js 2012-07-06 09:29:43 +08:00
Jun Lin
d1f7cdf286 fixed #42 set multibar default to stacked, the controls default value is wrong 2012-07-06 09:13:56 +08:00
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.
2012-07-05 12:36:15 -07:00
Philip Roberts
a04cc0fa07 Fix accidental semicolon in var list causing
variables afterwards to be globals in multiBarChart.

Fixes #35.
2012-07-05 13:04:10 +01:00