Commit Graph

1033 Commits

Author SHA1 Message Date
Robin Hu
39bd96ada4 Rebuilding nv.d3.js 2013-08-08 09:54:45 -04:00
Robin Hu
3dbdde795f For PR #209, adding test pieChart to pieChartTest.html.
Making 'key' the default label type if none specified.
2013-08-07 22:58:35 -04:00
Robin Hu
ce3de0d95c Merge branch 'rb/pie_labels' of https://github.com/rustybailey/nvd3 into development 2013-08-07 22:50:59 -04:00
Robin Hu
9b941caeda Merge branch 'master' into development
Conflicts:
	nv.d3.js
	nv.d3.min.js
	src/core.js
2013-08-07 22:50:43 -04:00
Rusty Bailey
e47e048410 Add a labelType method for pieCharts to give to option to use 'key', 'value', or 'percent' 2013-08-07 22:25:05 -04:00
Robin Hu
646c54bf62 Fixing issue in legend.js I found while investigating
issue #171.  Turns out it's possible for a divide by zero
error to happen.
2013-08-07 22:02:03 -04:00
Robin Hu
4bb3531197 Issue #131: fixing d="" error with lineWithFocusChart.
Need to add some defensive checks to make sure brush extent
is always greater than one.
2013-08-07 21:35:55 -04:00
Robin Hu
61ea02e264 Rebuilding nv.d3.js. Bumping version to 1.1.1b, due to stackedArea changes. 2013-08-07 12:57:28 -04:00
Robin Hu
19afd68f53 Adding transitionDuration option to stackedArea.
Adding transition to StackedAreaChart example.
2013-08-07 12:56:02 -04:00
Robin Hu
16f64b9821 Updating stackedArea.js to use d3 version 3 transition chaining syntax. 2013-08-07 12:44:59 -04:00
Robin Hu
d92428332c Merge branch 'stackedarea' of https://github.com/MikeRoetgers/nvd3 into development
Conflicts:
	src/models/stackedArea.js
2013-08-07 12:44:19 -04:00
Robin Hu
d31e83fd28 Increasing margins for linechart in example file. Issue #160 2013-08-07 10:20:25 -04:00
Robin Hu
29bf6d9831 Merge branch 'development' of https://github.com/novus/nvd3 into development 2013-08-06 09:15:23 -04:00
Robin Hu
229cbd5121 Fixing tooltip flickering on IE.
Bumping development version # to 1.1.0b, as new significant features have been added.
Rebuilding nv.d3.js
2013-08-06 09:14:47 -04:00
Robin Hu
c2f5cd6e56 Bumping development version # to 1.1.0b, as new significant features have been added. 2013-08-06 08:56:09 -04:00
Robin Hu
d978f38436 Rebuilding nv.d3.js 2013-08-06 08:52:56 -04:00
Robin Hu
6dd18cdcee On IE, tooltips for cumulativeLineChart were flickering
when mouse moved over an avgLine. Making pointer-events:none
the default for avgLine and x/y-axis.
Removing foregroundPointerEvents variable; not needed anymore.
2013-08-06 08:52:20 -04:00
Mike Rötgers
6d99aee7b9 refs #153 : add transitions
* transitions active again when path enters or exits chart
2013-08-06 11:39:25 +02:00
Robin Hu
df6585c8ce Updating README.md to unoffically add Opera 15 to list of supported browsers.
I just tested our charts on Opera 15 and they work very nicely.
2013-08-05 23:17:24 -04:00
Robin Hu
07c850649b Adding nav links to pieChartTest.html. 2013-08-05 23:10:58 -04:00
Robin Hu
c686b7a147 Pie chart's .nv-label needs a pointer-events:none rule.
This makes tooltips stable and not disappear when you mouse over a label.
Issue #48
2013-08-05 22:05:25 -04:00
Robin Hu
dc195e6e6e Fixing syntax error in historicalBar.js.
Rebuilding nv.d3.js
2013-08-05 13:21:34 -04:00
Robin Hu
3883010ca4 Fixing issue #206. The transitions in multiBar.js were not using the
proper d3 version3 transition chaining method.
2013-08-05 13:17:34 -04:00
Robin Hu
5bce7a4d07 Updated stackedAreaChartTest to show example with less than four points.
CHecking if issue #89 manifests itself.
2013-08-05 11:55:08 -04:00
Robin Hu
8a5ecbe037 Updating nvd3 programmatic version number to 1.0.0b
Rebuilding nv.d3.js. Updating README.md to remove note about 1.0.0b being in dev branch.
2013-08-05 11:41:05 -04:00
Robin Hu
dd718105c8 In historicalBar, changin d3.transition() to bars.transition(). 2013-08-05 09:39:05 -04:00
Robin Hu
b53101de01 Rebuilding nv.d3.js 2013-08-05 09:07:19 -04:00
Robin Hu
01db0e9751 Merge branch 'development' of https://github.com/novus/nvd3 into development 2013-08-05 09:05:31 -04:00
Robin Hu
535993aa7c Adding real time bar chart test example. Updating historicalBar.js
to add a data key function for each bar <rect>.
Added transition to historicalBarChart.update, just like lineChart.
2013-08-04 21:39:02 -04:00
Robin Hu
2cf5b63c91 The whole concept of specifying a pie.values() function is
not consistent with other charts.  For all pie charts,
the developer needs to make sure to just pass in an array of key-value
pairs.  Nothing more.  The example of nvd3.org is not the proper way of
passing data into pie charts.

Removing pie.values() functionality and putting console error message.
Updated examples. For issue #98, #162, #106
2013-08-03 23:38:31 -04:00
Robin Hu
e891716b11 Adding various pieChart tests. 2013-08-03 23:24:32 -04:00
Robin Hu
5af04cb857 Fixing NVD3 issue #98, 'Object #<Object> has no method 'map' on pieChart'.
Updating pieChart examples, so that [testData] becomes testData (no extra
array brackets needed).

Also adding pieChart test page.
2013-08-03 23:12:53 -04:00
Robin Hu
a552f5aa28 Added ability to double-click pie chart series
and have it be the only one selected.
2013-08-03 23:05:06 -04:00
Robin Hu
8d316048ff Removing the nvd3 development branch note from the header as it was too big. 2013-08-03 21:42:13 -04:00
Robin Hu
525f9365ce Updated README to reflect fact that version 1.0.0-beta is in fact in the development branch. 2013-08-03 21:41:08 -04:00
Robin Hu
de8380e144 Merge pull request #202 from kot-behemoth/patch-1
Readme formatting fixes
2013-08-03 18:38:39 -07:00
Robin Hu
9d6f842f71 Merge branch 'fix-indent' of https://github.com/areski/nvd3 into development 2013-08-03 21:20:24 -04:00
Robin Hu
60e2f85b84 As part of merging pull request #186, removing bulletChartWithLabels.html
and merging the example into bulletChart.html.
2013-08-03 21:16:12 -04:00
Robin Hu
9c0eb46f4a Merge branch 'development' of https://github.com/Alric/nvd3 into development-bulletchart 2013-08-03 21:04:23 -04:00
Robin Hu
44ec8ab87a Fixing issue in interactiveGuideline, where mouseOut dispatch
should be fired when the user mouses out of the <svg> container,
and into a non-svg element.
2013-08-02 15:25:37 -04:00
Gregory Goltsov
1747495cd9 Readme formatting fixes 2013-07-31 10:43:59 +01:00
Robin Hu
799b06254c To make the interactive layer work on Chrome, need
to put a transparent <rect> behind every chart.
2013-07-25 17:17:14 -04:00
Robin Hu
cbd8614d97 Rebuilding nv.d3.js 2013-07-25 16:04:09 -04:00
Robin Hu
7f71b66b0c Overhauling the logic for creating an interactive layer.
Basically, the <svg> container will now process all mousemove
events. This allows stackedAreaChart and CumulativeLineChart to
maintain some other forms of interaction.
2013-07-25 16:03:05 -04:00
Robin Hu
4abc8906a3 Merge branch 'development' of https://github.com/novus/nvd3 into development 2013-07-25 14:24:41 -04:00
Robin Hu
e182e081bf Major change to interactiveLayer.js. Instead of creating
a svg <rect> element to process mousemove events, we are
attaching the mousemove event to the bounding <svg> container.
This allows stackedAreaChart to maintain some previous interactivity.
2013-07-25 14:23:51 -04:00
frank shao
058503a0be Merge branch 'development' of https://github.com/novus/nvd3 into development 2013-07-24 12:06:05 -04:00
frank shao
147168ca9b Lighten bullet shading 2013-07-24 12:05:46 -04:00
Tyler Wolf
6b86e1d218 Merge branch 'development' of https://github.com/novus/nvd3 into development 2013-07-23 17:27:41 -04:00
Tyler Wolf
c017c9443c udpated indented tree to have links instead of handling click events 2013-07-23 17:27:33 -04:00