Commit Graph

576 Commits (master)

Author SHA1 Message Date
Itay Neeman 0f7ca82e1d Merge remote-tracking branch 'novus/master' 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 7fffe34a08 Minifying Pull Request #65 12 years ago
Bob Monteverde bd58161273 Minifying Pull Request #66 plus a minor tweak 12 years ago
Bob Monteverde 862c04cfdf Minifying Pull Request #64 12 years ago
Bob Monteverde dff61c303c Minifying Pull Request #63 12 years ago
Itay Neeman b82bacd322 Update compiled files in master 12 years ago
Bob Monteverde c146ab7787 Merging in Pull Request #61 12 years ago
Bob Monteverde cd5ede7a84 Minifying pull request #60 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
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
Bob Monteverde 5bbd533ab4 Minifying Pull Request #55 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
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 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
Jun Lin 7b489cf781 re-generate minified js 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 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 879cf06e09 Removed shape from scatter, replaced with getShape, defaults to function(d) { return d.shape || 'circle' } 12 years ago
Bob Monteverde 52eec9b46f 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 df34fb7bad minifying 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
Bob Monteverde daee31b61a minifying new pie and pieChart 12 years ago
Will McKenzie 8a26f292f1 Enabled configuration of open and close icons in indentedTree
Added chart.iconOpen and chart.iconClose in the same format as
chart.tableClass etc that will return the current setting for either
icon value unless an argument is supplied, in which case they will
replace the settng with the new value and return the chart.
12 years ago
Bob Monteverde 42aa8ad2ca if no offset element is given, assume 0 on pieChart, because pieChart uses mouse position for tooltips right now 12 years ago
Bob Monteverde 3071b32de3 added pieChart.js to makefile and minifying 12 years ago
Bob Monteverde f5db7e43a8 Cleaned up the pie implementation a little more, and moved the old pie to deprecated. Will be making pieChart.js shortly that will have an optional legend and tooltips built in. 12 years ago
Tsyren Ochirov eb8f9f48fb tooltip optional base container 12 years ago
Bob Monteverde debb64def2 updated indexify function, instead of returning a new data object stores the new cumulative y value at d.display.y, keeping the original at d.y 12 years ago
Bob Monteverde f2cd0ed629 Moved cumulativeLine.js to deprecared, cumulativeLineChart.js is the up to date version of it 12 years ago
Bob Monteverde b396b0e155 updated line implementation to be consistent with other models 12 years ago
Bob Monteverde 25883d2a5e removing the delay on the horizontal bar for now, also making sure 0 ticks are never removed from the axis 12 years ago
Bob Monteverde d1c2f59cd9 trying out a chart.container idea to get a reference to the DOM element the chart is plotted in to help with a auto resize functionality, and may have other uses 12 years ago
Bob Monteverde c494172fe2 Added Max/Min to horizontal axes, on by default, but can be disabled with showMaxMin(false) on the axis component 12 years ago
Bob Monteverde 755af6e9d4 Issue #11 major refactor of stackedArea, still need to tweak some things, BUT now works with custom accessors 12 years ago
Bob Monteverde ea31b3ab1c Issue #10 fixed distributions from showing disabled points 12 years ago
Bob Monteverde 1ff25d0bfe trickling down the tickFormatter from the main y and x axes to the view finder axes - minifying 12 years ago
Bob Monteverde 72c91548de don't hide axis on horizontal bar 12 years ago
Bob Monteverde a72645dbe4 Issue #9 Fixed issue with distributions not accurate when series are disabled. Also made distributions fade out when removed 12 years ago
Bob Monteverde 879c1db200 turning off showMaxMin on the ordinal horizontlal bar axis 12 years ago
Bob Monteverde c856a295e4 axis Max and Min now animate from where they would have appeared wih previous scale 12 years ago
Bob Monteverde b55910786d Axes now show Max and Min by default... need to rebind this on all the charts.. will do that soon 12 years ago
Bob Monteverde cf0d7bb799 fixed distributions and scatter hover 12 years ago
Bob Monteverde 48a0e7c5b0 Intial distribution abstraction complete and implemented into the scatterChart 12 years ago
Bob Monteverde 57a30a1bed minifying 12 years ago
Bob Monteverde 0659ebee02 minify 12 years ago
Bob Monteverde 4ab9b0a305 options is now columns in the indentedTree, but still considering breaking this down further 12 years ago
Bob Monteverde 772c5e660b default widths on table columns are now in percent, but user can voerride with anything 12 years ago
Bob Monteverde 851bc9749a Removing highlight class from table rows... still need to update API to remove the options object 12 years ago
Bob Monteverde e7f0aef0ec Forgot to minify indentedtree changes 12 years ago
Bob Monteverde e15206f2a9 Created the initial code for an HTML indented tree... will be changing API and styles for it shortly 12 years ago
Bob Monteverde a019088aac Added legendDblclick event in legend.dispatch 12 years ago
Bob Monteverde b9a8e0baaa Colors no longer have a ahrd limit of 10 or 20, they are dependant on how many colors are fed to teh chart, the default being 10 or 20, but suer can difine as many as they want 12 years ago
Bob Monteverde 8bbf9f1631 Issue #7 - Fixed tooltip positions in Firefox (and hopefully in IE9) 12 years ago
Bob Monteverde f24490f1e3 Added align options, defualting to true, to align up each row of legend. WARNING may make legen take up MORE ROWS. 12 years ago
Bob Monteverde 6bbe097e04 Stacked ares in stream mode now shows the same tooltips as stacked 12 years ago
Bob Monteverde a940b0d65a Added optional delay to multibar chart to ne consistent with the horizontal multibar 12 years ago
Bob Monteverde 2f155b88c8 Some tweak to the horizontal multi bar, now the staggered delay is option, defaulting to 1200ms divided by the number of x values 12 years ago
Bob Monteverde a10101744d discrete bar chart no longer animates horizontally, only vertically 12 years ago
Bob Monteverde 8d9f496286 LinePlusFocus now rescales when series are removed. Also moved a couple more files to deprecated, and removed from Makefile 12 years ago
Bob Monteverde 51fc28358b New lineWithFocusChart, and example 12 years ago
Bob Monteverde f6bc583e9a Fixed error from dist Lines on mouseover then line disable... same problem that was with points on hover 12 years ago
Bob Monteverde 6e4eaea547 Fixed major bug that throws lots of errors everytime a point is overed over then transitioned... this was 95% of all errors seen in console 12 years ago
Bob Monteverde 34850d6c54 Scatter now use's d3's symbol to use different shapes, changed css, points on line charts are now completely hidden untill hover. 12 years ago
Bob Monteverde 9e54787e40 Fixed animation speed double after re-zero drag 12 years ago
Bob Monteverde 834caa51df Fixed cumualtive line legend click toggle of series 12 years ago
Bob Monteverde d4c6351aa6 Added cumulativeLineChart to Makefile 12 years ago
Bob Monteverde e28f6f5ae7 Fixing tooltip positions accoutning for margin 12 years ago
Bob Monteverde 6b9b4431da Corrected the gravity of the Y axis tooltip 12 years ago
Bob Monteverde 56e61b814a fixing scatter position to account for offset 12 years ago
Bob Monteverde f18c20ac27 Fixing dual scatter tooltip position 12 years ago
Bob Monteverde 5b6ff09e99 Switched scatter plot to dual tooltips 12 years ago
Bob Monteverde ead4f5b723 Getting stuff ready to be cleaned, moving stuff that will be deleted into the deprecated folder 12 years ago
Bob Monteverde beb2e1cf0e Added linePlusBarChart to Makefile 12 years ago
Bob Monteverde 601d598b34 Created scatterplotChart and example 12 years ago
Bob Monteverde bfcdae6dde Fixed multiBar exit transition 12 years ago
Bob Monteverde 854347afab Added update function to multibar chart 12 years ago
Bob Monteverde c374e078fc Added color to multiBarWithLegend 12 years ago
Bob Monteverde 542dc094f9 Fixed legend height and margin.top issue in the ready to go charts. Also re organized code a little bit for consistency 12 years ago
Bob Monteverde 2cb05b38d0 Some minor tweaks to fix the enable/disable series ability on satckedArea 12 years ago
Bob Monteverde ddb98f6b59 added stackedAreaChart to Makefile, and minified 12 years ago
Bob Monteverde ea597f30e1 attempting to fix random bug woth stacked area paths on removal 12 years ago
Bob Monteverde b4ca744451 Lots of little bug and consistency fixes that are appearing as I create more examples 12 years ago
Bob Monteverde dc337a37ac Fixed value label position on transition on multiBarHorizontal 12 years ago
Bob Monteverde e67e72a882 minifying 12 years ago
Bob Monteverde 85d3545f7a Added discreteBarHorizontalChart to makefile 12 years ago
Bob Monteverde 9251f3b74c minifying 12 years ago
Bob Monteverde f5e6a54592 Minifying latest work 12 years ago
Bob Monteverde c85020dcef Added missing source file from last commit, merged into makefile 12 years ago
Bob Monteverde 525ecded4d Getting rid of charts collection, merging tooltips directly in complete charts, no need for separate charts collection 12 years ago
Bob Monteverde 2a9642dccc Added discreteBarChart...ready to go chart wrapper for discrete bar. Initial cut. 12 years ago
Bob Monteverde 28f64a5272 Split up the multibar to a discrete bar and multi bar implementations 12 years ago
Bob Monteverde 3cd3798af1 Fixed tooltips on horizontal multibar 12 years ago
Bob Monteverde fa32acdf51 added multiBarHorizontal and multiBarHorizontalWithLegend to Makefile, and minified 12 years ago
Bob Monteverde facfdb27c7 Updated Makefile to account for cumulativeLineChart name change 12 years ago
Bob Monteverde c06fb49fff added resize y axis toggle to cumulative line 12 years ago
Bob Monteverde 037332dfda minor tweak to clipEdge, and updated multiBar to have fancy staggered transition 12 years ago
Bob Monteverde 9a57039cd3 minifying src, forgot to in last commit 12 years ago
Bob Monteverde 749e0d8198 minifying src, forgot to in last commit 12 years ago
Bob Monteverde 030b99070c renamed dispatch point**** to element*** to be consistent with the others, cleaned up scatter, line, and stacked area to utilize scatter's scales, fixed a couple of remaps 12 years ago
Bob Monteverde 7857c4ab6b added multiBarWithLegend to makefile, and tweaked the animation a little on the multibar 12 years ago
Bob Monteverde 6746682e88 Fixed problem with y pos and height calculations with groups/stacked bar chart 12 years ago
Bob Monteverde 5d515963e8 Fixed issue with stacked multiBar. Still need to implement fancy transition from stacked to grouped, and back 12 years ago
Bob Monteverde 0f7a531784 added multiBar and stackedAreaChart to makefile, and minified. A few random fixes in a few core models 12 years ago
Bob Monteverde b806a46f91 Using category20 colors instead of category10, now the default colors work with up to 20 series, will deal with more later 12 years ago
Bob Monteverde 9ff72baad4 Fixed x and y point distribution on scatterWithLegend.js 12 years ago
Bob Monteverde e528a47c1a Fixed issue with new line implementation where getX and getY don;t trickle down to the scatter 12 years ago
Bob Monteverde 04f4427945 Cleaning up stackedArea code to be consistent with line and scatter 12 years ago
Bob Monteverde 2741676827 removed the distributions from scatter model to the scatterWithLegend.. making scatter.js perform as best as possible for use as an interactive layer 12 years ago
Bob Monteverde a702ab5bae stackedArea chart now uses the scatter overlayed, not the line. Updates to examples, made the X and Y distrivutions on the scatter options, defaulting to off. Some minor changes to the sparklin example 12 years ago
Bob Monteverde 648306aede Added new interactive sparklinePlus example, updated sparkline model and bullet model 12 years ago
Bob Monteverde fd585afc17 Got most of the needed functionality in the bullet chart. Has protovis style triangle, and working toooltips 12 years ago
Bob Monteverde e90f611215 minified last commit, updates to linePlusBar model and example 12 years ago
Bob Monteverde e0b0cc7b0c Put the points-clip mask in the defs section on the scatter 12 years ago
Bob Monteverde d9505e32f9 Cleaned up the core scatter and line implementations, made consistent with each other, sped things up a bit by delaying rendering and updating of the interactive layer 12 years ago
Bob Monteverde 3d422139f6 Added linePlusBar.js to Makefile and minified with it 12 years ago
Bob Monteverde f945e85423 Some tweaks to linePlusBar, and removed the delayed update of the interactive layer on the line chart, may slow things down, testing to see if its necessary 12 years ago
Bob Monteverde 8edf7136c4 implemented new voronoi clipping technique on the line chart 12 years ago
Bob Monteverde fc0af97d0e Instead of having a clipPath for every point on a voronoi, have a single clipping mask of all the points at once, HUGE speed increase 12 years ago
Bob Monteverde 864f79dc34 updated chart examples to work with new no-jQuery tooltips and resizing 12 years ago
Bob Monteverde 9352d35cfc merging in pull request from @Nathanaela removing jQuery dependence, added pie chart model, some other useful changes 12 years ago
Bob Monteverde b34a7b409d Added right and top axes orientations. Made lineWithFourAxes as an example that will not be minified into nvd3, just for reference 12 years ago
Bob Monteverde 5491aef3cf Some minor updates, and removal of log statements that were used for debugging 12 years ago
Bob Monteverde 7995783c4a merged yaxis and axis into 1 implementation, will add top and right oriantations soon 12 years ago
Bob Monteverde 86c7300826 X axis now adjust thenumber of ticks based on the width of the axis on the cumulativeLine model 12 years ago
Bob Monteverde ff9ca0d293 Added cumulativeLineChartDaily chart and example, modified cumulativeLine.js to pass in the point index to getX and getY functions, which is used because the dates are not linear in daily 12 years ago
Bob Monteverde 83d56ef755 Added lineChartDaily example, and modified line and lineWithLegend models to feed getX and getY x,i not just i 12 years ago
Bob Monteverde 4737ead469 disabled hovering on stackedArea chart when the point has 0 value.. or very close to 0 12 years ago
Bob Monteverde c79ca5c761 disabled legend hover effect on cumulative line model, and added cumulative line to the Makefile 12 years ago
Bob Monteverde d22eb5a396 Made the line edge clipping optional, defaulting to false. But is still required for the lineWithFocus example 12 years ago
Bob Monteverde 454c5e4605 Drastic speed increase with line.js, needed for stackedAre chart 12 years ago
Bob Monteverde 66fa17551b lots of changes with nv.chart.line, not 100% set with the API yet, but the new lineChart.html example should be 100 times easier to use than lineWithLegend.html example 12 years ago
Bob Monteverde 4e7475da73 Added another layer of abstraction to take care of all the glue and make the chart api extremely simple. First try, so not entirely complete, but does function. 12 years ago
Bob Monteverde 91215e2d15 Removed color from stacked controls, fixed width issue in firefox 12 years ago
Bob Monteverde 0815745c8e Added stacked area charts to makefile and minified 12 years ago
Bob Monteverde 9dee21ece8 working on monthEnd axis ticks in cumualtive example 12 years ago
Bob Monteverde 02cd979f76 again, forgot to minify before commit 12 years ago
Bob Monteverde d2dc88e962 Now paths and points move as they transition out with the scales 12 years ago
Bob Monteverde 0fbc206d77 forgot to minify last commit 12 years ago
Bob Monteverde d1ae59f84e Fixed a minor naming issue 12 years ago
Bob Monteverde e45bc92b60 Minor change to intro, outro, and gitignore 12 years ago
Bob Monteverde cc7aedcbe2 Initial public commit, merging files from private repo 12 years ago