Commit Graph

294 Commits (master)

Author SHA1 Message Date
Steven Noble 9d5b67e791 refactor how scale is used now that I kind of understand it 12 years ago
Steven Noble 06139a64cd multichart model that can handle Stacked, Line, and Bar charts across 2 axes 12 years ago
Bob Monteverde 88a7ae0a64 Removing historicalStockChart, close sourceing it, sorry guys 12 years ago
Bob Monteverde d3b1dcdb4e Lots of tweaks to historical stock 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
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
Bob Monteverde de75aab136 Added chart id reference to stackedArea tooltip trying to prevvent problems with different charts interacting accidentally 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 0179534896 added yahoo pipes example 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
Itay Neeman 46033a06cf Add e.pointIndex to all chart tooltip calculations 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 92f42f0f31 moving monthendAxis.html to deprecated, and closing Issue #32 12 years ago
Bob Monteverde 199ec2aed8 renaming d3.css to nv.d3.css 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
Bernd Ahlers eba42c3039 Fix typo in lineWithFocusChart example. 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 5beda82c05 Issue #29 removing deprected bar example 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 c9011f5f22 updated lineWithFisheye example, and boosted max zoom to 5x 12 years ago
Bob Monteverde 60ca9d6b2d updatd pie example to show how to use new value accessor to get the pie chart to accept the previous data format 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 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 fac355e319 showing donut as well as pie in pie examples 12 years ago
Bob Monteverde d36721ceb8 updating left margins because FF text is a little larger than chrome's 12 years ago
Bob Monteverde e4d62172d9 updates to pie chart, removed initial transition, but updated disabled/enable transition 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 feca679816 loading the correct pie.js in the example 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 251d8f69dd Merge branch 'master' of github.com:novus/nvd3 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
Bob Monteverde f244c8a771 fixing x axis formatter on line with focus 12 years ago
Bob Monteverde 3ea0467c28 updating cumualtiveLine formatter in example from ,.02p to ,.1% to prevent rounding error on 0 12 years ago
Bob Monteverde 8dffa94e6c updated cumualtive line example, removed the unnecessary map 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 8e00a8060d lineWithFisheye... first try.. SUPER SLOW 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 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 48a0e7c5b0 Intial distribution abstraction complete and implemented into the scatterChart 12 years ago
Bob Monteverde cac9ef58d8 adding dimension to scatter in the example to fix FF and IE problem 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 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 e15206f2a9 Created the initial code for an HTML indented tree... will be changing API and styles for it shortly 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 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 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 b7ff612fb2 Updated scatter example to have different shapes in each color instead of one shape a color 12 years ago
Bob Monteverde a0cb28a3fb added shapes to list in random generator 12 years ago
Bob Monteverde 70ccf55c44 scatter examples now shows shapes 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 fa41547528 Updated cumualtive example with real test data 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 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 2b26f44a8c Added multiBarChart and example 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 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 5f03bd8232 minor updates for consistency throughout new Chart Models 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 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 6c75fd4f31 Fixed resize on windowResize in new bar chart example 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 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 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 df5da83118 Working on multiBar example where each x value is a different color 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 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 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 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 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 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 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 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 7995783c4a merged yaxis and axis into 1 implementation, will add top and right oriantations soon 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
Nathanael Anderson f79e78be6e Pie/Bar chart fixes/enhancments 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 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 cc7aedcbe2 Initial public commit, merging files from private repo 12 years ago