Commit Graph

741 Commits (5e5ba5c34bf24ac4695361f1e3d9cdfc6f965f69)

Author SHA1 Message Date
Ricardo f7de0d03d3 Removed cursor pointers 12 years ago
Bob Monteverde f7861ebb08 Increasing default left and right margin on sparklinePlus to prevent hover value from being clipped 12 years ago
Bob Monteverde 02b0487236 Issue #269 fixed issue with scatter not showing background grid 12 years ago
Bob Monteverde 62a8e4fa9c Issue #271 css tweak to make sure the single point of a line chart shows up 12 years ago
Bob Monteverde c8ef258c5c Issue #260 fixed FF interaction issuew ith spoarklinePLus 12 years ago
Bob Monteverde 1a878bed85 Fixed issue with points in sparkline multiplying on update 12 years ago
Bob Monteverde 751b7e661d Issue #272 Bullet chart color method 12 years ago
Bob Monteverde 01f9afa8de Issue #273 sparkline can now have custom color 12 years ago
Conor Mongey 55804ab32d Fix scatter bug 12 years ago
Bob Monteverde 6a2c32c519 line now uses scatter's id. this is inreplace of Pull Request #259. Also pulled styles out of the sparkline into the css. 12 years ago
Bob Monteverde f8141c046e Fix issue with sparkline min and max dots incorrectly positioned 12 years ago
Bob Monteverde 121183f8ed Minor tweak to default font size on sparklinePlus 12 years ago
Bob Monteverde 98907a5556 Cumualtive line clicking on points updates zero line 12 years ago
Bob Monteverde b7cb7b4b33 Issue #253 cumulative line re-zero's on click 12 years ago
Bob Monteverde d47ced5ee0 Update as you drag on cumulativeLineChart... turned off animation so update would be fluid 12 years ago
Bob Monteverde c09602e3c2 Clip regression lines to within data view in scatterPlusLineChart.js 12 years ago
Bob Monteverde 7e66e3c53d Issue #251 Fixed tooltip calculations on bulletChart 12 years ago
Bob Monteverde d470771777 Issue #252 number of ticks on bullet chart now based on width 12 years ago
Bob Monteverde 391d53e6b1 Issue #246 axis now has default identity tickFormat 12 years ago
Bob Monteverde 9d8d707641 Issue #254 extend window.nv instead of overriding 12 years ago
Bob Monteverde d756d27f4c Issue #235 fixed issue with text-anchor not being set to middle on x axis max and min values 12 years ago
Bob Monteverde d11abf1308 Some minor tweaks removing duplicate calculations in scatterChart 12 years ago
Bob Monteverde f1968f389a Added xPadding and yPadding options to scatterChart 12 years ago
Bob Monteverde 67485bdd33 Issue #240 line plus bar no longer throws error when line is disabled 12 years ago
Bob Monteverde 264d020590 Issue #244 Added scatter with regression lines model 12 years ago
Bob Monteverde 8829d8e689 Issue #241 the lines in linePlusBar are now set to clipEdge false so pointson the edge are no longer clipped, also mde this now a setting that can be overridden 12 years ago
Bob Monteverde a364ca0b9c Initial customTheme code for using consistant colors for series of the same key 12 years ago
Tyler Wolf 6c456bf92b updated discreteBarChart to not cut off 0.00 labels 12 years ago
Bob Monteverde b53977efaf Added staggerLabels to axis so it can be used in all models 12 years ago
Bob Monteverde 65d1d3eff5 Issue #237 when a series in the stacked area has 0 value, make point NOT active 12 years ago
Bob Monteverde 5db233787f Minor tweak to css to hide the x axis domain when not 0 12 years ago
Bob Monteverde b8493108da Issue #236 controls now get 1/3 of horizontal space, legend gets 2/3 on stacked area chart 12 years ago
Bob Monteverde 8506fb88a2 Minor cleanup of axis component 12 years ago
Bob Monteverde 10d0a6e5fa Historical bar sets class and color on update, not enter 12 years ago
Bob Monteverde 8aceb7cd2d Reduced default bottom margin of multiBarChart to increase space used by the bars by default... This is actually the opposite of what Issue #221 asked for 12 years ago
Bob Monteverde 6da6dbc5c4 Manually editted linWithFocus to copy Pull Request #226 12 years ago
Bob Monteverde 8c5b8229a0 Issue #218 allow bars within series to have customized color 12 years ago
Bob Monteverde 1c67464234 Moving Pull Request #202 to backup until we iron out some problems 12 years ago
Bob Monteverde 4cd94ff5d8 Minifying Pull Request #214 12 years ago
Bob Monteverde f123fe7f23 Minifying Pull Request #212 and removing a log statement from bullet model 12 years ago
Bob Monteverde bd5ca282ec Merge remote-tracking branch 'diraol/bulletChart' 12 years ago
Bob Monteverde 702388e4a3 made x axis max and min anchor to the middle 12 years ago
Diego Rabatone d4811353a6 removing nice() from domain with INFINITY parameter, it wouldn't matter 12 years ago
Diego Rabatone 959f597c06 parentesis mistake corrected on bullet.js 12 years ago
Diego Rabatone Oliveira e35025adab Merge branch 'master' of https://github.com/novus/nvd3 into bulletChart 12 years ago
Christopher Nelson 38a34f8529 Fix bug in linePLusBarChart where clipEdge was not enabled. 12 years ago
Christopher Nelson d53e8c3c58 Fixed linePlusBarChart so that it uses the xAxis scale instead of inventing a new one. Also optimized the axis object a little by creating a format object once per axis draw, not once per tick mark draw. Also removed redundant calls to the formatter. 12 years ago
Christopher Nelson 993a4fe2c8 Added a new chart: multiBarTimeSeries which makes essentially duplicates the multiBar functionality, but makes internal changes to put a d3.time.scale on the bottom.
Also added a build.sh for Linux distros. If yui-compressor exists, it will be used to generated the minified output.
12 years ago
jeremie.brebec dd4a234d2f Incremental update of 'discreteBar' chart 12 years ago
Diego Rabatone Oliveira ed80c7ad88 Allowing no Markers on bullet and bulletChart 12 years ago
Diego Rabatone Oliveira b66af7ff5f Adding nice() method to domains on bullet and bulletChart 12 years ago
Diego Rabatone Oliveira b8e86d3faf Tooltips on bullet.js and bulletChart.js: positioning tooltips related to each bulletChart, not to the 'div#chart'.
Resolves Issue #202
12 years ago
Bob Monteverde 0d9ffe9177 Merge remote-tracking branch 'griphiam/master' 12 years ago
Bob Monteverde 87c7e3bb1e Added forceX to bulletchart, still needs to br implrmrnte 12 years ago
Mark Philpot 444cd76624 Initializing nv.render.active to false 12 years ago
Marsup 4ae1745274 Fix issue #198 12 years ago
Bob Monteverde dffe67d4dc Issue #121 Bullet titles now get added once, and update after that.. no more duplicates 12 years ago
Bob Monteverde f6cd67910b Tweaked the fix for Issue #198 to prevent valid areas from being removed 12 years ago
Bob Monteverde 6ac9238e59 Fixed issue #198 removing empty paths 12 years ago
Bob Monteverde 37db189a52 Attempting to fix Issue #198 12 years ago
Bob Monteverde 7d584841cd Issue #192 fixed position of distributions after amrgin changes 12 years ago
Bob Monteverde 91d2ba0d57 Issue #189 fixed pie.html example 12 years ago
dragansah 73d5df06e6 Expose d3.svg.area().interpolate() as public member in stackedArea and
stackedAreaChart. The default value for interpolate is "linear" as it's
the default in d3.
12 years ago
dusko a389224dbd In IE9 console.log.apply does not exist 12 years ago
Bob Monteverde 4f5a260d69 Changing event handling in lineWithFocusChart to use dispatch to handle the event, and merging in Pull Request #179 12 years ago
Bob Monteverde 61aeca8cbe Merge remote-tracking branch 'arlm/crossfilter' 12 years ago
Alexandre Rocha Lima e Marcondes 3e9bfe23d6 * Stream #2 Dimension correction
* Interaction with data dump on tables sample
12 years ago
dragansah 6e209c2769 Add a 'stream-center' mode in stackedArea using 'silhouette' as the
chart offset and 'inside-out' as the chart order.
12 years ago
Bob Monteverde 0ea195be72 Defaulting to forcing 0 on historical bar to be consistent with other bar models 12 years ago
Bob Monteverde a35e44789f Bar color is now set up update selection instead of enter selection so it can be changed on update 12 years ago
Bob Monteverde 1716ccf827 Fixed Issues #161 in the axis... also minifying all previous commits from today 12 years ago
Bob Monteverde 36882e443a Fixed Issues #161 in the bullet 12 years ago
Bob Monteverde 1a9ae9dfab Fixed Issues #161 and #166 in the bulletChart 12 years ago
Bob Monteverde 3306469160 Fixed Issues #161 and #166 in the cumulativeLineChart 12 years ago
Bob Monteverde db0691c038 Fixed Issues #161 in the discreteBar 12 years ago
Bob Monteverde 7f0459cac6 Fixed Issues #161 and #166 in the discreteBarChart 12 years ago
Bob Monteverde 21caa2e784 Fixed Issues #161 in the distribution 12 years ago
Bob Monteverde 5cae2587fd Fixed Issues #161 in the historicalBar 12 years ago
Bob Monteverde 94acd57311 Fixed Issues #161 in the indentedTree 12 years ago
Bob Monteverde c10d02009f Fixed Issues #161 in the legend 12 years ago
Bob Monteverde c49847458f Fixed Issues #161 in the line 12 years ago
Bob Monteverde 3b5e738838 Fixed Issues #161 in the lineChart 12 years ago
Bob Monteverde 4ff1eb0df8 Fixed Issues #161 and #166 in the linePlusBarChart 12 years ago
Bob Monteverde 5c6b32dc98 Fixed Issues #161 and #166 in the lineWithFocusChart 12 years ago
Bob Monteverde cb94b65636 Fixed Issues #161 in the multibar 12 years ago
Bob Monteverde 2d5cc34580 Fixed Issues #161 and #166 in the multibarChart 12 years ago
Bob Monteverde 2550b4f698 Fixed Issues #161 in the multibarHorizontal 12 years ago
Bob Monteverde 3afbee06a0 Fixed Issues #161 and #166 in the multibarHorizontalChart 12 years ago
Bob Monteverde 894f824495 Fixed Issues #161 in the ohlcBar 12 years ago
Bob Monteverde 7b58d8fd9a Fixed Issues #161 in the pie 12 years ago
Bob Monteverde 69c0406a2f Fixed Issues #161 and #166 in the pieChart 12 years ago
Bob Monteverde 80c3387c4d Fixed Issues #161 and #166 in the scatterChart 12 years ago
Bob Monteverde 2343f25471 Fixed Issues #161 in the sparkline 12 years ago
Bob Monteverde 3d54e41e53 Fixed Issues #161 in the sparklinePlus 12 years ago
Bob Monteverde 0397b38507 Fixed Issues #161 in the stackedArea 12 years ago
Bob Monteverde e4102891c0 Fixed Issues #161 and #166 in the stackedAreaChart 12 years ago
Bob Monteverde 075e862b96 Issue #68 updated pieChart model to standard format 12 years ago
Bob Monteverde 3933b3da69 Issue #68 updated discreteBarChart model to standard format 12 years ago
Bob Monteverde dc389d461b Issue #68 updated bulletChart model to standard format, still needs refactoring 12 years ago
Leonid 45395c6b72 Fix for issue #172 12 years ago
Bob Monteverde 7cc32ebe3f More updates to sparklinePlus, working on look and feel now, but should be functional 12 years ago
Bob Monteverde 5793752a4d Added data back to lineChart exampl, also aded chart.update and chart.container to sparklinePlus 12 years ago
Bob Monteverde e020c2716b Added proposed fix for Issue #166 to lineChart and sparklinePlus, I will implement in the other relevant charts later, open to suggestions if someone has cleaner code to do this 12 years ago
Bob Monteverde 2d76b10749 More progress cleaning up the sparklinePlus model 12 years ago
Bob Monteverde 7d89437652 aprklinePlus now functional again, still cleaning up the code, but drastically better than it was at least 12 years ago
Bob Monteverde 3b4f3b8b2e more progress on sparkline, it is actually broken right now, but much closer to where i want it to be, will fix in the am 12 years ago
Bob Monteverde 9b90da61cf more progreesss on sparklinePlus refactor, there's still a ways to go 12 years ago
Bob Monteverde c9a92269f4 Issue #68 updated sparklinePlus model to standard format, still needs refactoring 12 years ago
Bob Monteverde f7e07a8db8 Issue #68 updated stackedAreaChart model to standard format 12 years ago
Bob Monteverde c109150965 Clean up lineWithFocus a little more to be consistent with other charts 12 years ago
Bob Monteverde 389a926dff Mergin in Pull Request #163 12 years ago
Bob Monteverde 9a4be1601d Issue #68 updated lineWithFocus model to standard format 12 years ago
Conor Mongey d6d21b387b Add missing tooltip global method 12 years ago
Bob Monteverde 6aff9729d1 Issue #68 updated indentedTree model to standard format 12 years ago
Bob Monteverde caf5c121ca Issue #68 updated linePlusBarChart model to standard format 12 years ago
Bob Monteverde 869a22c5bf Issue #68 updated cumulativeLineChart model to standard format 12 years ago
Bob Monteverde aca8838f52 Issue #161 implemented new margin setting in scatter.js will implement into the others later 12 years ago
Bob Monteverde 44c0e21a87 Issue #68 updated multiBarHorizontalChart model to standard format 12 years ago
Bob Monteverde 0ef2908ffc Issue #68 updated multiBarChart model to standard format 12 years ago
Bob Monteverde cac81e7405 Issue #68 updated multiBarHorizontal model to standard format 12 years ago
Bob Monteverde d8678f966d Issue #68 updated lineChart model to standard format 12 years ago
Bob Monteverde 5f95ee7a95 Issue #68 updated scatterChart model to standard format 12 years ago
Bob Monteverde e767359018 Issue #68 updated discreteBar model to standard format 12 years ago
Bob Monteverde 4f6e678def Issue #68 updated distribution rug model to standard format 12 years ago
Bob Monteverde 9d4b0fb6a7 Issue #68 updated axis model to standard format 12 years ago
Bob Monteverde 8349dea0aa Issue #68 updated legend model to standard format 12 years ago
Bob Monteverde 3a08bc78e0 Issue #68 updated bullet model to standard format 12 years ago
Bob Monteverde 7ffc993a5d Issue #68 updated pie model to standard format 12 years ago
Bob Monteverde 6b5e4390ca Issue #68 updated sparkline model to standard format 12 years ago
Bob Monteverde bd24b87f62 Issue #68 updated historicalBar model to standard format 12 years ago
Bob Monteverde 7956f70b92 Issue #68 updated stackedArea model to standard format 12 years ago
Bob Monteverde e0487f52c7 Issue #68 updated ohlcBar model to standard format 12 years ago
Bob Monteverde 33823fe24d Issue #68 updated multibar model to standard format 12 years ago
Bob Monteverde bdab7c5b50 Minor whitespace cleanup 12 years ago
Bob Monteverde 7e22613004 Issue #68 updated line model to standard format 12 years ago
Bob Monteverde f1a25d2637 fix minor spelling error 12 years ago
Bob Monteverde 33e1b6bb15 Remove a trailing comma in an event object in the bullet model 12 years ago
Bob Monteverde 2f0d1cea9f getColor now gives default color if no argument is passed in 12 years ago
Bob Monteverde 134ad1d49d Fix cumulative line chart, color should have been set to default color 12 years ago
Stefan Gojan bee5902dab added ticks parameter because rebind didn't work 12 years ago
Stefan Gojan 3db503ecce fixed #147 added switch to use voronoi or circles for mouse events 12 years ago
Bob Monteverde 0588aa057f Minor clean up of axis.js.. it still needs more 12 years ago
Bob Monteverde 685bb46454 Attempting to fix issue #143 12 years ago
Bob Monteverde 4254f4ab34 Removed no data check from the bulletChart until I modify it to work with the bullet chart code 12 years ago
Eric Rosenberg f0d60709a8 Updated all nv.tooltip.show() calls to use the offsetElement as the parentElement 12 years ago
ffleandro 55553a7524 showDist properties were never used 12 years ago
ffleandro 590b6c81e5 Added sizeRange property for more dynamic point customization
Exposed sizeRange
12 years ago
Bob Monteverde ad622bb512 Fixing merge conflict 12 years ago
Bob Monteverde 70f2d22952 Fixed issue with scatter p[lot distributions with custom data format 12 years ago
Bob Monteverde 41472dd103 Rebound x and y to scatterChart for custom getX and getY behavior. 12 years ago
Luke Steensen 6a05eb6189 allow programmatic stacking of horizontal multibar charts 12 years ago
Bob Monteverde c0c19c2cd0 make lines and lines2 public ion the lineWithFocus chart 12 years ago
Bob Monteverde 0dfa90dd2f Fix last Pull Request, get rid of unneeded jQuery 12 years ago
Bob Monteverde 97954cad84 Mergin in and minifying Pull Request #127 12 years ago
Tomasz Werbicki 0c82e3c76c Remove scatter points on exit. 12 years ago
Eric Rosenberg 9b20638cce Merge branch 'master' of https://github.com/novus/nvd3 12 years ago
Eric Rosenberg 12d0bf3612 Added x-axis label rotation to the Axis Model and removed it from discrete bar chart 12 years ago
Tomasz Werbicki a597d3ee36 Allow to put labels outside donut. 12 years ago
Bob Monteverde e4fb08fc58 Fitler out disabled series before doing Y axis domain calculating when rescale is disabled 12 years ago
Bob Monteverde 8d8b5d00f1 Implemented the resize y-axis toggle on cumualtive line, now the user can turn or rescaling the y axis 12 years ago
Bob Monteverde 7de6971105 Merging in, slightly modifying, and minifying Pull Request #118 12 years ago
Tomasz Werbicki 93f960652c Set colors in stackedAreaChart. 12 years ago
Bob Monteverde 6534cb622f making tooltip public on multiBarHortizontalChart model 12 years ago
Bob Monteverde 4ed747791a Fixing Issue #119 by making tooltip public on multiBarChart model 12 years ago
Eric Rosenberg f4e92d2b68 Bottom axis will computed the longest tick length - still does nothing with this data 12 years ago
Bob Monteverde 637815f4d8 Added nv.utils.pjax, while not a required function, its a convenient way of using d3 to do pjax in a VERY simple manor 12 years ago
Tomasz Werbicki d6006ad911 Expose pie valueFormat in pieChart. 12 years ago
Tomasz Werbicki 9535dba170 Allow to set yAxis format in stackedAreaChart. 12 years ago
Ger Hobbelt 9b5a9f55b8 bugfix for .x() and .y() - see gist / http://bl.ocks.org/3192376 - clone that one, replace the
<script src="./nvd3/src/models/lineWithFocusChart.js"></script>
in there which points at a clone of this commit to the nvd3 code repo without this fix and see the NaN's flying thick.
12 years ago
Ger Hobbelt 5f2f7de19a CSS tweak to ensure that browsers (Chrome) don't adjust the page size / scrollbar due to the tooltip divs sitting at the bottom of the page while being removed. (You get some pretty 'odd' scrollbar 'animation' in Chrome when hovering over a graph line, where tooltips pop in and out of existence while you hover.) 12 years ago
Bob Monteverde ae1e42ea11 Merging in Pull Request #117 12 years ago
Ger Hobbelt ef3a7aefb0 added .xTickFormat() and .yTickFormat() API methods to make chart axis public I/F as capable as that of lineWithFocus.js - from which this code was ripped and then adjusted to compensate for the slightly different way the 2nd x and y axis are named internally. 12 years ago
Bob Monteverde 0c8cf9261d Added no data available message to sparklineplus 12 years ago
Bob Monteverde bded864229 Added a customizeable No Data Available. message to all the charts when they are fed no series, or all series have no points 12 years ago
Bob Monteverde 60f227dba0 Merge remote-tracking branch 'griphiam/master' 12 years ago
Mark Philpot eb1dda2b31 Adding rotate labels to multiBarChart, SVG greedy in height as well 12 years ago
Steven Noble d6789c0caa Merge branch 'master' of git://github.com/novus/nvd3 into multiChart 12 years ago
Steven Noble 4507e22d37 little bit more cleanup 12 years ago
Steven Noble 25c324b972 left axis doesn't need to be labelled in the names 12 years ago
Bob Monteverde 9deb24f0f2 tighten up lineWithFocus defautl margin 12 years ago
Bob Monteverde a40baa70af fix type in discreteBar and minify Pull Request #109 12 years ago
Bob Monteverde c1f546a5e7 Merging in Pull Request #109 12 years ago
Bob Monteverde 0bdd782132 make margin2 accessible in lineWithFocus model 12 years ago
Bob Monteverde 2f6c35e3ad Revamp of lineWithFocus model to only render data points within window range in main view instead of rendering the entire thing, and clipping 12 years ago
Bob Monteverde 3b81d8aeed Added nv- to almost all classes and IDs.. will need to recheck everything, but I think I got them all 12 years ago
Bob Monteverde eb1407a39a Merge remote-tracking branch 'Jyrsa/fixing' 12 years ago
Luke Steensen cfba3d623a fix stacking of horizontal multibar
addresses issue #39
12 years ago
Steven Noble 5fd88802ea improvements 12 years ago
Jyry Suvilehto a25459d2e7 crude fix to broken y axis handling in sparklinesPlys 12 years ago
Jyry Suvilehto afc1424e4a crude fix to broken y axis handling in sparklinesPlys 12 years ago
Jyry Suvilehto ca6e2c589b update models to use new colors 12 years ago
Jyry Suvilehto a4a022e212 use new color getting method in everything that's used in a stackedAreaChart 12 years ago
Jyry Suvilehto 8957680322 added two utility functions for color 12 years ago
Steven Noble 3730dffd8d getting tooltips and legend to work 12 years ago
Steven Noble 9d5b67e791 refactor how scale is used now that I kind of understand it 12 years ago
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
Bob Monteverde c5dad2c36a fixing variable name 12 years ago
Bob Monteverde d57bd67074 reworked bullet a little bit and created bulletChart 12 years ago
Bob Monteverde e07921f473 Added rotate labels functionality, but text-anchor: end is not working, auto switches to middle 12 years ago
Bob Monteverde d79f39915b Issue #18 added labelThreshold to pie to disable showing the label under a given percent, defaults to 2% 12 years ago
Bob Monteverde 4ab57cb38f Issue #19 Fixing label offset for FF, and increasing the disatnce from vertical axis maxand min from 8 to 10 to prevent overlap 12 years ago