Robin Hu
c801cf2733
Putting back chart.container=this, in scatterChart.js.
...
A third party function we are using was referencing this property.
11 years ago
Al Tenhundfeld
3b7217b928
Add ability to provide custom labels to bullet chart.
11 years ago
Robin Hu
5f5c298ec7
Fixing line chart with SVG resize tooltip issues.
11 years ago
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.
11 years ago
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.
11 years ago
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
.
11 years ago
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.
11 years ago
Robin Hu
0443d7c779
Removing some code I added in tooltip.js that clamped the svg bound top. Wasn't actually working.
11 years ago
Robin Hu
4b21903740
Adding unique ID to each tooltip in nv.models.tooltip.
11 years ago
Robin Hu
d8ba26dc06
Cleaning up code for the MSIE svg.getScreenCTM issue.
...
REbuilding nv.d3.js
11 years ago
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.
11 years ago
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.
11 years ago
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.
11 years ago
Robin Hu
e6ea912eb6
Merge branch 'development' of https://github.com/novus/nvd3 into development
...
Conflicts:
nv.d3.min.js
11 years ago
frank shao
69c42a52a4
Fixed update issue with scatterplusline
11 years ago
Robin Hu
874e068d9f
The code to create the interactive guideline is now placed after
...
the code that creates the legend.
This fixes an issue where the guideline would extend past
the X-axis, when the legend was more than two lines.
11 years ago
Robin Hu
5e5ba5c34b
Merge branch 'development' into nvd3-UI-134
...
Conflicts:
nv.d3.min.js
11 years ago
Robin Hu
1a6b5dab13
Adding more inline comments to tooltip.js.
...
Removed an unused feature for bolding a row in the tooltip.
11 years ago
Robin Hu
3a75b583ca
Created more robust tooltip solution. Tooltips render inside the SVG's parent DIV.
...
They can be positioned, even if there are relative positioned elements above it.
11 years ago
Robin Hu
8dea03da44
Converted tooltip.js getTooltipContainer function to use d3.select.
...
Rebuilt nv.d3.js
11 years ago
Robin Hu
6e84a6845c
Tooltips are no longer rendered on document.body.
...
Instead, they are rendered inside the chart container.
Added some CSS styles to nvtooltip
11 years ago
Robin Hu
e1e9144e5f
Updating lineChartSVGResize example to use interactive guideline.
...
Rebuilding nv.d3.js.
11 years ago
Robin Hu
6c2f19a044
Updating CSS styling around table.td
11 years ago
Robin Hu
c13be39c12
Added inline comments.
...
Changed style td.legend to td.legend-color-guide, becuase it conflicts with another .legend style being used elsewhere.
11 years ago
Robin Hu
1ff26f5fab
Optimizing interactive layer code, so d3.mouse(this) is called only once per mousemove.
11 years ago
Robin Hu
75ff9267c8
Finally resolving the nagging issue in IE where tooltips
...
were not showing up in the right place, due to issue with d3.mouse.
The solution is to take the svg.getBoundingClientRect(), and
taking 25% of it's top and left values.
11 years ago
Robin Hu
792a36262d
Removed transitions from nv-point on hover.
11 years ago
Robin Hu
ca769e706d
Using svg.getBoundingClientRect() instead of elem.offsetLeft
...
when calculating tooltip position. Also replaced window.scollY with
pageYOffset. This is for Firefox and MSIE compatibility.
11 years ago
Robin Hu
14117b32de
Fixing a NASTY Microsoft IE bug I found during cross browser testing.
...
Mousing over SVG.rect returns wrong X,Y coordinates, but only in IE.
11 years ago
Robin Hu
8b870e6b0a
Created function to get the first non-svg parent element in tooltip.js.
...
Needed because in Firefox and IE, SVG.offsetParent does not exist.
11 years ago
Robin Hu
4b8ad322cf
Updating algorithm for calculating the tooltip offset positioning.
11 years ago
Robin Hu
65edf27199
Fixed bug in nv.interactiveBisect, for situations where the xAccessor is
...
function(d,i) { return i}
11 years ago
Robin Hu
fa89918faf
Removed trailing commas in interactiveLayer code. Caused javascript error/warning.
11 years ago
Robin Hu
3c6d1b65ee
Added historicalBar.interactive. If set to false, tooltips/hoverovers don't work.
11 years ago
Robin Hu
81bf049daa
The .nvd3 .nv-bars rect:hover style was incorrect. it needs to be "rect.hover",
...
because we are applying the hover class when we mouse over a bar.
11 years ago
Robin Hu
8479f5fce1
Exposed 'highlightPoint' and 'clearHighlights' in historicalBar.
11 years ago
Robin Hu
817340cff5
Instead of using a dispatch for handling 'highlightPoint' and 'clearHighlights', I am making
...
those functions a direct method of nv.models.scatter. So you just say scatter.highlightPoint,
instead of scatter.dispatch.highlightPoint.
11 years ago
Robin Hu
b07d1f2a87
Added back the 'tooltips' boolean flag to lineChart.dispatch.tooltipShow.
...
REbuilt nv.d3.js and minified version.
11 years ago
Robin Hu
1eb01d703d
Turning off Voronoi point path creation, if using the new interactive
...
guideline and tooltip.
Turns out, Voronoi is not needed in this new interactive mode!
11 years ago
Robin Hu
93a26c53c9
Fixing issue in scatterPlusLineChart where tooltips don't activate on
...
chart initial load.
11 years ago
Robin Hu
28d708d09d
Adding unit test on lineChartTest.html for when points are NaN, undefined,
...
etc.
Found a few edge cases where errors happen. Creating nv.utils.NaNtoZero()
function, to be used in places where points and lines are rendered.
Using NantoZero in scatter.js and interactiveGuideline.
11 years ago
Robin Hu
cdb9ea83ab
Integrated interactive guideline into stacked area charts. Updated the
...
stacked area example.
11 years ago
Robin Hu
d974556d05
Cleaned up interactive guideline dispatch code.
...
Integrated interactive guideline into cumulativeLineChart and updated
example.
11 years ago
Robin Hu
575ed7950e
Fixed tooltip display edge case, where if the tooltip is very large, it
...
will render off window if too close to the bottom.
11 years ago
Robin Hu
02da71c944
Added six more important line chart test cases. Changed tests to include
...
area charts.
11 years ago
Robin Hu
defaf765e8
Created nv.interactiveBisect utility function, and integrated it into the
...
interactiveGuideline logic. This function is used to find the x point
position given a mouseX location. It's a more robust solution. Made sure
chart tests passed.
11 years ago
Robin Hu
27d80457b9
Developed stronger backward compatibility with the old tooltip format. Old
...
tooltips work by default, but if you enable 'useInteractiveGuideline', the
new stuff will show.
11 years ago
Tyler Wolf
f84a1bfaa9
fixed bug on previous push
11 years ago
Tyler Wolf
45e5efa82c
fixed discrete bar chart y bleeding on ydomain min >0
11 years ago
Robin Hu
0b3ef24e0b
Added test page for lineChart. Continued work on making the interactive line layer.
11 years ago
Robin Hu
dbe826943f
Added interactiveLayer.js and integrated this utility into lineChart.js.
11 years ago
Robin Hu
c079f3e122
Added 'ClearHighlights' dispatch to scatter.
...
Created preliminary implementation of mousemove event on lineChart.
11 years ago
Robin Hu
4038a56c7a
Added color legend square to the tooltip for each series.
11 years ago
Robin Hu
4cbd253c67
Added the 'highlightPoint' dispatch on nv.models.scatter. This dispatch lets the programmer highlight any point on any series.
...
Currently used in lineChart to highlight points.
11 years ago
Robin Hu
dc66846d46
Updated scatter.js so that when you mouseover a path-point, it will return all series information in the mouse event dispatch.
...
Updated nv.models.tooltip with more features.
Updated styling of the tooltip.
11 years ago
Robin Hu
79fb28f088
Updated nv.models.tooltip to have a custom HTML content generator. The default is to put tooltip inside a <table> tag.
11 years ago
Robin Hu
c02705fc18
Created nv.models.tooltip in tooltip.js.
...
This new model encapsulates most of the tooltip functionality.
11 years ago
Robin Hu
9122285ae5
Merge branch 'development' of https://github.com/novus/nvd3 into development
...
Conflicts:
nv.d3.min.js
11 years ago
Tyler Wolf
c1db474991
Merge branch 'development' of https://github.com/novus/nvd3 into development
...
Conflicts:
nv.d3.min.js
11 years ago
Tyler Wolf
705f7efb29
Merge branch 'master' into development
...
Conflicts:
nv.d3.js
11 years ago
Tyler Wolf
9d13fb73a4
updated multiChart to allow changing yDomain on yscales
11 years ago
Robin Hu
d10350455e
Added 'rightAlign' property to legend.js (defaults to true). If set to 'false', legends become left aligned.
11 years ago
Robin Hu
24b949d931
Fixed two stacked area chart issues:
...
1. When in expanded view in stacked area chart, if there is missing data (zero data), 'holes' will be displayed in the chart where data is missing.
2. Tooltips used to be disabled if the stacked area showed values less than zero. This functionality has been disabled.
11 years ago
Robin Hu
c57626ad9b
Merge branch 'master' of https://github.com/novus/nvd3
...
Conflicts:
examples/historicalBarChart.html
nv.d3.js
nv.d3.min.js
src/models/historicalBarChart.js
src/nv.d3.css
11 years ago
Simon Kelly
3b8c364ff4
expose x-axis group spacing in multibar
11 years ago
Tyler Wolf
abeac917da
fixed a merge conflict. No change to master code, so this commit is not tagged
11 years ago
Tyler Wolf
086e0e5d9e
Merge branch 'grunt' of https://github.com/lihongxun945/nvd3 into lihongxun945-grunt
...
Conflicts:
nv.d3.min.js
11 years ago
Robin Hu
6b63db67d0
Updated several charts so that the showXAxis, showYAxis and rightAlignYAxis options are available for use.
11 years ago
Robin Hu
0151cdccab
Made it so that double clicking a legend item will cause all other series' to be disabled.
11 years ago
Robin Hu
739b93fecf
Adding ability to right align the Y-axis for historical bar and line charts.
11 years ago
Robin Hu
319520513f
Updated historical bar chart so that the xAxis.ticks property must be set by the user of the chart. Also changed is so that the y-axis has 0 transition.
11 years ago
Robin Hu
62edb49ab8
Added showXAxis and showYAxis feature to lineChart and historicalBarChart.
11 years ago
Robin Hu
7bf1091f41
Adding historical bar chart.
11 years ago
Robin Hu
1703cc428a
Adding historical bar chart code.
11 years ago
Robin Hu
65b97714fa
Merge branch 'master' of https://github.com/novus/nvd3
...
Conflicts:
nv.d3.min.js
11 years ago
Robin Hu
a9b6f3ab09
FIxing bug in line.js.
11 years ago
Bob Monteverde
065c8eb84d
removed transition and delay on tooltips, you can uncomment to revert this. Minor fix to scatter, points will keep custom classes after transiiton
11 years ago
Dingo
b0bc28cbe0
fixed cumulativeLineChart drag lag
11 years ago
Tyler Wolf
af8b13dd48
Merge branch 'master' of https://github.com/novus/nvd3 into development
...
Conflicts:
nv.d3.min.js
11 years ago
frank shao
90e4078941
Adjusted jitter in scatter.js
11 years ago
Tyler Wolf
a437d1ef0e
Merge branch 'master' of https://github.com/novus/nvd3 into development
...
Conflicts:
nv.d3.min.js
11 years ago
Robin Hu
8731046948
Issue #140 . Added ability to stagger the x-axis labels on Multibar charts.
12 years ago
Tyler Wolf
bd0aab25ca
lots of changes
12 years ago
Tyler Wolf
1ac80d87c8
Merge branch 'master' of https://github.com/novus/nvd3 into development
...
Conflicts:
nv.d3.min.js
12 years ago
Tyler Wolf
a6c18a730a
almost there
12 years ago
Robin Hu
3e48d32290
Altered the way 'jittering' is handled for scatter plots. This should fix any d3.geom.voronoi issues we encountered.
12 years ago
Tyler Wolf
fb5897eb52
progress
12 years ago
Tyler Wolf
a67a42333e
updates, on hperf pages
12 years ago
twolfnovus
a65b5c4988
Merge branch 'master' of https://github.com/novus/nvd3 into development
...
Conflicts:
nv.d3.min.js
12 years ago
Robin Hu
ba44aa3053
Fixing issue #136 . Improved logic in tooltip.js for handling <svg> and <g> tags.
12 years ago
Robin Hu
bdeb27a47f
Fixed issue #22 .
12 years ago
twolfnovus
f108de0bd1
Merge branch 'master' of https://github.com/novus/nvd3 into development
...
Conflicts:
nv.d3.min.js
12 years ago
Robin Hu
d690c17a2b
Fixed issue #25 . Updated logic in tooltip.js, so that tooltips are not inserted into SVG containers.
12 years ago
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.
12 years ago
Robin Hu
95b0459d27
Fixed issue #76 . Tooltips were not rendering for bullet charts.
12 years ago
Robin Hu
92df22993d
Added calcApproxTextWidth util function. Fixed overlapping legend, as noted in issue #107 .
12 years ago
Robin Hu
0c422148d9
Merge branch 'master' into development
...
Conflicts:
nv.d3.min.js
12 years ago
Robin Hu
6fcee4e17d
Removed some line breaks that were added.
12 years ago
Robin Hu
0894152def
Fixed issue #131 . Was able to remove errors:
...
d='MZ', cx="NaN", cy="NaN". The error "Problem parsing d=''" remains.
12 years ago
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
12 years ago
Robin Hu
c5d7a63cfb
For issue 77. Changed some code in multiBar.js to use selection.transition() instead of d3.transition(selection) syntax.
12 years ago
twolfnovus
a10c25b333
a few changes for v3 upgrade
12 years ago
twolfnovus
0d5f297d61
updated cumulativeLineChart.js
12 years ago
frank shao
ba59c9e019
#128 fixed
12 years ago
Anders Johnson
08b23cf37d
Add opt-in scatter point color override.
12 years ago
lihongxun
2a394feab3
add grunt, see more in README.md about how to use intstall and use grunt
12 years ago
Tyler Wolf
b682cf6ad3
Merge branch 'master' into development
...
Conflicts:
nv.d3.min.js
12 years ago
Tyler Wolf
43e86f5405
fixed some small, but problematic issues with indented tree
12 years ago
Dingo
76b97fde13
all models updated to run examples using d3.v3
12 years ago
Dingo
dd94b599fe
Merge branch 'development' into d3v3_Upgrade
12 years ago
Dingo
ad288b96f4
Merge branch 'master' of https://github.com/novus/nvd3 into d3v3_Upgrade
12 years ago
Dingo
18b6fd4cbf
Merge branch 'master' of https://github.com/novus/nvd3 into development
...
Conflicts:
nv.d3.min.js
12 years ago
Dingo
80dd13db90
Merge branch 'development' of https://github.com/novus/nvd3 into development
12 years ago
Dingo
833d4391f4
changes to linePlusBar and linePlusBarWithFocus
12 years ago
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.
12 years ago
Tyler Wolf
93ed2ad226
added a few semicolons
12 years ago
Tyler Wolf
36d4e999f6
removed logging from multibar.js
12 years ago
Tyler Wolf
7d69723a2d
added hideable attribute to multiBar.js so that the bars can be hidden the multibar is part of a larger chart
12 years ago
Dingo
f41a4db9b9
updating alphabetically, working on indentedTree.js
12 years ago
Dingo
0593a97d44
fixing issue with lineWithFocusChart.js
12 years ago
Tyler Wolf
db144a9290
updated many models for state management
12 years ago
Tyler Wolf
7335631472
merged mookie5dc-master pull request into master
12 years ago
Tyler Wolf
e092bac1c2
fixed update for parallelCoords.js, ran make for all merged pull requests
12 years ago
Tyler Wolf
fb8bfe4a6a
Merge pull request #6 from kapep/master
...
Fixed rotateLabels option for multiBarCharts
12 years ago
Tyler Wolf
c1804b29c1
Merge pull request #23 from ggriffiniii/master
...
Adjust tickLabel's on update rather than enter.
12 years ago
Mike Wallace
8632be22be
stackedAreaChart triggers stateChange on areaClick
12 years ago
Tyler Wolf
3ea026ab6d
Merge pull request #74 from kawanet/issue-73
...
Issue #73 Error: Invalid value for <rect> attribute y="NaN", height="NaN"
12 years ago
Tyler Wolf
bfcbd0c764
Merge pull request #75 from wvanbergen/master
...
Tooltip formatting bugfix
12 years ago
Tyler Wolf
843d31229f
Merge pull request #78 from michalkutil/multiBarChart-legendWidth
...
Multi bar chart legend width
12 years ago
Tyler Wolf
569b2a0b0d
Merge pull request #93 from bertrandchenal/master
...
Add support for startAngle and endAngle on pie chart
12 years ago
Tyler Wolf
536e4fe531
merged pfeffer's pull request, also updated indented tree zerofilter
12 years ago
Tyler Wolf
2572a1ed21
Merge branch 'changes' of https://github.com/pfeffer/nvd3 into pfeffer-changes
12 years ago
Tyler Wolf
1327ca3f86
Added filter functionality to indentedtree model (can be used to filter values besides zero)
12 years ago
Dingo
7b95e42a64
Added parallelCoords.js model from the NYC d3.js meetup
12 years ago
Bob Monteverde
a52eddf761
Made state.disabled always set on charts that keep state
12 years ago
Bob Monteverde
859b97a9d3
Fixed padData on scatter, added padDataOuter to account for outerPadding on ordinal scales
12 years ago
Bob Monteverde
88c4157d0e
Minor fix to scatter to allow all series to be disabled and padData set to true without error
12 years ago
Maria
80f02aff8c
undo the size change
12 years ago
Maria
61fbf4ce27
add key description to display in tooltip
12 years ago
Bertrand Chenal
9207185532
Add support for startAngle and endAngle on pie chart
12 years ago
Maria
072af64a25
keep the size of pie chart when change the svg size
12 years ago
Tyler Wolf
81bccd2eb3
Merge branch 'master' of https://github.com/novus/nvd3
12 years ago
Tyler Wolf
050e827f6c
fixed js error in scatter voronoi mouseover
12 years ago
Maria
fa765c970b
add property for label radius
12 years ago
Bob Monteverde
8415ee55d3
Made tooltip look a little sexier
12 years ago
Bob Monteverde
e161c57e24
Made tooltip look a little sexier
12 years ago
Bob Monteverde
f4a7f27a96
Made tooltip look a little sexier
12 years ago
Bob Monteverde
d376d86d5b
Fixed max and min calculations for multibar stacked
12 years ago
Bob Monteverde
11d504c6cd
Added barColor fucntionality to multibar to imitate what I did for multibarHorizontal
12 years ago
Bob Monteverde
825378124e
Fixed issue with custom group color and disabling series on the horiontal bar chart
12 years ago