Commit Graph

803 Commits

Author SHA1 Message Date
Bob Monteverde
4cd94ff5d8 Minifying Pull Request #214 2012-09-25 14:19:35 -04:00
Bob Monteverde
f123fe7f23 Minifying Pull Request #212 and removing a log statement from bullet model 2012-09-21 17:15:34 -04:00
Bob Monteverde
bd5ca282ec Merge remote-tracking branch 'diraol/bulletChart' 2012-09-21 17:10:57 -04:00
Bob Monteverde
702388e4a3 made x axis max and min anchor to the middle 2012-09-21 16:24:30 -04:00
Diego Rabatone
d4811353a6 removing nice() from domain with INFINITY parameter, it wouldn't matter 2012-09-21 12:08:26 -03:00
Diego Rabatone
959f597c06 parentesis mistake corrected on bullet.js 2012-09-21 10:37:50 -03:00
Diego Rabatone Oliveira
e35025adab Merge branch 'master' of https://github.com/novus/nvd3 into bulletChart 2012-09-20 20:39:01 -03:00
Christopher Nelson
38a34f8529 Fix bug in linePLusBarChart where clipEdge was not enabled. 2012-09-20 15:45:01 -04:00
Christopher Nelson
d53e8c3c58 Fixed linePlusBarChart so that it uses the xAxis scale instead of inventing a new one. Also optimized the axis object a little by creating a format object once per axis draw, not once per tick mark draw. Also removed redundant calls to the formatter. 2012-09-20 14:02:42 -04:00
Christopher Nelson
993a4fe2c8 Added a new chart: multiBarTimeSeries which makes essentially duplicates the multiBar functionality, but makes internal changes to put a d3.time.scale on the bottom.
Also added a build.sh for Linux distros. If yui-compressor exists, it will be used to generated the minified output.
2012-09-20 08:36:41 -04:00
jeremie.brebec
dd4a234d2f Incremental update of 'discreteBar' chart 2012-09-20 11:25:26 +02:00
Diego Rabatone Oliveira
ed80c7ad88 Allowing no Markers on bullet and bulletChart 2012-09-20 01:39:45 -03:00
Diego Rabatone Oliveira
b66af7ff5f Adding nice() method to domains on bullet and bulletChart 2012-09-20 01:36:22 -03:00
Diego Rabatone Oliveira
b8e86d3faf Tooltips on bullet.js and bulletChart.js: positioning tooltips related to each bulletChart, not to the 'div#chart'.
Resolves Issue #202
2012-09-20 01:28:14 -03:00
Bob Monteverde
0d9ffe9177 Merge remote-tracking branch 'griphiam/master' 2012-09-19 18:23:23 -04:00
Bob Monteverde
87c7e3bb1e Added forceX to bulletchart, still needs to br implrmrnte 2012-09-18 17:17:45 -04:00
Mark Philpot
444cd76624 Initializing nv.render.active to false 2012-09-17 13:06:47 -07:00
Marsup
4ae1745274 Fix issue #198 2012-09-14 15:05:39 +02:00
Bob Monteverde
dffe67d4dc Issue #121 Bullet titles now get added once, and update after that.. no more duplicates 2012-09-13 17:41:59 -04:00
Bob Monteverde
f6cd67910b Tweaked the fix for Issue #198 to prevent valid areas from being removed 2012-09-13 17:36:00 -04:00
Bob Monteverde
6ac9238e59 Fixed issue #198 removing empty paths 2012-09-13 17:27:39 -04:00
Bob Monteverde
37db189a52 Attempting to fix Issue #198 2012-09-13 16:54:36 -04:00
Bob Monteverde
7d584841cd Issue #192 fixed position of distributions after amrgin changes 2012-09-10 17:59:48 -04:00
Bob Monteverde
91d2ba0d57 Issue #189 fixed pie.html example 2012-09-10 17:55:32 -04:00
dragansah
73d5df06e6 Expose d3.svg.area().interpolate() as public member in stackedArea and
stackedAreaChart. The default value for interpolate is "linear" as it's
the default in d3.
2012-09-08 17:26:36 +02:00
dusko
a389224dbd In IE9 console.log.apply does not exist 2012-09-04 10:58:48 +02:00
Bob Monteverde
4f5a260d69 Changing event handling in lineWithFocusChart to use dispatch to handle the event, and merging in Pull Request #179 2012-08-31 15:37:07 -04:00
Bob Monteverde
61aeca8cbe Merge remote-tracking branch 'arlm/crossfilter' 2012-08-29 15:54:43 -04:00
Alexandre Rocha Lima e Marcondes
3e9bfe23d6 * Stream #2 Dimension correction
* Interaction with data dump on tables sample
2012-08-29 16:39:36 -03:00
dragansah
6e209c2769 Add a 'stream-center' mode in stackedArea using 'silhouette' as the
chart offset and 'inside-out' as the chart order.
2012-08-29 15:26:34 +02:00
Bob Monteverde
0ea195be72 Defaulting to forcing 0 on historical bar to be consistent with other bar models 2012-08-27 16:42:53 -04:00
Bob Monteverde
a35e44789f Bar color is now set up update selection instead of enter selection so it can be changed on update 2012-08-27 14:54:36 -04:00
Bob Monteverde
1716ccf827 Fixed Issues #161 in the axis... also minifying all previous commits from today 2012-08-27 13:59:19 -04:00
Bob Monteverde
36882e443a Fixed Issues #161 in the bullet 2012-08-27 13:55:42 -04:00
Bob Monteverde
1a9ae9dfab Fixed Issues #161 and #166 in the bulletChart 2012-08-27 13:55:09 -04:00
Bob Monteverde
3306469160 Fixed Issues #161 and #166 in the cumulativeLineChart 2012-08-27 13:54:18 -04:00
Bob Monteverde
db0691c038 Fixed Issues #161 in the discreteBar 2012-08-27 13:53:18 -04:00
Bob Monteverde
7f0459cac6 Fixed Issues #161 and #166 in the discreteBarChart 2012-08-27 13:52:41 -04:00
Bob Monteverde
21caa2e784 Fixed Issues #161 in the distribution 2012-08-27 13:51:59 -04:00
Bob Monteverde
5cae2587fd Fixed Issues #161 in the historicalBar 2012-08-27 13:51:23 -04:00
Bob Monteverde
94acd57311 Fixed Issues #161 in the indentedTree 2012-08-27 13:41:35 -04:00
Bob Monteverde
c10d02009f Fixed Issues #161 in the legend 2012-08-27 13:40:34 -04:00
Bob Monteverde
c49847458f Fixed Issues #161 in the line 2012-08-27 13:39:56 -04:00
Bob Monteverde
3b5e738838 Fixed Issues #161 in the lineChart 2012-08-27 13:39:23 -04:00
Bob Monteverde
4ff1eb0df8 Fixed Issues #161 and #166 in the linePlusBarChart 2012-08-27 13:38:43 -04:00
Bob Monteverde
5c6b32dc98 Fixed Issues #161 and #166 in the lineWithFocusChart 2012-08-27 13:37:34 -04:00
Bob Monteverde
cb94b65636 Fixed Issues #161 in the multibar 2012-08-27 13:36:11 -04:00
Bob Monteverde
2d5cc34580 Fixed Issues #161 and #166 in the multibarChart 2012-08-27 13:35:36 -04:00
Bob Monteverde
2550b4f698 Fixed Issues #161 in the multibarHorizontal 2012-08-27 13:34:04 -04:00
Bob Monteverde
3afbee06a0 Fixed Issues #161 and #166 in the multibarHorizontalChart 2012-08-27 13:33:12 -04:00
Bob Monteverde
894f824495 Fixed Issues #161 in the ohlcBar 2012-08-27 13:31:33 -04:00
Bob Monteverde
7b58d8fd9a Fixed Issues #161 in the pie 2012-08-27 13:30:17 -04:00
Bob Monteverde
69c0406a2f Fixed Issues #161 and #166 in the pieChart 2012-08-27 13:29:31 -04:00
Bob Monteverde
80c3387c4d Fixed Issues #161 and #166 in the scatterChart 2012-08-27 13:28:00 -04:00
Bob Monteverde
2343f25471 Fixed Issues #161 in the sparkline 2012-08-27 13:25:58 -04:00
Bob Monteverde
3d54e41e53 Fixed Issues #161 in the sparklinePlus 2012-08-27 13:25:32 -04:00
Bob Monteverde
0397b38507 Fixed Issues #161 in the stackedArea 2012-08-27 13:24:23 -04:00
Bob Monteverde
e4102891c0 Fixed Issues #161 and #166 in the stackedAreaChart 2012-08-27 13:23:21 -04:00
Bob Monteverde
075e862b96 Issue #68 updated pieChart model to standard format 2012-08-27 12:32:14 -04:00
Bob Monteverde
3933b3da69 Issue #68 updated discreteBarChart model to standard format 2012-08-27 12:21:45 -04:00
Bob Monteverde
dc389d461b Issue #68 updated bulletChart model to standard format, still needs refactoring 2012-08-27 12:03:07 -04:00
Leonid
45395c6b72 Fix for issue #172 2012-08-27 15:10:07 +04:00
Bob Monteverde
7cc32ebe3f More updates to sparklinePlus, working on look and feel now, but should be functional 2012-08-22 17:24:30 -04:00
Bob Monteverde
5793752a4d Added data back to lineChart exampl, also aded chart.update and chart.container to sparklinePlus 2012-08-22 14:32:26 -04:00
Bob Monteverde
e020c2716b Added proposed fix for Issue #166 to lineChart and sparklinePlus, I will implement in the other relevant charts later, open to suggestions if someone has cleaner code to do this 2012-08-22 14:29:42 -04:00
Bob Monteverde
2d76b10749 More progress cleaning up the sparklinePlus model 2012-08-22 13:35:41 -04:00
Bob Monteverde
7d89437652 aprklinePlus now functional again, still cleaning up the code, but drastically better than it was at least 2012-08-22 12:29:07 -04:00
Bob Monteverde
3b4f3b8b2e more progress on sparkline, it is actually broken right now, but much closer to where i want it to be, will fix in the am 2012-08-21 20:36:27 -04:00
Bob Monteverde
9b90da61cf more progreesss on sparklinePlus refactor, there's still a ways to go 2012-08-21 19:58:03 -04:00
Bob Monteverde
c9a92269f4 Issue #68 updated sparklinePlus model to standard format, still needs refactoring 2012-08-21 19:44:50 -04:00
Bob Monteverde
f7e07a8db8 Issue #68 updated stackedAreaChart model to standard format 2012-08-21 16:57:23 -04:00
Bob Monteverde
c109150965 Clean up lineWithFocus a little more to be consistent with other charts 2012-08-21 16:39:29 -04:00
Bob Monteverde
389a926dff Mergin in Pull Request #163 2012-08-21 16:16:44 -04:00
Bob Monteverde
9a4be1601d Issue #68 updated lineWithFocus model to standard format 2012-08-21 16:14:58 -04:00
Conor Mongey
d6d21b387b Add missing tooltip global method 2012-08-21 11:55:31 -07:00
Bob Monteverde
6aff9729d1 Issue #68 updated indentedTree model to standard format 2012-08-21 14:21:49 -04:00
Bob Monteverde
caf5c121ca Issue #68 updated linePlusBarChart model to standard format 2012-08-21 13:42:41 -04:00
Bob Monteverde
869a22c5bf Issue #68 updated cumulativeLineChart model to standard format 2012-08-21 12:08:05 -04:00
Bob Monteverde
aca8838f52 Issue #161 implemented new margin setting in scatter.js will implement into the others later 2012-08-21 10:35:04 -04:00
Bob Monteverde
44c0e21a87 Issue #68 updated multiBarHorizontalChart model to standard format 2012-08-21 10:18:59 -04:00
Bob Monteverde
0ef2908ffc Issue #68 updated multiBarChart model to standard format 2012-08-17 22:51:06 -04:00
Bob Monteverde
cac81e7405 Issue #68 updated multiBarHorizontal model to standard format 2012-08-17 21:43:59 -04:00
Bob Monteverde
d8678f966d Issue #68 updated lineChart model to standard format 2012-08-17 20:15:28 -04:00
Bob Monteverde
5f95ee7a95 Issue #68 updated scatterChart model to standard format 2012-08-17 19:58:25 -04:00
Bob Monteverde
e767359018 Issue #68 updated discreteBar model to standard format 2012-08-17 19:19:01 -04:00
Bob Monteverde
4f6e678def Issue #68 updated distribution rug model to standard format 2012-08-17 18:58:15 -04:00
Bob Monteverde
9d4b0fb6a7 Issue #68 updated axis model to standard format 2012-08-17 16:37:33 -04:00
Bob Monteverde
8349dea0aa Issue #68 updated legend model to standard format 2012-08-17 16:32:03 -04:00
Bob Monteverde
3a08bc78e0 Issue #68 updated bullet model to standard format 2012-08-17 16:23:26 -04:00
Bob Monteverde
7ffc993a5d Issue #68 updated pie model to standard format 2012-08-17 16:17:33 -04:00
Bob Monteverde
6b5e4390ca Issue #68 updated sparkline model to standard format 2012-08-17 15:26:14 -04:00
Bob Monteverde
bd24b87f62 Issue #68 updated historicalBar model to standard format 2012-08-17 15:12:14 -04:00
Bob Monteverde
7956f70b92 Issue #68 updated stackedArea model to standard format 2012-08-17 15:02:24 -04:00
Bob Monteverde
e0487f52c7 Issue #68 updated ohlcBar model to standard format 2012-08-17 14:15:41 -04:00
Bob Monteverde
33823fe24d Issue #68 updated multibar model to standard format 2012-08-17 14:07:18 -04:00
Bob Monteverde
bdab7c5b50 Minor whitespace cleanup 2012-08-17 13:59:34 -04:00
Bob Monteverde
7e22613004 Issue #68 updated line model to standard format 2012-08-17 13:58:02 -04:00
Bob Monteverde
f1a25d2637 fix minor spelling error 2012-08-16 17:04:18 -04:00
Bob Monteverde
33e1b6bb15 Remove a trailing comma in an event object in the bullet model 2012-08-16 15:42:58 -04:00
Bob Monteverde
2f0d1cea9f getColor now gives default color if no argument is passed in 2012-08-15 12:18:48 -04:00
Bob Monteverde
134ad1d49d Fix cumulative line chart, color should have been set to default color 2012-08-15 12:16:56 -04:00
Stefan Gojan
bee5902dab added ticks parameter because rebind didn't work 2012-08-13 17:27:12 +02:00
Stefan Gojan
3db503ecce fixed #147 added switch to use voronoi or circles for mouse events 2012-08-13 16:12:23 +02:00
Bob Monteverde
0588aa057f Minor clean up of axis.js.. it still needs more 2012-08-10 03:27:38 -04:00
Bob Monteverde
685bb46454 Attempting to fix issue #143 2012-08-09 20:39:32 -04:00
Bob Monteverde
4254f4ab34 Removed no data check from the bulletChart until I modify it to work with the bullet chart code 2012-08-08 17:48:37 -04:00
Eric Rosenberg
f0d60709a8 Updated all nv.tooltip.show() calls to use the offsetElement as the parentElement 2012-08-07 15:04:24 -07:00
ffleandro
55553a7524 showDist properties were never used 2012-08-05 20:52:00 +01:00
ffleandro
590b6c81e5 Added sizeRange property for more dynamic point customization
Exposed sizeRange
2012-08-05 19:58:20 +01:00
Bob Monteverde
ad622bb512 Fixing merge conflict 2012-08-03 13:18:04 -04:00
Bob Monteverde
70f2d22952 Fixed issue with scatter p[lot distributions with custom data format 2012-08-03 13:16:46 -04:00
Bob Monteverde
41472dd103 Rebound x and y to scatterChart for custom getX and getY behavior. 2012-08-03 13:05:29 -04:00
Luke Steensen
6a05eb6189 allow programmatic stacking of horizontal multibar charts 2012-08-02 18:45:32 -05:00
Bob Monteverde
c0c19c2cd0 make lines and lines2 public ion the lineWithFocus chart 2012-07-31 16:04:52 -04:00
Bob Monteverde
0dfa90dd2f Fix last Pull Request, get rid of unneeded jQuery 2012-07-31 15:26:16 -04:00
Bob Monteverde
97954cad84 Mergin in and minifying Pull Request #127 2012-07-31 15:05:42 -04:00
Tomasz Werbicki
0c82e3c76c Remove scatter points on exit. 2012-07-30 22:25:45 -05:00
Eric Rosenberg
9b20638cce Merge branch 'master' of https://github.com/novus/nvd3 2012-07-30 15:49:40 -07:00
Eric Rosenberg
12d0bf3612 Added x-axis label rotation to the Axis Model and removed it from discrete bar chart 2012-07-30 15:48:37 -07:00
Tomasz Werbicki
a597d3ee36 Allow to put labels outside donut. 2012-07-30 16:30:11 -05:00
Bob Monteverde
e4fb08fc58 Fitler out disabled series before doing Y axis domain calculating when rescale is disabled 2012-07-30 16:40:45 -04:00
Bob Monteverde
8d8b5d00f1 Implemented the resize y-axis toggle on cumualtive line, now the user can turn or rescaling the y axis 2012-07-30 16:32:27 -04:00
Bob Monteverde
7de6971105 Merging in, slightly modifying, and minifying Pull Request #118 2012-07-30 15:06:01 -04:00
Tomasz Werbicki
93f960652c Set colors in stackedAreaChart. 2012-07-30 13:56:33 -05:00
Bob Monteverde
6534cb622f making tooltip public on multiBarHortizontalChart model 2012-07-30 14:51:17 -04:00
Bob Monteverde
4ed747791a Fixing Issue #119 by making tooltip public on multiBarChart model 2012-07-30 14:50:40 -04:00
Eric Rosenberg
f4e92d2b68 Bottom axis will computed the longest tick length - still does nothing with this data 2012-07-30 11:38:25 -07:00
Bob Monteverde
637815f4d8 Added nv.utils.pjax, while not a required function, its a convenient way of using d3 to do pjax in a VERY simple manor 2012-07-30 03:17:32 -04:00
Tomasz Werbicki
d6006ad911 Expose pie valueFormat in pieChart. 2012-07-30 00:45:10 -05:00
Tomasz Werbicki
9535dba170 Allow to set yAxis format in stackedAreaChart. 2012-07-29 23:57:49 -05:00
Ger Hobbelt
9b5a9f55b8 bugfix for .x() and .y() - see gist / http://bl.ocks.org/3192376 - clone that one, replace the
<script src="./nvd3/src/models/lineWithFocusChart.js"></script>
in there which points at a clone of this commit to the nvd3 code repo without this fix and see the NaN's flying thick.
2012-07-28 16:54:25 +02:00
Ger Hobbelt
5f2f7de19a CSS tweak to ensure that browsers (Chrome) don't adjust the page size / scrollbar due to the tooltip divs sitting at the bottom of the page while being removed. (You get some pretty 'odd' scrollbar 'animation' in Chrome when hovering over a graph line, where tooltips pop in and out of existence while you hover.) 2012-07-28 16:21:11 +02:00
Bob Monteverde
ae1e42ea11 Merging in Pull Request #117 2012-07-27 19:23:00 -04:00
Ger Hobbelt
ef3a7aefb0 added .xTickFormat() and .yTickFormat() API methods to make chart axis public I/F as capable as that of lineWithFocus.js - from which this code was ripped and then adjusted to compensate for the slightly different way the 2nd x and y axis are named internally. 2012-07-28 00:23:46 +02:00
Bob Monteverde
0c8cf9261d Added no data available message to sparklineplus 2012-07-27 18:18:56 -04:00
Bob Monteverde
bded864229 Added a customizeable No Data Available. message to all the charts when they are fed no series, or all series have no points 2012-07-27 17:37:20 -04:00
Bob Monteverde
60f227dba0 Merge remote-tracking branch 'griphiam/master' 2012-07-27 15:39:16 -04:00
Mark Philpot
eb1dda2b31 Adding rotate labels to multiBarChart, SVG greedy in height as well 2012-07-27 11:18:21 -07:00
Steven Noble
d6789c0caa Merge branch 'master' of git://github.com/novus/nvd3 into multiChart 2012-07-27 11:45:23 -04:00
Steven Noble
4507e22d37 little bit more cleanup 2012-07-27 11:45:00 -04:00
Steven Noble
25c324b972 left axis doesn't need to be labelled in the names 2012-07-27 11:40:58 -04:00
Bob Monteverde
9deb24f0f2 tighten up lineWithFocus defautl margin 2012-07-27 03:11:30 -04:00
Bob Monteverde
a40baa70af fix type in discreteBar and minify Pull Request #109 2012-07-27 03:06:26 -04:00
Bob Monteverde
c1f546a5e7 Merging in Pull Request #109 2012-07-27 03:03:59 -04:00
Bob Monteverde
0bdd782132 make margin2 accessible in lineWithFocus model 2012-07-27 01:45:27 -04:00
Bob Monteverde
2f6c35e3ad Revamp of lineWithFocus model to only render data points within window range in main view instead of rendering the entire thing, and clipping 2012-07-27 01:43:56 -04:00
Bob Monteverde
3b81d8aeed Added nv- to almost all classes and IDs.. will need to recheck everything, but I think I got them all 2012-07-26 19:42:42 -04:00
Bob Monteverde
eb1407a39a Merge remote-tracking branch 'Jyrsa/fixing' 2012-07-26 17:14:43 -04:00
Luke Steensen
cfba3d623a fix stacking of horizontal multibar
addresses issue #39
2012-07-26 15:48:48 -05:00
Steven Noble
5fd88802ea improvements 2012-07-26 11:53:36 -04:00
Jyry Suvilehto
a25459d2e7 crude fix to broken y axis handling in sparklinesPlys 2012-07-26 12:49:09 +00:00
Jyry Suvilehto
afc1424e4a crude fix to broken y axis handling in sparklinesPlys 2012-07-26 12:26:31 +00:00
Jyry Suvilehto
ca6e2c589b update models to use new colors 2012-07-26 12:26:01 +00:00
Jyry Suvilehto
a4a022e212 use new color getting method in everything that's used in a stackedAreaChart 2012-07-26 11:08:23 +00:00
Jyry Suvilehto
8957680322 added two utility functions for color 2012-07-26 11:07:21 +00:00
Steven Noble
3730dffd8d getting tooltips and legend to work 2012-07-25 16:51:04 -04:00
Steven Noble
9d5b67e791 refactor how scale is used now that I kind of understand it 2012-07-25 13:54:03 -04:00
Steven Noble
c00625b2ba Merge branch 'master' of git://github.com/novus/nvd3 into multiChart 2012-07-25 11:24:28 -04:00
Steven Noble
06139a64cd multichart model that can handle Stacked, Line, and Bar charts across 2 axes 2012-07-25 11:24:13 -04:00
Bob Monteverde
008ffbfdb0 Mergin in changes, and some updates to historicalBar and ohlcBar models 2012-07-24 14:56:02 -04:00
Bob Monteverde
c09378e963 Some minor tweaks and minifying Pull Request #95 2012-07-24 14:28:35 -04:00
Bob Monteverde
073acf3844 Merge remote-tracking branch 'deleet/master' 2012-07-24 14:24:26 -04:00
Bob Monteverde
2dca0a39c1 Merge remote-tracking branch 'g2010a/patch-1' 2012-07-24 14:22:46 -04:00
André Ferreira
95bb66498f Removed rendering timers when development is off. Other small fixes. 2012-07-24 05:23:48 +01:00
Steven Noble
04c4ea97f0 fixes bug that messes up tooltips when you have multiple graphs on one page 2012-07-23 16:17:46 -04:00
g2010a
e1e3f4a2a2 Updated scr/models/axis.js to accept a rotateYLabel parameter (because not all axis labels should be vertically oriented). nv.models.axis() now also accepts a margin parameter. 2012-07-20 21:45:15 +03:00
Bob Monteverde
1c6a2a8b30 Mergin in Pull Request #84 2012-07-19 20:12:33 -04:00
Bob Monteverde
88a7ae0a64 Removing historicalStockChart, close sourceing it, sorry guys 2012-07-19 20:02:06 -04:00
Patrick Butler
9c2c3c5b84 Expose x/yScale to use time scales in line charts
This patch adds to the rebinded xScale and yScale values from line to
lineCharts
2012-07-19 19:17:15 -04:00
Bob Monteverde
82f4942290 Fixed issue with pan when hitting max/min, part of Issue #79 2012-07-19 18:28:34 -04:00
Bob Monteverde
83db5bc1a0 moved view finder x axis to behind the brushBackground to make it more obvious what data is selected 2012-07-19 16:21:37 -04:00
Bob Monteverde
89ff985793 Changed greyed out view finder to white out to imititate an opacity mask, also fixed issue where value bars would not hover 2012-07-19 14:41:02 -04:00
Bob Monteverde
a7b9b113ce Fixed drag ratio, now is 1 to 1 with main data view 2012-07-19 11:33:47 -04:00
Bob Monteverde
7731a609aa working on adding drag functionality to main view... its working, but its not calculated correctly, so it moves too fast 2012-07-19 11:27:31 -04:00
Bob Monteverde
59dddeb652 Added height2 and height3 to historical stock charts public functions, also tweaked the default values 2012-07-19 06:38:40 -04:00
Bob Monteverde
d3b1dcdb4e Lots of tweaks to historical stock 2012-07-19 06:12:33 -04:00
Bob Monteverde
d1ebad10e4 Highlight window and dim rest of view window, works in FF< but having issues withthe clipping in chrome 2012-07-19 04:59:22 -04:00
Bob Monteverde
f6caf91de4 Fix y extent calculations on OHLC bar, which fixes it in the historical stock chart 2012-07-19 02:44:09 -04:00
Bob Monteverde
bcd574c70b Fixed issue with OHLC bar in FF where close line was missing, part of Issue #79 2012-07-19 02:32:56 -04:00
Bob Monteverde
3daa1b969f isArea is now passed thru d3.functor so user can just set true or false instead of having to wrap that in a function. Set isArea(false) on historicalStockChart 2012-07-19 02:20:54 -04:00
Bob Monteverde
960eb3f377 added option to make a line and area, and added chart.isArea() to all relevant charts 2012-07-19 02:15:53 -04:00
ian
bd005c35fd disable tooltips separately 2012-07-18 21:53:23 -04:00
Bob Monteverde
0de3da0485 Lots of tweaks to historicalStockChart, still more to come 2012-07-18 01:49:57 -04:00
Bob Monteverde
3abf806d4f Renemaed historicalStock.html to historicalStockChart.html and renamed historicalStock.js to ohlcBar.js for open-high-low-close 2012-07-18 00:26:18 -04:00
Bob Monteverde
0cf6d15b0a Workign on adding a view finder to the historicalStockChart.. halfway there 2012-07-17 17:39:24 -04:00
Bob Monteverde
93066940b7 Working on historicalStock model, fixed minor issue with axis now lets you set the width for positioning the axislabel 2012-07-17 16:07:07 -04:00
ian
3d16ab1e69 move x axis label down a bit to avoid overlap on scatter 2012-07-16 23:51:49 -04:00
ian
fd8ad4c74a center x axis label for bar charts 2012-07-16 23:50:48 -04:00
Bob Monteverde
de75aab136 Added chart id reference to stackedArea tooltip trying to prevvent problems with different charts interacting accidentally 2012-07-16 17:59:05 -04:00
Bob Monteverde
8cd52e7dfe Hide correct Y axis when bers or lines are not defined in linePlusBarChart 2012-07-16 17:16:13 -04:00
Bob Monteverde
cfa185d2ba Fix minor bug with y axis screwing up in stack mode of multibar chart 2012-07-16 17:10:02 -04:00
Bob Monteverde
1edf924478 added scale adjustment to multibar to work with single data point 2012-07-16 17:03:24 -04:00
Bob Monteverde
ee0adbdd4d Working on getting single data point to work on all charts, added scale adjustment to historicalBar to work with the linePlusBarChart 2012-07-16 17:00:41 -04:00
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 2012-07-16 15:27:15 -04:00
Bob Monteverde
a8b080640f Merging in most of PullRequest #16 2012-07-16 13:52:24 -04:00
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 2012-07-15 08:49:59 -04:00
Bob Monteverde
f5fa9e5de0 Added new lineChart example that utilizes SVG resizing without recalling the chart, also updated lineChart's tooltips to work with this 2012-07-15 02:55:32 -04:00
Bob Monteverde
9d3ded6566 Added nv.log for convenient inplace logging in dev mode thats omitted when not in dev 2012-07-15 02:00:56 -04:00
Bob Monteverde
acc85870ca Fixed Issue #28 and set showMaxMin to false on multibar due to ordinal axis 2012-07-14 17:38:36 -04:00
Itay Neeman
46033a06cf Add e.pointIndex to all chart tooltip calculations 2012-07-14 12:46:14 -07:00
Bob Monteverde
a6a9386700 Now stacked/grouped controls are set inside of chart call so user should be able to switch the default 2012-07-14 01:26:04 -04:00
Bob Monteverde
6c5af197ad Fixed default value fo stacke/grouped multibar from Pull Request #43 2012-07-14 01:11:25 -04:00
Bob Monteverde
7b00276f20 Merge remote-tracking branch 'itay/feature/fix-wrong-series' 2012-07-14 00:16:15 -04:00
Bob Monteverde
bd58161273 Minifying Pull Request #66 plus a minor tweak 2012-07-14 00:14:17 -04:00
Bob Monteverde
7b195d9f6d Merge remote-tracking branch 'itay/feature/fix-linebar-chart-incorrect-tooltip' 2012-07-14 00:13:06 -04:00
Bob Monteverde
2c052ac6aa Merge remote-tracking branch 'itay/feature/fix-linebar-chart-tooltip' 2012-07-14 00:09:56 -04:00
Itay Neeman
d737029bd2 Fix incorrect date in tooltip of line+bar chart (#23)
In a line+bar chart, the date was being set incorrectly due to the fact
we did not pass in the point index to the x-axis computation.

This fix passes it in, so now the tooltip can be calculated correctly.
2012-07-13 19:08:21 -07:00
Itay Neeman
5c3dff719c Fix line+bar chart tooltip
There is a bug in the line+bar chart that caused the tooltip to keep
being append with left/right axis information. We fix this by saving
the original key and using that for the append.
2012-07-13 18:33:37 -07:00
Itay Neeman
8a08435415 Fix a bug where the tooltip might show an incorrect stream (#62)
If you disabled a series in a multi-bar chart (either horizontal or
vertical), you would get incorrect tooltips. This was caused by the
fact that we only set the mouseover on the `enter()` elements, which
meant that nothing was being set when the chart was updated due to the
hiding. This caused us to close over the original value of the data

The fix is to set the mouseover on the entire selection, which updates
it every time the chart is updated. This also contains a small fix to
the horizontal multi-bar chart to have a more descriptive tooltip.
2012-07-13 18:31:56 -07:00
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.
2012-07-13 16:46:19 -07:00
Bob Monteverde
199ec2aed8 renaming d3.css to nv.d3.css 2012-07-13 15:25:19 -04:00
Bob Monteverde
c146ab7787 Merging in Pull Request #61 2012-07-13 14:56:35 -04:00
Itay Neeman
ac3392519d Fix horizontal bar charts not updating correctly (#54)
Horizontal bar charts didn't update correctly - the data that the width
was calculated by was bound to previous values.

The fix was to use `select()` instead of `selectAll` on the bars
themselves (since there is only a single `rect` element in each). This
is because `selectAll` doesn't propagate data bindings, per the
following links:

https://groups.google.com/forum/?fromgroups#!topic/d3-js/PUansS150J0
https://groups.google.com/forum/?fromgroups#!topic/d3-js/272vChmijIw

It works the first time because of the `.enter()` definition which will
cause data to propagate, as mentioned in the above threads.
2012-07-13 00:45:25 -07:00
ian
0a5b34308a center y axis label 2012-07-12 22:55:28 -04:00
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 2012-07-12 15:40:16 -04:00
Bob Monteverde
5b99f6159b Mergin in Pull Request #56 2012-07-12 14:33:11 -04:00
EricRose
2b8f12d6bf Added a public method to PieChart to allow users to opt not to show the legend 2012-07-11 22:45:56 -07:00
Bob Monteverde
6a4e969303 Fix scatter magnify where clicking on points does not pause, now clicking anywhere, points and background will pause it 2012-07-12 01:17:02 -04:00
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 2012-07-12 01:07:36 -04:00
Bob Monteverde
eb313cc7ec Issue #31 added accessor for tooltips and tooltipContent on multibar 2012-07-12 00:36:30 -04:00
Bob Monteverde
88d538287b Issue #41 fixed legend height updating available height on line plus bar chart 2012-07-12 00:28:02 -04:00
Bob Monteverde
2274156100 Issue #44 Limiting legend to 50% width on line plus bar 2012-07-12 00:24:23 -04:00
Bob Monteverde
f46328a585 Merging in Pull Request #53 2012-07-11 20:46:59 -04:00
Bob Monteverde
2634e157cf Merging in Pull Request #51 2012-07-11 20:41:48 -04:00
Alexandre Rocha Lima e Marcondes
c9717f0427 * Interpolate should have been rebound from the lines:
d3.rebind(chart, lines, 'interpolate');
2012-07-11 18:15:34 -03:00
Itay Neeman
0355c9cbe5 Make lineWithFocusChart have consistent x and y value getters
lineWithFocusChart uses two separate line charts, and this change
ensures that any x/y value getter (e.g. `chart.x(...)`) set on the main
line chart is also migrated to the focus chart.
2012-07-11 10:06:57 -07:00
Alexandre Rocha Lima e Marcondes
d513dee197 * Interpolation on line and line related charts 2012-07-10 16:27:20 -03:00
Bob Monteverde
8cc955c29c whitespace cleanup in scatterChart 2012-07-10 01:44:57 -04:00
Bob Monteverde
58de184cf9 slight tweaks to scatterChart and css 2012-07-10 01:39:58 -04:00
Bob Monteverde
89172ff42e Fix issue where disabled series show up when magnify is enabled 2012-07-10 01:25:27 -04:00
Bob Monteverde
bfb1f2db25 Cleaning up scatterChart, fixed a few issues that had no tickets 2012-07-10 01:15:23 -04:00
Bob Monteverde
631e50f684 trying out common comment structure in scatter, soon the rest will have it 2012-07-10 00:16:26 -04:00
Bob Monteverde
c6e4ffb5c5 Stage 1 of cleanup continued 2012-07-09 22:57:12 -04:00
Bob Monteverde
ab80bda59c Stage one of major code cleanup / consistency check 2012-07-09 16:01:33 -04:00
Bob Monteverde
53401adab5 Merging in Pull Request #43 fixiing Issue #42 MultibarChart set to stacked, the controls default value is wrong 2012-07-09 00:16:40 -04:00
Bob Monteverde
292256bab7 Merging in Pull Request #46 allow updating delay for multiBarChart 2012-07-09 00:12:16 -04:00
Bob Monteverde
35ba44bd9f Issue #38 let user set custom scales on the satckedAreaChart 2012-07-09 00:02:29 -04:00
Luke Steensen
a7c4b0fe06 regenerate compiled files
also undo mistake deletion from last commit
2012-07-06 15:48:32 -05:00
Luke Steensen
575a4efce7 allow updating delay for multiBarChart 2012-07-06 15:35:32 -05:00
Jun Lin
d1f7cdf286 fixed #42 set multibar default to stacked, the controls default value is wrong 2012-07-06 09:13:56 +08:00
Philip Roberts
a04cc0fa07 Fix accidental semicolon in var list causing
variables afterwards to be globals in multiBarChart.

Fixes #35.
2012-07-05 13:04:10 +01:00
Bob Monteverde
253023d805 adding 1px white stroke to pir chart 2012-07-03 23:35:47 -04:00
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
5dcc2b7402 fixed incorrect api name, valueFormat, NOT valuesFormat 2012-07-02 16:46:56 -04:00
Bob Monteverde
04e68e9295 fixed issue with max and min labels overlapping on y axis 2012-07-02 14:36:34 -04:00
Bob Monteverde
e7a8665705 fixing issues with labels not being positions correctly in firefox 2012-07-02 14:19:04 -04:00
Bob Monteverde
feed538cee configurable open and close options now in api 2012-07-02 12:43:04 -04:00
Bob Monteverde
c9011f5f22 updated lineWithFisheye example, and boosted max zoom to 5x 2012-07-02 01:22:49 -04:00
Bob Monteverde
879cf06e09 Removed shape from scatter, replaced with getShape, defaults to function(d) { return d.shape || 'circle' } 2012-07-01 05:17:45 -04:00
Bob Monteverde
7b780350fb working on fixing multibar x axis with showMaxMin is false 2012-07-01 03:08:16 -04:00
Bob Monteverde
5d5488dbb6 Fix issue where pie chart lets you disable all series then series doesn;t come back when re-enabled 2012-07-01 02:09:28 -04:00
Bob Monteverde
9d726ac9ab some updates to the pie css to make interaction sexier 2012-07-01 02:05:07 -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
ecb80cb4b8 If Max / Min contains 'NaN' don't show it on axis 2012-06-30 04:26:44 -04:00
Bob Monteverde
6c66e371e5 fix default height on bulletChart 2012-06-30 04:18:56 -04:00
Bob Monteverde
6da248bd19 defined local variable container in bulletChart 2012-06-30 04:16:40 -04:00
Bob Monteverde
94d44b7cec If you don't set width, bullet chart gets container's.. height is static but can be changed manually 2012-06-30 04:07:50 -04:00
Bob Monteverde
c5dad2c36a fixing variable name 2012-06-30 03:36:51 -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
4ab57cb38f Issue #19 Fixing label offset for FF, and increasing the disatnce from vertical axis maxand min from 8 to 10 to prevent overlap 2012-06-29 14:59:15 -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
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.
2012-06-29 17:14:18 +01:00
Bob Monteverde
42aa8ad2ca if no offset element is given, assume 0 on pieChart, because pieChart uses mouse position for tooltips right now 2012-06-28 19:27:34 -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
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
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 2012-06-28 16:30:55 -04:00
Bob Monteverde
777280bcd6 cleaning up new pie chart implementation 2012-06-28 16:00:41 -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
Tsyren Ochirov
eb8f9f48fb tooltip optional base container 2012-06-28 11:42:26 +04:00
Tsyren Ochirov
d06d04ebed define optional parametr parentID for tooltip element 2012-06-28 11:00:35 +04:00
Tsyren Ochirov
1ea04ec428 fix: get Date instead of get Month 2012-06-28 10:35:02 +04:00
Tsyren Ochirov
a10eac2af6 days in month refactor 2012-06-28 10:31:06 +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
f2cd0ed629 Moved cumulativeLine.js to deprecared, cumulativeLineChart.js is the up to date version of it 2012-06-27 15:09:29 -04:00
Bob Monteverde
b396b0e155 updated line implementation to be consistent with other models 2012-06-27 14:38:23 -04:00
Bob Monteverde
37f8f42c3e cleaning up line.js to be consistent with eevrythign else, and hopefully perform a litttle better 2012-06-26 20:30:38 -04:00
Bob Monteverde
8e00a8060d lineWithFisheye... first try.. SUPER SLOW 2012-06-26 17:35:00 -04:00
Bob Monteverde
25883d2a5e removing the delay on the horizontal bar for now, also making sure 0 ticks are never removed from the axis 2012-06-26 15:33:09 -04:00
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 2012-06-26 13:12:17 -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
ea31b3ab1c Issue #10 fixed distributions from showing disabled points 2012-06-26 01:24:34 -04:00
Bob Monteverde
135be08bde axis max and min now fades in 2012-06-26 01:23:33 -04:00
Bob Monteverde
6395011805 trickling down the tickFormatter from the main y and x axes to the view finder axes 2012-06-25 17:17:55 -04:00
Bob Monteverde
72c91548de don't hide axis on horizontal bar 2012-06-25 15:08:25 -04:00
Bob Monteverde
a72645dbe4 Issue #9 Fixed issue with distributions not accurate when series are disabled. Also made distributions fade out when removed 2012-06-25 14:58:08 -04:00
Bob Monteverde
879c1db200 turning off showMaxMin on the ordinal horizontlal bar axis 2012-06-25 13:40:58 -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
b55910786d Axes now show Max and Min by default... need to rebind this on all the charts.. will do that soon 2012-06-23 20:30:35 -04:00
Bob Monteverde
cf0d7bb799 fixed distributions and scatter hover 2012-06-23 01:24:25 -04:00
Bob Monteverde
48a0e7c5b0 Intial distribution abstraction complete and implemented into the scatterChart 2012-06-22 19:52:07 -04:00
Bob Monteverde
2f10fbd887 some progress on the abstracted distribution 2012-06-22 18:56:30 -04:00
Bob Monteverde
2144462da8 Added pointer-events: none to the tooltip css so tooltips can appear where the mouse is without issue 2012-06-22 18:42:04 -04:00
Bob Monteverde
0d0af062d4 Working on abstracting the poitn distribution, not complete 2012-06-22 17:47:07 -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
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 2012-06-21 16:47:10 -04:00
Bob Monteverde
787b58cd83 Stole crossfilter's resize handlers and implement on the lineWithFocus 2012-06-21 16:37:04 -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
851bc9749a Removing highlight class from table rows... still need to update API to remove the options object 2012-06-21 13:21:44 -04:00
Bob Monteverde
d5a8970485 removing most style on the table 2012-06-21 13:04:42 -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
a019088aac Added legendDblclick event in legend.dispatch 2012-06-20 17:15:28 -04:00
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 2012-06-20 17:04:30 -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
4663355b99 Tweaked height calculation on legend 2012-06-20 02:31:28 -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
f24490f1e3 Added align options, defualting to true, to align up each row of legend. WARNING may make legen take up MORE ROWS. 2012-06-19 20:21:04 -04:00
Bob Monteverde
6bbe097e04 Stacked ares in stream mode now shows the same tooltips as stacked 2012-06-19 16:00:22 -04:00
Bob Monteverde
a940b0d65a Added optional delay to multibar chart to ne consistent with the horizontal multibar 2012-06-19 15:15:40 -04:00
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 2012-06-19 14:32:31 -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
f6bc583e9a Fixed error from dist Lines on mouseover then line disable... same problem that was with points on hover 2012-06-18 09:58:59 -04:00
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 2012-06-18 02:47:21 -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
9e54787e40 Fixed animation speed double after re-zero drag 2012-06-17 22:36:56 -04:00
Bob Monteverde
834caa51df Fixed cumualtive line legend click toggle of series 2012-06-17 22:31: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
e28f6f5ae7 Fixing tooltip positions accoutning for margin 2012-06-17 14:51:45 -04:00
Bob Monteverde
6b9b4431da Corrected the gravity of the Y axis tooltip 2012-06-17 14:48:21 -04:00
Bob Monteverde
56e61b814a fixing scatter position to account for offset 2012-06-17 14:38:42 -04:00
Bob Monteverde
f18c20ac27 Fixing dual scatter tooltip position 2012-06-17 14:31:10 -04:00
Bob Monteverde
5b6ff09e99 Switched scatter plot to dual tooltips 2012-06-17 14:18:10 -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
bfcdae6dde Fixed multiBar exit transition 2012-06-15 17:25:11 -04:00
Bob Monteverde
854347afab Added update function to multibar chart 2012-06-15 16:17:45 -04:00
Bob Monteverde
2b26f44a8c Added multiBarChart and example 2012-06-15 16:16:08 -04:00
Bob Monteverde
c374e078fc Added color to multiBarWithLegend 2012-06-15 14:07:37 -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
2cb05b38d0 Some minor tweaks to fix the enable/disable series ability on satckedArea 2012-06-14 15:55:37 -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
ea597f30e1 attempting to fix random bug woth stacked area paths on removal 2012-06-14 01:53:27 -04:00
Bob Monteverde
b4ca744451 Lots of little bug and consistency fixes that are appearing as I create more examples 2012-06-14 01:18:12 -04:00
Bob Monteverde
634518c73c upgraded to d3 2.9, also minor change to multibar accessor 2012-06-13 22:59:34 -04:00
Bob Monteverde
07b90e80f5 fixed transition duration 2012-06-13 03:15:24 -04:00
Bob Monteverde
e4086d0206 another minor css tweak 2012-06-13 03:12:16 -04:00
Bob Monteverde
a8f39948b4 css tweak 2012-06-13 01:05:21 -04:00
Bob Monteverde
f7e54efabf updates to css for performance and looks 2012-06-13 00:50:49 -04:00
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