Commit Graph

170 Commits

Author SHA1 Message Date
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
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 2012-05-14 17:09:45 -04:00
Bob Monteverde
83d56ef755 Added lineChartDaily example, and modified line and lineWithLegend models to feed getX and getY x,i not just i 2012-05-14 15:23:11 -04:00
Nathanael Anderson
61313ade5d Fix for Bar/Pie chart not showing updated data... 2012-05-14 12:14:12 -05:00
Nathanael Anderson
f79e78be6e Pie/Bar chart fixes/enhancments 2012-05-10 17:13:31 -05:00
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.
2012-05-10 11:10:15 -05:00
Nathanael Anderson
6af91f885c Updated Bar chart to use variable for Label/Data Element
Created Pie Chart
2012-05-09 14:08:25 -05:00
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.
2012-05-07 07:53:51 -05:00
Bob Monteverde
c7731d031e Working on stacked example, trying to get custom y accessor to work correctly 2012-04-08 05:50:16 -04:00
Bob Monteverde
454c5e4605 Drastic speed increase with line.js, needed for stackedAre chart 2012-04-08 02:59:44 -04:00
Bob Monteverde
ec6df61e02 Working on using the usual data scheme for the stacked charts, fixed css error with tooltip delay, cleaned up some code 2012-04-05 16:49:27 -04:00
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 2012-04-05 05:18:21 -04:00
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. 2012-04-05 01:24:39 -04:00
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 2012-04-03 16:35:59 -04:00
Bob Monteverde
91215e2d15 Removed color from stacked controls, fixed width issue in firefox 2012-04-03 11:46:30 -04:00
Bob Monteverde
1cfb52c7fe Added stacked/stream/expanded chart with example 2012-04-03 03:19:09 -04:00
Bob Monteverde
44d0460f8c Added stacked area example that can easily be used for stream or expanded area charts 2012-04-02 16:20:14 -04:00
Bob Monteverde
9dee21ece8 working on monthEnd axis ticks in cumualtive example 2012-03-27 16:55:15 -04:00
Bob Monteverde
abfa54d48b lineWithFocus now rescales the Y (needs optimization). Added different testing data. Added cumulative line example (still needs work, but functions). 2012-03-22 19:26:02 -04:00
Bob Monteverde
d1ae59f84e Fixed a minor naming issue 2012-03-21 18:20:54 -04:00
Bob Monteverde
cc7aedcbe2 Initial public commit, merging files from private repo 2012-03-20 19:43:21 -04:00