Commit Graph

330 Commits

Author SHA1 Message Date
Bob Monteverde
de73a5719a Added classes x-nvtooltip, y-nvtooltip, and xy-nvtooltip to the tooltips, also started working on the single data point issue with scatter and lien chart 2012-07-16 15:27:15 -04:00
Bob Monteverde
a8b080640f Merging in most of PullRequest #16 2012-07-16 13:52:24 -04:00
Bob Monteverde
0179534896 added yahoo pipes example 2012-07-15 18:34:32 -04:00
Bob Monteverde
333e77e167 Updates to linePlusBar chart, as well as historical bar, fixed some issues with time series on the x axis not owrking correctly 2012-07-15 08:49:59 -04:00
Bob Monteverde
f5fa9e5de0 Added new lineChart example that utilizes SVG resizing without recalling the chart, also updated lineChart's tooltips to work with this 2012-07-15 02:55:32 -04:00
Bob Monteverde
9d3ded6566 Added nv.log for convenient inplace logging in dev mode thats omitted when not in dev 2012-07-15 02:00:56 -04:00
Bob Monteverde
acc85870ca Fixed Issue #28 and set showMaxMin to false on multibar due to ordinal axis 2012-07-14 17:38:36 -04:00
Bob Monteverde
66f5b1a890 Minifying Pull Request #67 2012-07-14 17:25:31 -04:00
Itay Neeman
46033a06cf Add e.pointIndex to all chart tooltip calculations 2012-07-14 12:46:14 -07:00
Itay Neeman
0f7ca82e1d Merge remote-tracking branch 'novus/master' 2012-07-13 23:23:50 -07:00
Bob Monteverde
a6a9386700 Now stacked/grouped controls are set inside of chart call so user should be able to switch the default 2012-07-14 01:26:04 -04:00
Bob Monteverde
6c5af197ad Fixed default value fo stacke/grouped multibar from Pull Request #43 2012-07-14 01:11:25 -04:00
Bob Monteverde
7fffe34a08 Minifying Pull Request #65 2012-07-14 00:19:53 -04:00
Bob Monteverde
7b00276f20 Merge remote-tracking branch 'itay/feature/fix-wrong-series' 2012-07-14 00:16:15 -04:00
Bob Monteverde
bd58161273 Minifying Pull Request #66 plus a minor tweak 2012-07-14 00:14:17 -04:00
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