Steven Noble
c00625b2ba
Merge branch 'master' of git://github.com/novus/nvd3 into multiChart
12 years ago
Steven Noble
06139a64cd
multichart model that can handle Stacked, Line, and Bar charts across 2 axes
12 years ago
Bob Monteverde
008ffbfdb0
Mergin in changes, and some updates to historicalBar and ohlcBar models
12 years ago
Bob Monteverde
c09378e963
Some minor tweaks and minifying Pull Request #95
12 years ago
Bob Monteverde
073acf3844
Merge remote-tracking branch 'deleet/master'
12 years ago
Bob Monteverde
2dca0a39c1
Merge remote-tracking branch 'g2010a/patch-1'
12 years ago
André Ferreira
95bb66498f
Removed rendering timers when development is off. Other small fixes.
12 years ago
Steven Noble
04c4ea97f0
fixes bug that messes up tooltips when you have multiple graphs on one page
12 years ago
g2010a
e1e3f4a2a2
Updated scr/models/axis.js to accept a rotateYLabel parameter (because not all axis labels should be vertically oriented). nv.models.axis() now also accepts a margin parameter.
12 years ago
Bob Monteverde
1c6a2a8b30
Mergin in Pull Request #84
12 years ago
Bob Monteverde
88a7ae0a64
Removing historicalStockChart, close sourceing it, sorry guys
12 years ago
Patrick Butler
9c2c3c5b84
Expose x/yScale to use time scales in line charts
...
This patch adds to the rebinded xScale and yScale values from line to
lineCharts
12 years ago
Bob Monteverde
82f4942290
Fixed issue with pan when hitting max/min, part of Issue #79
12 years ago
Bob Monteverde
83db5bc1a0
moved view finder x axis to behind the brushBackground to make it more obvious what data is selected
12 years ago
Bob Monteverde
89ff985793
Changed greyed out view finder to white out to imititate an opacity mask, also fixed issue where value bars would not hover
12 years ago
Bob Monteverde
a7b9b113ce
Fixed drag ratio, now is 1 to 1 with main data view
12 years ago
Bob Monteverde
7731a609aa
working on adding drag functionality to main view... its working, but its not calculated correctly, so it moves too fast
12 years ago
Bob Monteverde
59dddeb652
Added height2 and height3 to historical stock charts public functions, also tweaked the default values
12 years ago
Bob Monteverde
d3b1dcdb4e
Lots of tweaks to historical stock
12 years ago
Bob Monteverde
d1ebad10e4
Highlight window and dim rest of view window, works in FF< but having issues withthe clipping in chrome
12 years ago
Bob Monteverde
f6caf91de4
Fix y extent calculations on OHLC bar, which fixes it in the historical stock chart
12 years ago
Bob Monteverde
bcd574c70b
Fixed issue with OHLC bar in FF where close line was missing, part of Issue #79
12 years ago
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
12 years ago
Bob Monteverde
960eb3f377
added option to make a line and area, and added chart.isArea() to all relevant charts
12 years ago
ian
bd005c35fd
disable tooltips separately
12 years ago
Bob Monteverde
0de3da0485
Lots of tweaks to historicalStockChart, still more to come
12 years ago
Bob Monteverde
3abf806d4f
Renemaed historicalStock.html to historicalStockChart.html and renamed historicalStock.js to ohlcBar.js for open-high-low-close
12 years ago
Bob Monteverde
0cf6d15b0a
Workign on adding a view finder to the historicalStockChart.. halfway there
12 years ago
Bob Monteverde
93066940b7
Working on historicalStock model, fixed minor issue with axis now lets you set the width for positioning the axislabel
12 years ago
ian
3d16ab1e69
move x axis label down a bit to avoid overlap on scatter
12 years ago
ian
fd8ad4c74a
center x axis label for bar charts
12 years ago
Bob Monteverde
de75aab136
Added chart id reference to stackedArea tooltip trying to prevvent problems with different charts interacting accidentally
12 years ago
Bob Monteverde
8cd52e7dfe
Hide correct Y axis when bers or lines are not defined in linePlusBarChart
12 years ago
Bob Monteverde
cfa185d2ba
Fix minor bug with y axis screwing up in stack mode of multibar chart
12 years ago
Bob Monteverde
1edf924478
added scale adjustment to multibar to work with single data point
12 years ago
Bob Monteverde
ee0adbdd4d
Working on getting single data point to work on all charts, added scale adjustment to historicalBar to work with the linePlusBarChart
12 years ago
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
12 years ago
Bob Monteverde
a8b080640f
Merging in most of PullRequest #16
12 years ago
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
12 years ago
Bob Monteverde
f5fa9e5de0
Added new lineChart example that utilizes SVG resizing without recalling the chart, also updated lineChart's tooltips to work with this
12 years ago
Bob Monteverde
9d3ded6566
Added nv.log for convenient inplace logging in dev mode thats omitted when not in dev
12 years ago
Bob Monteverde
acc85870ca
Fixed Issue #28 and set showMaxMin to false on multibar due to ordinal axis
12 years ago
Itay Neeman
46033a06cf
Add e.pointIndex to all chart tooltip calculations
12 years ago
Bob Monteverde
a6a9386700
Now stacked/grouped controls are set inside of chart call so user should be able to switch the default
12 years ago
Bob Monteverde
6c5af197ad
Fixed default value fo stacke/grouped multibar from Pull Request #43
12 years ago
Bob Monteverde
7b00276f20
Merge remote-tracking branch 'itay/feature/fix-wrong-series'
12 years ago
Bob Monteverde
bd58161273
Minifying Pull Request #66 plus a minor tweak
12 years ago
Bob Monteverde
7b195d9f6d
Merge remote-tracking branch 'itay/feature/fix-linebar-chart-incorrect-tooltip'
12 years ago
Bob Monteverde
2c052ac6aa
Merge remote-tracking branch 'itay/feature/fix-linebar-chart-tooltip'
12 years ago
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.
12 years ago
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.
12 years ago
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.
12 years ago
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.
12 years ago
Bob Monteverde
199ec2aed8
renaming d3.css to nv.d3.css
12 years ago
Bob Monteverde
c146ab7787
Merging in Pull Request #61
12 years ago
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
EricRose
2b8f12d6bf
Added a public method to PieChart to allow users to opt not to show the legend
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
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
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
d1f7cdf286
fixed #42 set multibar default to stacked, the controls default value is wrong
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
879cf06e09
Removed shape from scatter, replaced with getShape, defaults to function(d) { return d.shape || 'circle' }
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
Bob Monteverde
09a55af5f5
Pie charts should use the same data as discreteBar for ease of switching between
12 years ago
Bob Monteverde
ecb80cb4b8
If Max / Min contains 'NaN' don't show it on axis
12 years ago
Bob Monteverde
6c66e371e5
fix default height on bulletChart
12 years ago
Bob Monteverde
6da248bd19
defined local variable container in bulletChart
12 years ago
Bob Monteverde
94d44b7cec
If you don't set width, bullet chart gets container's.. height is static but can be changed manually
12 years ago