Commit Graph

170 Commits

Author SHA1 Message Date
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 2012-07-03 17:14:52 -04:00
Bob Monteverde
c9011f5f22 updated lineWithFisheye example, and boosted max zoom to 5x 2012-07-02 01:22:49 -04:00
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 2012-07-01 01:46:39 -04:00
Bob Monteverde
09a55af5f5 Pie charts should use the same data as discreteBar for ease of switching between 2012-07-01 01:39:53 -04:00
Bob Monteverde
d57bd67074 reworked bullet a little bit and created bulletChart 2012-06-30 03:17:21 -04:00
Bob Monteverde
e07921f473 Added rotate labels functionality, but text-anchor: end is not working, auto switches to middle 2012-06-30 01:51:32 -04:00
Bob Monteverde
d79f39915b Issue #18 added labelThreshold to pie to disable showing the label under a given percent, defaults to 2% 2012-06-29 15:57:39 -04:00
Bob Monteverde
fac355e319 showing donut as well as pie in pie examples 2012-06-29 15:28:08 -04:00
Bob Monteverde
d36721ceb8 updating left margins because FF text is a little larger than chrome's 2012-06-29 15:03:25 -04:00
Bob Monteverde
e4d62172d9 updates to pie chart, removed initial transition, but updated disabled/enable transition 2012-06-29 14:28:46 -04:00
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 2012-06-28 19:06:07 -04:00
Bob Monteverde
feca679816 loading the correct pie.js in the example 2012-06-28 17:18:26 -04:00
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. 2012-06-28 17:14:53 -04:00
Bob Monteverde
251d8f69dd Merge branch 'master' of github.com:novus/nvd3 2012-06-28 15:38:00 -04:00
Bob Monteverde
ddf49f809a updating the pie chart to be consistent with others... will end up zsplitting ti to pie.js and pieChart.js shortly 2012-06-28 15:37:51 -04:00
Bob Monteverde
f244c8a771 fixing x axis formatter on line with focus 2012-06-27 23:35:14 -04:00
Bob Monteverde
3ea0467c28 updating cumualtiveLine formatter in example from ,.02p to ,.1% to prevent rounding error on 0 2012-06-27 17:43:11 -04:00
Bob Monteverde
8dffa94e6c updated cumualtive line example, removed the unnecessary map 2012-06-27 16:57:14 -04:00
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 2012-06-27 15:37:18 -04:00
Bob Monteverde
8e00a8060d lineWithFisheye... first try.. SUPER SLOW 2012-06-26 17:35:00 -04:00
Bob Monteverde
c494172fe2 Added Max/Min to horizontal axes, on by default, but can be disabled with showMaxMin(false) on the axis component 2012-06-26 12:31:16 -04:00
Bob Monteverde
755af6e9d4 Issue #11 major refactor of stackedArea, still need to tweak some things, BUT now works with custom accessors 2012-06-26 03:57:01 -04:00
Bob Monteverde
7065557fde scatterWithFisheyeChart is now scatterChart 2012-06-26 01:54:59 -04:00
Bob Monteverde
c856a295e4 axis Max and Min now animate from where they would have appeared wih previous scale 2012-06-24 05:07:26 -04:00
Bob Monteverde
131b47cd95 Much cleaner scatterWithFisheye code this time. Will likely merge into scatterChart soon. 2012-06-24 04:26:29 -04:00
Bob Monteverde
48a0e7c5b0 Intial distribution abstraction complete and implemented into the scatterChart 2012-06-22 19:52:07 -04:00
Bob Monteverde
cac9ef58d8 adding dimension to scatter in the example to fix FF and IE problem 2012-06-22 14:58:23 -04:00
Bob Monteverde
8b850258d1 new fisheye code... somewhat sloppy.. will be re-writing some components in order to do things more 'correctly' 2012-06-22 14:57:08 -04:00
Bob Monteverde
cf8f7ca21a removing old fishey code from scatter, and updating to new fisheye 2012-06-22 14:56:15 -04:00
Bob Monteverde
4ab9b0a305 options is now columns in the indentedTree, but still considering breaking this down further 2012-06-21 15:33:40 -04:00
Bob Monteverde
b854082118 Slowely getting rid of options object.. down to jsut the columns 2012-06-21 15:27:50 -04:00
Bob Monteverde
772c5e660b default widths on table columns are now in percent, but user can voerride with anything 2012-06-21 14:04:15 -04:00
Bob Monteverde
e15206f2a9 Created the initial code for an HTML indented tree... will be changing API and styles for it shortly 2012-06-20 20:25:04 -04:00
Bob Monteverde
0d68690315 Added stacked area chart example, now showing a positive and negative version of the chart 2012-06-20 16:52:42 -04:00
Bob Monteverde
8bbf9f1631 Issue #7 - Fixed tooltip positions in Firefox (and hopefully in IE9) 2012-06-20 02:38:19 -04:00
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. 2012-06-20 02:00:25 -04:00
Bob Monteverde
a10101744d discrete bar chart no longer animates horizontally, only vertically 2012-06-18 19:11:49 -04:00
Bob Monteverde
8d9f496286 LinePlusFocus now rescales when series are removed. Also moved a couple more files to deprecated, and removed from Makefile 2012-06-18 15:42:45 -04:00
Bob Monteverde
51fc28358b New lineWithFocusChart, and example 2012-06-18 13:36:12 -04:00
Bob Monteverde
b7ff612fb2 Updated scatter example to have different shapes in each color instead of one shape a color 2012-06-18 10:34:23 -04:00
Bob Monteverde
a0cb28a3fb added shapes to list in random generator 2012-06-18 02:20:16 -04:00
Bob Monteverde
70ccf55c44 scatter examples now shows shapes 2012-06-18 02:17:49 -04:00
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. 2012-06-18 02:11:42 -04:00
Bob Monteverde
fa41547528 Updated cumualtive example with real test data 2012-06-17 22:07:49 -04:00
Bob Monteverde
480403b04a Added new cumulativeLineChart, debating on merging into lineChart or not, not in Makefile yet 2012-06-17 21:58:58 -04:00
Bob Monteverde
ead4f5b723 Getting stuff ready to be cleaned, moving stuff that will be deleted into the deprecated folder 2012-06-16 07:02:45 -04:00
Bob Monteverde
b35a9e6f64 Updates to linePlusBarChart 2012-06-16 03:04:50 -04:00
Bob Monteverde
04c11e3bde Fixed height and width getter/setters and started working on linePlusBarChart, halfway done 2012-06-15 20:39:16 -04:00
Bob Monteverde
601d598b34 Created scatterplotChart and example 2012-06-15 19:48:03 -04:00
Bob Monteverde
2b26f44a8c Added multiBarChart and example 2012-06-15 16:16:08 -04:00
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 2012-06-15 12:47:47 -04:00
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 2012-06-14 14:34:20 -04:00
Bob Monteverde
5f03bd8232 minor updates for consistency throughout new Chart Models 2012-06-12 15:26:23 -04:00
Bob Monteverde
9ffcafda70 Added optional values on grouped horizontal bar chart 2012-06-12 14:01:54 -04:00
Bob Monteverde
d87cac47dd Some minor clean up of discreteBar and multibarHorizontal 2012-06-12 12:33:24 -04:00
Bob Monteverde
a118e42ea4 created initial multibarHorizontalChart and simplified example 2012-06-12 12:25:08 -04:00
Bob Monteverde
5ad03d6dee minor whitespace cleanup 2012-06-12 02:00:01 -04:00
Bob Monteverde
0a92e82fd7 added showValues option, as well as tooltips (toggle, defaults true), and tooltipContent options to discreteBar 2012-06-12 01:50:41 -04:00
Bob Monteverde
6c75fd4f31 Fixed resize on windowResize in new bar chart example 2012-06-09 15:57:36 -04:00
Bob Monteverde
b5cabe11d7 Replacing discreteBar chart with a model... getting rid of charts collection 2012-06-09 15:44:12 -04:00
Bob Monteverde
a013082def Some modification to discreteBar charts, fixed resize and added staggeredLabel option to x axis labels to prevent overlap 2012-06-09 05:11:05 -04:00
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 2012-06-09 03:58:14 -04:00
Bob Monteverde
525ecded4d Getting rid of charts collection, merging tooltips directly in complete charts, no need for separate charts collection 2012-06-09 02:51:41 -04:00
Bob Monteverde
2a9642dccc Added discreteBarChart...ready to go chart wrapper for discrete bar. Initial cut. 2012-06-08 17:45:21 -04:00
Bob Monteverde
28f64a5272 Split up the multibar to a discrete bar and multi bar implementations 2012-06-08 17:21:08 -04:00
Bob Monteverde
df5da83118 Working on multiBar example where each x value is a different color 2012-06-08 15:44:11 -04:00
Bob Monteverde
4521b12ca4 Some minor naming fixes, also made forceY = '[0]' on bar charts by default 2012-06-07 16:58:53 -04:00
Bob Monteverde
3cd3798af1 Fixed tooltips on horizontal multibar 2012-06-06 16:13:55 -04:00
Bob Monteverde
a215dee866 Working on improving the horizontal multibar, added new pos/neg example 2012-06-06 15:26:51 -04:00
Bob Monteverde
b46d2d0deb fixed typo in lineWithFocus, removed cumulativeLineChartDaily, replaced with cumulativeLineChart that does daily and monthend 2012-06-05 15:51:15 -04:00
Bob Monteverde
803dfc6b38 Added nvd3 class to the parent wrap of all graphs, fixed some colors and css 2012-06-01 17:11:19 -04:00
Bob Monteverde
5ca0f2b310 Some minor tweaks to the multiBar, and created the first cut horizontal version of the model 2012-05-31 15:43:01 -04:00
Bob Monteverde
037332dfda minor tweak to clipEdge, and updated multiBar to have fancy staggered transition 2012-05-31 08:02:40 -04:00
Bob Monteverde
a9c9f60e28 trying out a staggered transition on multibar 2012-05-31 04:46:30 -04:00
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 2012-05-31 03:40:10 -04:00
Bob Monteverde
7857c4ab6b added multiBarWithLegend to makefile, and tweaked the animation a little on the multibar 2012-05-30 16:08:06 -04:00
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 2012-05-30 15:18:18 -04:00
Bob Monteverde
1a70ff5103 minor cleanup in multibar 2012-05-29 18:13:55 -04:00
Bob Monteverde
6746682e88 Fixed problem with y pos and height calculations with groups/stacked bar chart 2012-05-29 17:25:00 -04:00
Bob Monteverde
99bb37d9bc Fixed error with color in scatterWithLegend, and used category10 instea d of category20 in scatterWithLegend example. 2012-05-29 04:12:28 -04:00
Bob Monteverde
5d515963e8 Fixed issue with stacked multiBar. Still need to implement fancy transition from stacked to grouped, and back 2012-05-29 03:57:22 -04:00
Bob Monteverde
0f7a531784 added multiBar and stackedAreaChart to makefile, and minified. A few random fixes in a few core models 2012-05-29 03:42:25 -04:00
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. 2012-05-29 02:30:15 -04:00
Bob Monteverde
f057dcde68 removed deprecated dotRadius setting from lineWithFocus 2012-05-29 00:44:26 -04:00
Bob Monteverde
04f4427945 Cleaning up stackedArea code to be consistent with line and scatter 2012-05-28 18:31:26 -04:00
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 2012-05-28 02:03:23 -04:00
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 2012-05-27 22:11:43 -04:00
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 2012-05-27 19:52:28 -04:00
Bob Monteverde
648306aede Added new interactive sparklinePlus example, updated sparkline model and bullet model 2012-05-26 13:26:47 -04:00
Bob Monteverde
fd585afc17 Got most of the needed functionality in the bullet chart. Has protovis style triangle, and working toooltips 2012-05-26 04:55:32 -04:00
Bob Monteverde
b7670eeaff Added bullet example straight from d3's examples. Will likely convert it look like the protovis version 2012-05-24 18:33:06 -04:00
Bob Monteverde
aac0e0d046 updated linePlusBar to a valid use case example, fixed some obvious bugs, should be pretty close to correct 2012-05-24 17:01:41 -04:00
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 2012-05-24 07:48:35 -04:00
Bob Monteverde
434c56ff30 updates to linePlusBar, and some fixes to historicalBar. Also moved nv.utils into utils.js 2012-05-24 02:22:58 -04:00
Bob Monteverde
998a2b828c Added linePlusBar example, almsot complete 2012-05-23 18:37:28 -04:00
Bob Monteverde
ed6402e460 Added a stackedAreaChart to the charts collection. created a historical bar example similar to the line.js example 2012-05-22 19:16:42 -04:00
Bob Monteverde
864f79dc34 updated chart examples to work with new no-jQuery tooltips and resizing 2012-05-17 17:11:01 -04:00
Bob Monteverde
9352d35cfc merging in pull request from @Nathanaela removing jQuery dependence, added pie chart model, some other useful changes 2012-05-17 16:35:57 -04:00
Bob Monteverde
b34a7b409d Added right and top axes orientations. Made lineWithFourAxes as an example that will not be minified into nvd3, just for reference 2012-05-17 15:47:36 -04:00
Bob Monteverde
7995783c4a merged yaxis and axis into 1 implementation, will add top and right oriantations soon 2012-05-17 02:04:33 -04:00