Commit Graph

547 Commits

Author SHA1 Message Date
Bob Monteverde
3daa1b969f isArea is now passed thru d3.functor so user can just set true or false instead of having to wrap that in a function. Set isArea(false) on historicalStockChart 2012-07-19 02:20:54 -04:00
Bob Monteverde
960eb3f377 added option to make a line and area, and added chart.isArea() to all relevant charts 2012-07-19 02:15:53 -04:00
Bob Monteverde
01df69bc68 Minifying Pull Request #78 2012-07-18 23:34:47 -04:00
ian
bd005c35fd disable tooltips separately 2012-07-18 21:53:23 -04:00
Bob Monteverde
c6cc17f0cf added ohlcBar and historicalStockChart to makefile and minified 2012-07-18 01:59:09 -04:00
Bob Monteverde
0de3da0485 Lots of tweaks to historicalStockChart, still more to come 2012-07-18 01:49:57 -04:00
Bob Monteverde
3abf806d4f Renemaed historicalStock.html to historicalStockChart.html and renamed historicalStock.js to ohlcBar.js for open-high-low-close 2012-07-18 00:26:18 -04:00
Bob Monteverde
0cf6d15b0a Workign on adding a view finder to the historicalStockChart.. halfway there 2012-07-17 17:39:24 -04:00
Bob Monteverde
93066940b7 Working on historicalStock model, fixed minor issue with axis now lets you set the width for positioning the axislabel 2012-07-17 16:07:07 -04:00
Bob Monteverde
57988c2769 Minifying Pull Request #74 and #72 2012-07-17 13:47:11 -04:00
ian
3d16ab1e69 move x axis label down a bit to avoid overlap on scatter 2012-07-16 23:51:49 -04:00
ian
fd8ad4c74a center x axis label for bar charts 2012-07-16 23:50:48 -04:00
Bob Monteverde
de75aab136 Added chart id reference to stackedArea tooltip trying to prevvent problems with different charts interacting accidentally 2012-07-16 17:59:05 -04:00
Bob Monteverde
8cd52e7dfe Hide correct Y axis when bers or lines are not defined in linePlusBarChart 2012-07-16 17:16:13 -04:00
Bob Monteverde
cfa185d2ba Fix minor bug with y axis screwing up in stack mode of multibar chart 2012-07-16 17:10:02 -04:00
Bob Monteverde
1edf924478 added scale adjustment to multibar to work with single data point 2012-07-16 17:03:24 -04:00
Bob Monteverde
ee0adbdd4d Working on getting single data point to work on all charts, added scale adjustment to historicalBar to work with the linePlusBarChart 2012-07-16 17:00:41 -04:00
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