Commit Graph

803 Commits

Author SHA1 Message Date
Bob Monteverde
867b030fe3 Clipping labels on discreteBarChart to prevent overlapping text 2012-06-12 18:38:43 -04:00
Bob Monteverde
c6fa0899b3 making SVG's blocks greedy 2012-06-12 16:07:02 -04:00
Bob Monteverde
5f03bd8232 minor updates for consistency throughout new Chart Models 2012-06-12 15:26:23 -04:00
Bob Monteverde
dc337a37ac Fixed value label position on transition on multiBarHorizontal 2012-06-12 14:28:28 -04:00
Bob Monteverde
c503955166 mergin css from gh-pages 2012-06-12 14:14:54 -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
89865d7f91 removed delay on discreteBar transition 2012-06-12 02:54:01 -04:00
Bob Monteverde
3dab32a401 Fixed tooltip offset position 2012-06-12 02:26:57 -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
c85020dcef Added missing source file from last commit, merged into makefile 2012-06-09 15:45:21 -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
d3dfc4a457 trying to reuse scales wherever possible 2012-06-09 04:46:18 -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
e937934122 minor css fix for sparkline plus 2012-06-08 18:16:18 -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
64e7aee246 Important TODO, recent changes to multibar need to be removed and replaced with a better discrete bar representation 2012-06-08 16:05:17 -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
f9ef9b1ece Removed deprecated dotRadius from stackaedAreaWithLegend 2012-06-07 19:12:38 -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
d7851d9f57 Fixed legend color on cumulative lien chart 2012-06-01 13:11:18 -04:00
Bob Monteverde
c06fb49fff added resize y axis toggle to cumulative line 2012-06-01 12:23:03 -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
e1aa54f7d5 minor cleanup of stackedArea and scatterWithLegend code 2012-05-31 04:00:01 -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
b806a46f91 Using category20 colors instead of category10, now the default colors work with up to 20 series, will deal with more later 2012-05-29 00:35:31 -04:00
Bob Monteverde
9ff72baad4 Fixed x and y point distribution on scatterWithLegend.js 2012-05-28 20:06:08 -04:00
Bob Monteverde
e528a47c1a Fixed issue with new line implementation where getX and getY don;t trickle down to the scatter 2012-05-28 19:25:39 -04:00
Bob Monteverde
e4f7449a3e Fixed issue with stackedArea calculating undefined x values 2012-05-28 19:08:12 -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
a81daeebb2 Added interaction to stackedArea where a series is isolated when clicked on 2012-05-28 16:51:33 -04:00
Bob Monteverde
41812f709a added areaMouseover, areaMouseout, and areaClick to stackedArea chart 2012-05-28 02:50:36 -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
d988f100fa line chart now implemented with scatter, considering replaceing line.js with scatter.js 2012-05-28 00:12:31 -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
e0b0cc7b0c Put the points-clip mask in the defs section on the scatter 2012-05-24 08:19:38 -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
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 2012-05-24 03:25:24 -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
8edf7136c4 implemented new voronoi clipping technique on the line chart 2012-05-23 15:51:30 -04:00
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 2012-05-23 03:00:54 -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
5491aef3cf Some minor updates, and removal of log statements that were used for debugging 2012-05-17 14:00:20 -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
86c7300826 X axis now adjust thenumber of ticks based on the width of the axis on the cumulativeLine model 2012-05-14 17:30:40 -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
Bob Monteverde
4737ead469 disabled hovering on stackedArea chart when the point has 0 value.. or very close to 0 2012-05-11 16:57:54 -04:00
Bob Monteverde
c79ca5c761 disabled legend hover effect on cumulative line model, and added cumulative line to the Makefile 2012-05-11 16:01:51 -04:00
Nathanael Anderson
a37fa26fb6 Fix for Pie Title duplication
Fix for Pie redraw of chart on resize (kind of a hack)
2012-05-11 14:27:55 -05:00
Nathanael Anderson
b0f9ecf8cc Fix for Bar Chart duplicated Titles on redraw 2012-05-11 10:38:19 -05:00
Nathanael Anderson
f79e78be6e Pie/Bar chart fixes/enhancments 2012-05-10 17:13:31 -05:00
Bob Monteverde
d22eb5a396 Made the line edge clipping optional, defaulting to false. But is still required for the lineWithFocus example 2012-05-10 13:57:11 -04: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
7698e95af3 Updated exit selection on points in line chart. Fixed some tissues with the Focus example, BUT still needs a lot of optimization. 2012-03-23 20:59:25 -04:00
Bob Monteverde
d2dc88e962 Now paths and points move as they transition out with the scales 2012-03-23 15:16:59 -04:00
Bob Monteverde
c557770f27 cleaned up some code, also refactored some of the cumulativeLine code, still needs some work 2012-03-23 00:44:52 -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
e45bc92b60 Minor change to intro, outro, and gitignore 2012-03-21 18:03:18 -04:00
Bob Monteverde
cc7aedcbe2 Initial public commit, merging files from private repo 2012-03-20 19:43:21 -04:00