Commit Graph

1005 Commits

Author SHA1 Message Date
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
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
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
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
Robin Hu
579a9b1cf1 Rebuilding nv.d3.js 2013-07-22 12:58:37 -04:00
Tyler Wolf
e545d547de update to tooltip positioning 2013-07-22 11:38:34 -04:00
Tyler Wolf
e918466d57 Merge branch 'development' of https://github.com/novus/nvd3 into development
Conflicts:
	nv.d3.min.js
2013-07-22 10:46:13 -04:00
Tyler Wolf
e4b46f3c81 added case 'none' to tooltip code 2013-07-22 10:45:20 -04:00
Robin Hu
3fc286a3aa Adding try/catch block around getComputedtextLength.
Adding white-space:nowrap to nvtooltip.
2013-07-16 16:20:03 -04:00
Al Tenhundfeld
88fed7306d Change bullet labels check to be more idiomatic JS. 2013-07-16 11:26:30 -04:00
Robin Hu
738a94f634 Increased tooltip transition speed. 2013-07-15 14:30:47 -04:00
Robin Hu
2725a44021 Adding with-3d-shadow style. This style class adds rounded corners and box shadow. 2013-07-15 14:13:14 -04:00
Robin Hu
c801cf2733 Putting back chart.container=this, in scatterChart.js.
A third party function we are using was referencing this property.
2013-07-15 13:44:24 -04:00
Al Tenhundfeld
3b7217b928 Add ability to provide custom labels to bullet chart. 2013-07-15 12:33:26 -04:00
Robin Hu
688518f7f1 Merge branch 'development' of https://github.com/novus/nvd3 into development 2013-07-15 08:55:43 -04:00
Robin Hu
9227616db2 Adding new test page for Scatter chart (and scatter plus line). 2013-07-13 20:58:47 -04:00
Robin Hu
5f5c298ec7 Fixing line chart with SVG resize tooltip issues. 2013-07-12 23:35:10 -04:00
Robin Hu
94efcbad66 Brought back old tooltip transitions and box shadow...
but only if you supply the 'with-transitions' CSS class.

Also changed the nv-point.hover dot to a smaller, darker stroke.
2013-07-12 23:24:12 -04:00
Robin Hu
1621b83e7a Cleaning up code in interactiveLayer -> mousemove, regarding
the IE 10 hack. It turns out that d3.event.offsetX/Y contains
the relative mouse coordinates needed. Using those instead.
2013-07-12 20:32:04 -04:00
Robin Hu
493160f13b Rebuilding nv.d3.js 2013-07-12 18:13:55 -04:00
Robin Hu
3266bc369d Fixing bug on cumulative line chart where point hover circles
were not disappearing after moving the index line.
This is due to commit 065c8eb84d.
2013-07-12 18:10:54 -04:00
Robin Hu
7f24fe8d1f Rebuilding nv.d3.js 2013-07-12 17:56:19 -04:00
Robin Hu
7bfc19b21f Adding IE9+ fix so that mousing over a tooltip does not trigger
the elementMouseout dispatch. Without this, tooltips on IE are very buggy.
2013-07-12 17:55:31 -04:00
Robin Hu
0443d7c779 Removing some code I added in tooltip.js that clamped the svg bound top. Wasn't actually working. 2013-07-12 17:23:39 -04:00
Robin Hu
4b21903740 Adding unique ID to each tooltip in nv.models.tooltip. 2013-07-12 17:17:47 -04:00
Robin Hu
d8ba26dc06 Cleaning up code for the MSIE svg.getScreenCTM issue.
REbuilding nv.d3.js
2013-07-11 17:42:28 -04:00
Robin Hu
410569110e Average lines on cumulative line chart had ability to go
off the <SVG> bounding rectangle. This caused issues on Firefox.
Changed code so that the average lines are 'clamped' within
the <SVG> bounding rect, and if they go off bounds, make them transparent.
2013-07-10 23:01:49 -04:00
Robin Hu
8608819e0d Cumulative line chart old tooltips working again.
Needed to modify pointer-events depending on whether
useInteractiveGuideline was set to true or false.
2013-07-10 22:31:36 -04:00
Robin Hu
729d57cda8 Rebuilding nv.d3.js 2013-07-10 12:24:19 -04:00
Robin Hu
678beb63ef Fixing issue where the 'IndexLine' in cumulative line chart was not draggable.
Needed to move interactive layer to the bottom of the SVG layer stack, and change pointer-events to none
for things above it.
2013-07-10 12:23:12 -04:00
Robin Hu
e6ea912eb6 Merge branch 'development' of https://github.com/novus/nvd3 into development
Conflicts:
	nv.d3.min.js
2013-07-10 09:20:26 -04:00
Areski Belaid
3cc8bec2c3 fix indent in example lineChart 2013-07-10 12:56:55 +02:00