Commit Graph

346 Commits (55553a7524433b456b3d49fbc90e1f4fc7a915f6)

Author SHA1 Message Date
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
Bob Monteverde e4d62172d9 updates to pie chart, removed initial transition, but updated disabled/enable transition 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 a61bdfc2b2 new pieChart, and lots of updates to pie implementation... still need to tweak a few things, including animation when series are disabled 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
Bob Monteverde 59072dde9b Issue #5 Setting position absolute and pointer-evetns none in the JS (as well as css) on the tooltip, appears to fix both issues I was having with them 12 years ago
Bob Monteverde 777280bcd6 cleaning up new pie chart implementation 12 years ago
Bob Monteverde ddf49f809a updating the pie chart to be consistent with others... will end up zsplitting ti to pie.js and pieChart.js shortly 12 years ago
Tsyren Ochirov eb8f9f48fb tooltip optional base container 12 years ago
Tsyren Ochirov d06d04ebed define optional parametr parentID for tooltip element 12 years ago
Tsyren Ochirov 1ea04ec428 fix: get Date instead of get Month 12 years ago
Tsyren Ochirov a10eac2af6 days in month refactor 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 37f8f42c3e cleaning up line.js to be consistent with eevrythign else, and hopefully perform a litttle better 12 years ago
Bob Monteverde 8e00a8060d lineWithFisheye... first try.. SUPER SLOW 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 7065557fde scatterWithFisheyeChart is now scatterChart 12 years ago
Bob Monteverde ea31b3ab1c Issue #10 fixed distributions from showing disabled points 12 years ago
Bob Monteverde 135be08bde axis max and min now fades in 12 years ago
Bob Monteverde 6395011805 trickling down the tickFormatter from the main y and x axes to the view finder axes 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 131b47cd95 Much cleaner scatterWithFisheye code this time. Will likely merge into scatterChart soon. 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 2f10fbd887 some progress on the abstracted distribution 12 years ago
Bob Monteverde 2144462da8 Added pointer-events: none to the tooltip css so tooltips can appear where the mouse is without issue 12 years ago
Bob Monteverde 0d0af062d4 Working on abstracting the poitn distribution, not complete 12 years ago
Bob Monteverde 8b850258d1 new fisheye code... somewhat sloppy.. will be re-writing some components in order to do things more 'correctly' 12 years ago
Bob Monteverde cf8f7ca21a removing old fishey code from scatter, and updating to new fisheye 12 years ago
Bob Monteverde 7c4471003b added note about resize being stolen from cross filter... tho 90% of the ideas in nvd3 are originated from the same people... will give credit shortly 12 years ago
Bob Monteverde 787b58cd83 Stole crossfilter's resize handlers and implement on the lineWithFocus 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 b854082118 Slowely getting rid of options object.. down to jsut the columns 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 d5a8970485 removing most style on the table 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 0d68690315 Added stacked area chart example, now showing a positive and negative version of the chart 12 years ago
Bob Monteverde 8bbf9f1631 Issue #7 - Fixed tooltip positions in Firefox (and hopefully in IE9) 12 years ago
Bob Monteverde 4663355b99 Tweaked height calculation on legend 12 years ago
Bob Monteverde 07e210b2d0 Implemented d3 fisheye plugin on the scatter. Defaults to off. Does not work with Axes, so may not be useful. Also prevents otehr interaction when on. 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 480403b04a Added new cumulativeLineChart, debating on merging into lineChart or not, not in Makefile yet 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 b35a9e6f64 Updates to linePlusBarChart 12 years ago
Bob Monteverde 04c11e3bde Fixed height and width getter/setters and started working on linePlusBarChart, halfway done 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 2b26f44a8c Added multiBarChart and example 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 b9f39f6b0e Major re-write of stackedArea, series are now disabled in the exact same way as the other charts, among other critical fixes 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 634518c73c upgraded to d3 2.9, also minor change to multibar accessor 12 years ago
Bob Monteverde 07b90e80f5 fixed transition duration 12 years ago
Bob Monteverde e4086d0206 another minor css tweak 12 years ago
Bob Monteverde a8f39948b4 css tweak 12 years ago
Bob Monteverde f7e54efabf updates to css for performance and looks 12 years ago
Bob Monteverde 867b030fe3 Clipping labels on discreteBarChart to prevent overlapping text 12 years ago
Bob Monteverde c6fa0899b3 making SVG's blocks greedy 12 years ago
Bob Monteverde 5f03bd8232 minor updates for consistency throughout new Chart Models 12 years ago
Bob Monteverde dc337a37ac Fixed value label position on transition on multiBarHorizontal 12 years ago
Bob Monteverde c503955166 mergin css from gh-pages 12 years ago
Bob Monteverde 9ffcafda70 Added optional values on grouped horizontal bar chart 12 years ago
Bob Monteverde d87cac47dd Some minor clean up of discreteBar and multibarHorizontal 12 years ago
Bob Monteverde a118e42ea4 created initial multibarHorizontalChart and simplified example 12 years ago
Bob Monteverde 89865d7f91 removed delay on discreteBar transition 12 years ago
Bob Monteverde 3dab32a401 Fixed tooltip offset position 12 years ago
Bob Monteverde 5ad03d6dee minor whitespace cleanup 12 years ago
Bob Monteverde 0a92e82fd7 added showValues option, as well as tooltips (toggle, defaults true), and tooltipContent options to discreteBar 12 years ago
Bob Monteverde c85020dcef Added missing source file from last commit, merged into makefile 12 years ago
Bob Monteverde b5cabe11d7 Replacing discreteBar chart with a model... getting rid of charts collection 12 years ago
Bob Monteverde a013082def Some modification to discreteBar charts, fixed resize and added staggeredLabel option to x axis labels to prevent overlap 12 years ago
Bob Monteverde d3dfc4a457 trying to reuse scales wherever possible 12 years ago
Bob Monteverde 07ef2896ae Cleaning up some code in stackedArea, minor changes to new lineChart, fixed stacked error when toggling series by clicking area then legend 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 e937934122 minor css fix for sparkline plus 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 64e7aee246 Important TODO, recent changes to multibar need to be removed and replaced with a better discrete bar representation 12 years ago
Bob Monteverde df5da83118 Working on multiBar example where each x value is a different color 12 years ago
Bob Monteverde f9ef9b1ece Removed deprecated dotRadius from stackaedAreaWithLegend 12 years ago
Bob Monteverde 4521b12ca4 Some minor naming fixes, also made forceY = '[0]' on bar charts by default 12 years ago
Bob Monteverde 3cd3798af1 Fixed tooltips on horizontal multibar 12 years ago
Bob Monteverde a215dee866 Working on improving the horizontal multibar, added new pos/neg example 12 years ago
Bob Monteverde b46d2d0deb fixed typo in lineWithFocus, removed cumulativeLineChartDaily, replaced with cumulativeLineChart that does daily and monthend 12 years ago
Bob Monteverde 803dfc6b38 Added nvd3 class to the parent wrap of all graphs, fixed some colors and css 12 years ago
Bob Monteverde d7851d9f57 Fixed legend color on cumulative lien chart 12 years ago
Bob Monteverde c06fb49fff added resize y axis toggle to cumulative line 12 years ago
Bob Monteverde 5ca0f2b310 Some minor tweaks to the multiBar, and created the first cut horizontal version of the model 12 years ago
Bob Monteverde 037332dfda minor tweak to clipEdge, and updated multiBar to have fancy staggered transition 12 years ago
Bob Monteverde a9c9f60e28 trying out a staggered transition on multibar 12 years ago
Bob Monteverde e1aa54f7d5 minor cleanup of stackedArea and scatterWithLegend code 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 af750e7be3 Updated axis component to deal with non linear scales, made a multiBarWithLegend model and example with transitions to and from grouped and stacked, and tooltips 12 years ago
Bob Monteverde 1a70ff5103 minor cleanup in 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 99bb37d9bc Fixed error with color in scatterWithLegend, and used category10 instea d of category20 in scatterWithLegend example. 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 0fafafbc79 Trying to speed up performance by not recalculating scale domains that have already been calcualted. Also added first cut at a grouped multiBar model and example. 12 years ago
Bob Monteverde f057dcde68 removed deprecated dotRadius setting from lineWithFocus 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 e4f7449a3e Fixed issue with stackedArea calculating undefined x values 12 years ago
Bob Monteverde 04f4427945 Cleaning up stackedArea code to be consistent with line and scatter 12 years ago
Bob Monteverde a81daeebb2 Added interaction to stackedArea where a series is isolated when clicked on 12 years ago
Bob Monteverde 41812f709a added areaMouseover, areaMouseout, and areaClick to stackedArea chart 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 d988f100fa line chart now implemented with scatter, considering replaceing line.js with scatter.js 12 years ago
Bob Monteverde 711827b928 Refactored the core line and scatter models to make them consistent, then worked on a lineWithScatter model in an attempt to replace the line model with one that utilized the scatter directly instead of having similar point detection code. Almost worked, minor problems when animating and resizing 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 b7670eeaff Added bullet example straight from d3's examples. Will likely convert it look like the protovis version 12 years ago
Bob Monteverde aac0e0d046 updated linePlusBar to a valid use case example, fixed some obvious bugs, should be pretty close to correct 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 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 434c56ff30 updates to linePlusBar, and some fixes to historicalBar. Also moved nv.utils into utils.js 12 years ago
Bob Monteverde 998a2b828c Added linePlusBar example, almsot complete 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 ed6402e460 Added a stackedAreaChart to the charts collection. created a historical bar example similar to the line.js example 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
Nathanael Anderson 61313ade5d Fix for Bar/Pie chart not showing updated data... 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
Nathanael Anderson a37fa26fb6 Fix for Pie Title duplication
Fix for Pie redraw of chart on resize (kind of a hack)
12 years ago
Nathanael Anderson b0f9ecf8cc Fix for Bar Chart duplicated Titles on redraw 12 years ago
Nathanael Anderson f79e78be6e Pie/Bar chart fixes/enhancments 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
Nathanael Anderson b72d51858a Updated pie/bar charts to support tooltips
Updated pie/bar charts to have click handlers
Updated bar chart to allow negative values.
12 years ago
Nathanael Anderson 6af91f885c Updated Bar chart to use variable for Label/Data Element
Created Pie Chart
12 years ago
Nathanael Anderson 22225147ab Reworked library to remove jquery dependancies
renamed nvtooltip.js to tooltip.js and put it into the nv namespace
Added a batch file for building on windows.
12 years ago
Bob Monteverde c7731d031e Working on stacked example, trying to get custom y accessor to work correctly 12 years ago
Bob Monteverde 454c5e4605 Drastic speed increase with line.js, needed for stackedAre chart 12 years ago
Bob Monteverde ec6df61e02 Working on using the usual data scheme for the stacked charts, fixed css error with tooltip delay, cleaned up some code 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 1880f11775 Removed workaroudn with the data on the stacked, now it uses the data as is, also fixed issue now stacked will always hav 0 min 12 years ago
Bob Monteverde 91215e2d15 Removed color from stacked controls, fixed width issue in firefox 12 years ago
Bob Monteverde 1cfb52c7fe Added stacked/stream/expanded chart with example 12 years ago
Bob Monteverde 44d0460f8c Added stacked area example that can easily be used for stream or expanded area charts 12 years ago
Bob Monteverde 9dee21ece8 working on monthEnd axis ticks in cumualtive example 12 years ago
Bob Monteverde 7698e95af3 Updated exit selection on points in line chart. Fixed some tissues with the Focus example, BUT still needs a lot of optimization. 12 years ago
Bob Monteverde d2dc88e962 Now paths and points move as they transition out with the scales 12 years ago
Bob Monteverde c557770f27 cleaned up some code, also refactored some of the cumulativeLine code, still needs some work 12 years ago
Bob Monteverde abfa54d48b lineWithFocus now rescales the Y (needs optimization). Added different testing data. Added cumulative line example (still needs work, but functions). 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