Commit Graph

776 Commits

Author SHA1 Message Date
Tyler Wolf
bd0aab25ca lots of changes 2013-05-17 19:31:30 -04:00
Tyler Wolf
1ac80d87c8 Merge branch 'master' of https://github.com/novus/nvd3 into development
Conflicts:
	nv.d3.min.js
2013-05-17 16:49:32 -04:00
Tyler Wolf
a6c18a730a almost there 2013-05-17 16:48:52 -04:00
Robin Hu
3e48d32290 Altered the way 'jittering' is handled for scatter plots. This should fix any d3.geom.voronoi issues we encountered. 2013-05-15 13:14:01 -04:00
Tyler Wolf
fb5897eb52 progress 2013-05-13 19:09:23 -04:00
Tyler Wolf
a67a42333e updates, on hperf pages 2013-05-13 15:14:32 -04:00
twolfnovus
a65b5c4988 Merge branch 'master' of https://github.com/novus/nvd3 into development
Conflicts:
	nv.d3.min.js
2013-05-13 12:03:13 -04:00
Robin Hu
ba44aa3053 Fixing issue #136. Improved logic in tooltip.js for handling <svg> and <g> tags. 2013-05-10 09:31:02 -04:00
Robin Hu
bdeb27a47f Fixed issue #22. 2013-05-09 17:09:55 -04:00
twolfnovus
f108de0bd1 Merge branch 'master' of https://github.com/novus/nvd3 into development
Conflicts:
	nv.d3.min.js
2013-05-09 11:47:46 -04:00
Robin Hu
d690c17a2b Fixed issue #25. Updated logic in tooltip.js, so that tooltips are not inserted into SVG containers. 2013-05-08 13:12:51 -04:00
Robin Hu
4ba155d733 For ticket AN-617. Added ability to create an 'average' horizontal line for cumulative line charts. Updated the example HTML file too. 2013-05-08 10:40:05 -04:00
Robin Hu
95b0459d27 Fixed issue #76. Tooltips were not rendering for bullet charts. 2013-05-07 15:52:46 -04:00
Robin Hu
92df22993d Added calcApproxTextWidth util function. Fixed overlapping legend, as noted in issue #107. 2013-05-07 14:26:00 -04:00
Robin Hu
0c422148d9 Merge branch 'master' into development
Conflicts:
	nv.d3.min.js
2013-05-07 12:04:13 -04:00
Robin Hu
6fcee4e17d Removed some line breaks that were added. 2013-05-07 11:59:29 -04:00
Robin Hu
0894152def Fixed issue #131. Was able to remove errors:
d='MZ', cx="NaN", cy="NaN".  The error "Problem parsing d=''" remains.
2013-05-07 11:56:42 -04:00
twolfnovus
f00781535b Merge branch 'master' of https://github.com/novus/nvd3 into development
Conflicts:
	nv.d3.js
	nv.d3.min.js
	src/models/multiBar.js
2013-05-07 11:06:52 -04:00
Robin Hu
c5d7a63cfb For issue 77. Changed some code in multiBar.js to use selection.transition() instead of d3.transition(selection) syntax. 2013-05-07 09:48:08 -04:00
twolfnovus
a10c25b333 a few changes for v3 upgrade 2013-05-06 18:02:23 -04:00
twolfnovus
0d5f297d61 updated cumulativeLineChart.js 2013-05-02 13:34:36 -04:00
frank shao
ba59c9e019 #128 fixed 2013-05-02 11:52:47 -04:00
lihongxun
2a394feab3 add grunt, see more in README.md about how to use intstall and use grunt 2013-04-24 21:14:11 +08:00
Tyler Wolf
b682cf6ad3 Merge branch 'master' into development
Conflicts:
	nv.d3.min.js
2013-04-19 09:59:11 -04:00
Tyler Wolf
43e86f5405 fixed some small, but problematic issues with indented tree 2013-04-19 09:53:29 -04:00
Dingo
76b97fde13 all models updated to run examples using d3.v3 2013-04-16 15:54:46 -07:00
Dingo
dd94b599fe Merge branch 'development' into d3v3_Upgrade 2013-04-16 10:23:46 -07:00
Dingo
ad288b96f4 Merge branch 'master' of https://github.com/novus/nvd3 into d3v3_Upgrade 2013-04-16 10:23:20 -07:00
Dingo
18b6fd4cbf Merge branch 'master' of https://github.com/novus/nvd3 into development
Conflicts:
	nv.d3.min.js
2013-04-16 10:17:05 -07:00
Dingo
80dd13db90 Merge branch 'development' of https://github.com/novus/nvd3 into development 2013-04-16 10:14:16 -07:00
Dingo
833d4391f4 changes to linePlusBar and linePlusBarWithFocus 2013-04-16 10:14:03 -07:00
ciaranj
b2ef5f2254 Fixes Issue #109 - Prototype.js breaks StackedAreaChart
It appears the specification of the sizeDomain as a single element
array causes d3.js to use the wrong interpolatin function internally.
2013-04-15 12:06:39 +01:00
Tyler Wolf
93ed2ad226 added a few semicolons 2013-04-08 17:04:33 -04:00
Tyler Wolf
36d4e999f6 removed logging from multibar.js 2013-04-08 15:29:57 -04:00
Tyler Wolf
7d69723a2d added hideable attribute to multiBar.js so that the bars can be hidden the multibar is part of a larger chart 2013-04-08 12:39:33 -04:00
Dingo
f41a4db9b9 updating alphabetically, working on indentedTree.js 2013-04-06 11:46:51 -04:00
Dingo
0593a97d44 fixing issue with lineWithFocusChart.js 2013-04-06 11:19:12 -04:00
Tyler Wolf
db144a9290 updated many models for state management 2013-04-04 15:45:26 -04:00
Tyler Wolf
7335631472 merged mookie5dc-master pull request into master 2013-04-03 14:07:18 -04:00
Tyler Wolf
e092bac1c2 fixed update for parallelCoords.js, ran make for all merged pull requests 2013-04-03 14:03:25 -04:00
Tyler Wolf
fb8bfe4a6a Merge pull request #6 from kapep/master
Fixed rotateLabels option for multiBarCharts
2013-04-03 10:59:33 -07:00
Tyler Wolf
c1804b29c1 Merge pull request #23 from ggriffiniii/master
Adjust tickLabel's on update rather than enter.
2013-04-03 10:50:49 -07:00
Mike Wallace
8632be22be stackedAreaChart triggers stateChange on areaClick 2013-03-28 16:42:09 +00:00
Tyler Wolf
3ea026ab6d Merge pull request #74 from kawanet/issue-73
Issue #73 Error: Invalid value for <rect> attribute y="NaN", height="NaN"
2013-03-27 15:29:58 -07:00
Tyler Wolf
bfcbd0c764 Merge pull request #75 from wvanbergen/master
Tooltip formatting bugfix
2013-03-27 15:18:07 -07:00
Tyler Wolf
843d31229f Merge pull request #78 from michalkutil/multiBarChart-legendWidth
Multi bar chart legend width
2013-03-27 14:46:41 -07:00
Tyler Wolf
569b2a0b0d Merge pull request #93 from bertrandchenal/master
Add support for startAngle and endAngle on pie chart
2013-03-27 14:38:06 -07:00
Tyler Wolf
536e4fe531 merged pfeffer's pull request, also updated indented tree zerofilter 2013-03-27 17:35:42 -04:00
Tyler Wolf
2572a1ed21 Merge branch 'changes' of https://github.com/pfeffer/nvd3 into pfeffer-changes 2013-03-27 17:17:54 -04:00
Tyler Wolf
1327ca3f86 Added filter functionality to indentedtree model (can be used to filter values besides zero) 2013-03-26 19:45:56 -04:00
Dingo
7b95e42a64 Added parallelCoords.js model from the NYC d3.js meetup 2013-03-25 22:56:25 -04:00
Bob Monteverde
a52eddf761 Made state.disabled always set on charts that keep state 2013-03-20 17:46:10 -04:00
Bob Monteverde
859b97a9d3 Fixed padData on scatter, added padDataOuter to account for outerPadding on ordinal scales 2013-03-20 14:40:03 -04:00
Bob Monteverde
88c4157d0e Minor fix to scatter to allow all series to be disabled and padData set to true without error 2013-03-19 16:30:13 -04:00
Maria
80f02aff8c undo the size change 2013-03-16 22:11:37 -04:00
Maria
61fbf4ce27 add key description to display in tooltip 2013-03-14 17:43:44 -04:00
Bertrand Chenal
9207185532 Add support for startAngle and endAngle on pie chart 2013-03-14 17:24:20 +01:00
Maria
072af64a25 keep the size of pie chart when change the svg size 2013-03-14 12:19:00 -04:00
Tyler Wolf
81bccd2eb3 Merge branch 'master' of https://github.com/novus/nvd3 2013-03-11 18:23:34 -04:00
Tyler Wolf
050e827f6c fixed js error in scatter voronoi mouseover 2013-03-11 18:17:56 -04:00
Maria
fa765c970b add property for label radius 2013-03-05 12:15:32 -05:00
Bob Monteverde
8415ee55d3 Made tooltip look a little sexier 2013-03-01 09:35:19 -05:00
Bob Monteverde
e161c57e24 Made tooltip look a little sexier 2013-03-01 09:22:54 -05:00
Bob Monteverde
f4a7f27a96 Made tooltip look a little sexier 2013-03-01 09:17:25 -05:00
Bob Monteverde
d376d86d5b Fixed max and min calculations for multibar stacked 2013-02-28 18:38:33 -05:00
Bob Monteverde
11d504c6cd Added barColor fucntionality to multibar to imitate what I did for multibarHorizontal 2013-02-28 17:34:02 -05:00
Bob Monteverde
825378124e Fixed issue with custom group color and disabling series on the horiontal bar chart 2013-02-28 16:54:25 -05:00
Bob Monteverde
c2f5c49a8d Positive and negative stacked horizontal withunique colors per group 2013-02-26 18:55:03 -05:00
Bob Monteverde
d4566d25e7 Horizontal barcan nopw stack with both positive and negative, verticaly aligned values with center of bar 2013-02-26 17:10:12 -05:00
Ricardo
4fccaa8cb7 #69: adding a way to color individual bars (rather than the whole series as it is done right now). Leaving the previous behavior as the default. 2013-02-22 15:57:42 -05:00
Michal Kutil
96d03f575d Multi bar chart legend width computed with 'showControls' respect 2013-02-22 10:14:59 +01:00
Willem van Bergen
c81218f315 Use the formatter that belongs to yAxis of the series to format the y value of a tooltip, instead of basing it on the series chart type. 2013-02-19 10:39:50 -05:00
kawanet
2effb06d9e Issue #73 Error: Invalid value for <rect> attribute y="NaN", height="NaN" 2013-02-19 18:02:35 +09:00
Ricardo
5079b67649 #68: giving the controls additional space on the stacked area chart 2013-02-14 13:27:33 -05:00
Tyler Wolf
9d8403874e Merge branch 'master' of https://github.com/novus/nvd3 2013-02-06 10:27:23 -05:00
Tyler Wolf
f8fbe286aa #56 stacked bar chart now stacks both positive and negative values 2013-02-06 10:27:04 -05:00
Ricardo
f8625b9dc5 Merge pull request #4 from ClemensSchneider/pie_label_positioning
added option to position labels in pie chart in a sunbeam manner (by ClemensSchneider)
2013-02-05 14:28:38 -08:00
kaosko
ee2d3ee08f fix inconsistent reference to render attribute in render() 2013-01-29 22:54:28 -08:00
Lee Gillentine
a89a5ce29a Grammar police: fixing typos 2013-01-26 21:07:12 -05:00
Lee Gillentine
2ac200ead0 Merging in upstream changes 2013-01-26 20:38:10 -05:00
Tyler Wolf
5f0700eac9 #33, plus added flatTestData() for testing with flat data to cumulativeLineChart example 2013-01-22 14:14:19 -05:00
Ricardo
db9778e7d5 Added a 'beforeUpdate' dispatch event to the discreteBarChart 2013-01-18 14:18:01 -05:00
Tyler Wolf
b0c57c33f4 #26 2013-01-09 10:51:53 -05:00
Glenn Griffin
c6c89b7e07 Adjust axis labels on update rather than enter.
This allows an axis to change orientation and have the tick label respond accordingly.
2012-12-28 14:22:12 -08:00
Bob Monteverde
4e12985eb5 Made state accessible from chart.state() 2012-12-28 14:32:53 -05:00
Bob Monteverde
6213a74e3b Adding state management to most charts 2012-12-28 00:05:37 -05:00
Bob Monteverde
8d7553d734 remove stateChange call from changeState handler 2012-12-26 17:14:36 -05:00
Bob Monteverde
64a066ccdf Added changeSatte functionality to update chart from a state object 2012-12-26 16:30:24 -05:00
Bob Monteverde
94629ff02e Added initial state management to cumulativeLine.. currently dispatches state whenevr it changes, but state can not be adjusted outside of the chart... that's coming next 2012-12-26 15:56:07 -05:00
Bob Monteverde
97e3c25345 Added ability to right align the sparklinePlus current value 2012-12-26 13:49:59 -05:00
Lee Gillentine
2a76897f8f Fixing typo in styling 2012-12-21 20:29:55 -05:00
Bob Monteverde
2922f6ea5b Mergin with repo changes 2012-12-14 17:26:27 -05:00
Bob Monteverde
24c0b0f7d5 sparklinePlus: aligning the value with the final value is now optional via alignValue flag 2012-12-14 17:25:24 -05:00
Ricardo
cdb68dafca allowing the bullet chart to hide the previous data point if the value is null 2012-12-13 16:28:43 -05:00
Bob Monteverde
38ba70f4dc Added padData option to allow bars and lines to align correctly without cutting off half of the first and last bar 2012-12-11 18:54:32 -05:00
Ricardo
1e4ddf43d7 Merge pull request #11 from passy/patch-1
Prevent leak of 'graph' into global scope.

Thanks passy!
Ricardo
2012-12-09 14:40:50 -08:00
twolf
d0d5346535 expanded borders for voronoi field on charts 2012-12-09 15:01:06 -05:00
Pascal Hartig
112fa28311 Prevent leak of 'graph' into global scope 2012-12-09 13:11:47 +01:00
Dingo
5f79dba1ea UI-38 fixed all scatter-based charts for use on IE9 2012-12-08 19:02:47 -05:00
Bob Monteverde
2338ebc8ce Minor css tweak to the bullet 2012-12-05 17:52:10 -05:00
Bob Monteverde
9a67e18e08 Merge branch 'master' of github.com:novus/nvd3 2012-12-05 17:47:27 -05:00
Bob Monteverde
826b938c0d Minor css tweak to the bullet 2012-12-05 17:47:19 -05:00
twolf
5bb5e161ab UI-38 fixed voronoi issue in IE9 2012-12-05 12:24:20 -05:00
unknown
09ed5ec092 fixed issue with scatter resize 2012-12-04 11:25:21 -05:00
Ricardo
1167814745 Avoiding rewriting the console.log in IE. The new nv.log implementation works under IE. 2012-12-03 18:11:49 -05:00
Bob Monteverde
66b38c9c23 Merging changes from server 2012-12-03 17:15:33 -05:00
Bob Monteverde
281a5a2b60 Re-wrote the bullet model to work with positive and negative numbers... including bullets that range both pos and neg 2012-12-03 17:14:41 -05:00
twolf
f83e6eb16b fixed tooltip problem on stacked Area in IE 2012-11-30 19:16:37 -05:00
Bob Monteverde
99329c6fc9 Lots of enahncements to scatter and stacked are, useVoronoi(false) now functions correctly. IE9 fixes. 2012-11-29 16:54:07 -05:00
Bob Monteverde
353f4354fd merging previous commits 2012-11-29 10:03:51 -05:00
Bob Monteverde
6db030bdb4 Some minor tweaks for the scatter voronoi 2012-11-29 09:58:54 -05:00
Bob Monteverde
0c06df9dae Fix for negative bullet chart marker 2012-11-29 00:59:02 -05:00
Bob Monteverde
769852e072 Enabling negative bullet chart values 2012-11-29 00:31:12 -05:00
Bob Monteverde
51d9d091c0 Implemented forceX to bulletChart 2012-11-29 00:03:11 -05:00
Bob Monteverde
eabda14d91 Fixed historical bar position, bars are now centered over ticks 2012-11-28 10:17:33 -05:00
Bob Monteverde
dbc0da6a66 Minor tweak to right axis label to fix its position 2012-11-27 12:31:49 -05:00
Andreas Lyngstad
dc8c8527fb Adding legend to pieChart sub-compnents 2012-11-27 09:25:30 +01:00
Leonard Kappe
46810781e9 Fixed rotateLabels option for multiBarCharts
Replaced 'text-transform' with correct attribute 'text-anchor' to set
rotation center of labels.
2012-11-24 18:55:39 +01:00
Clemens
79f17c202f added option to position labels in pie chart in a sunbeam manner
(especially useful for many different values in chart)
2012-11-24 11:54:20 +01:00
Bob Monteverde
c65c16b9c8 Issue #329 Line plus bar chart x axis no longer disappears when line is disabled 2012-11-21 12:21:50 -05:00
Tyler Wolf
f6a4166117 removed logging 2012-11-15 16:33:36 -05:00
Tyler Wolf
f374c9a527 fixed NVD-325 and UI-34 2012-11-15 16:29:26 -05:00
Tyler Wolf
3128bedde9 fixed issue #324 2012-11-15 13:47:10 -05:00
Ricardo
eedb708570 Undoing 'subdivide ticks' that was causing problem and was making the user interface less friendly after resize 2012-11-14 19:51:58 -05:00
Ricardo
346c4bdbcb Fixing problem on cumulative line when doing a fresh load (grid doesn't render) 2012-11-14 18:12:42 -05:00
Ricardo
34a8106b86 merge 2012-11-14 17:55:12 -05:00
Bob Monteverde
8b5c49281e Issue #323 now acount for series that are temporarily disabld due to calcualtions being impossible to make 2012-11-14 17:26:17 -05:00
Bob Monteverde
d74a3102cf Issue #322: Disable cumulative series when they go bellow 95% to prevent scale distortion and calculation errors when a series loses 100% or more 2012-11-14 17:17:59 -05:00
Ricardo
be07849c01 X axis space rework 2012-11-14 15:58:36 -05:00
Bob Monteverde
c09abc9cfb Merging from repo 2012-11-14 14:55:03 -05:00
Bob Monteverde
8a846ef030 Temporarily remopving all animations from stacked are chart 2012-11-14 14:54:01 -05:00
Tyler Wolf
ff6309d37b discreteBarChart labels shifted down 2012-11-14 14:45:10 -05:00
Tyler Wolf
5a08ef2638 fixed Issue #321 2012-11-14 14:17:11 -05:00
Bob Monteverde
5bbba2fcf0 Issue #314 line plus bar with a single data point now shows the x tick in the center 2012-11-14 13:09:42 -05:00
Bob Monteverde
976d731a64 Issue #315 fixed issue with background click handler not resizing 2012-11-14 12:09:23 -05:00
Tyler Wolf
42d1f6fa63 placed date tooltips on scatterPlusLineChart 2012-11-14 12:07:02 -05:00
Tyler Wolf
7f0b829b01 further fixed x-axis crowding issue 2012-11-13 19:14:08 -05:00
Tyler Wolf
b1a98db4ec fixed cumulativeLineChart x-axis overcrowding 2012-11-13 18:28:33 -05:00
Bob Monteverde
aa9d36e1f7 Issue #319: reduced the bar width of the discrete bar by 10% 2012-11-13 16:20:52 -05:00
Bob Monteverde
c0b27c4c71 Issue #315: dragging index line now works correctly afetr resizing chart 2012-11-13 13:54:54 -05:00
Tyler Wolf
49505ba976 UI-31 2012-11-12 18:23:01 -05:00
Dingo
36a242846a tooltip fixes applied 2012-11-11 16:18:58 -05:00
Tyler Wolf
a056949ca4 updated tooltip placement variable names 2012-11-09 13:03:12 -05:00
Tyler Wolf
7aff7d5077 fixed tooltip repositioning UI-24 2012-11-08 18:39:01 -05:00
Bob Monteverde
dacbf5303f Issue #297: get showMaxMin to work on ordinal x axis scale 2012-11-08 15:44:26 -05:00
Bob Monteverde
739e385fce Issue #310 on drage keep ew-resize cursor 2012-11-07 18:12:06 -05:00
Bob Monteverde
4ad3c2e6f3 Fixed issue #309 2012-11-07 17:06:43 -05:00
Bob Monteverde
7b6f3ca87f Issue #307: hover value and line are not created UNTIL actual hover, instead of created and hidden 2012-11-07 13:49:04 -05:00
Tyler Wolf
53687e1454 reverted the lineChart right margin change. My mistake 2012-11-07 11:27:55 -05:00
Tyler Wolf
68e8121721 fixed FF getBBox() issue (UI-19), extended line chart right margin +3px 2012-11-06 18:49:45 -05:00