Commit Graph

923 Commits (93a26c53c9a1000c54617feb04f8e6b89877d6ac)
 

Author SHA1 Message Date
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 9b3858e926 Created new general stylesheet for the nvd3 chart test pages.
Added test page for stacked area chart.
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
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 683eb18ce1 Adding PNG image to show what a sample line chart looks like. For the WIKI documentation. 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
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
Tyler Wolf a1e6ad4d8b ran make 11 years ago
Tyler Wolf deed5470f3 Merge branch 'development' of https://github.com/novus/nvd3 into development 11 years ago
Tyler Wolf 713df676f7 Merge branch 'master' of https://github.com/novus/nvd3 into development 11 years ago
Tyler Wolf 364f689fb3 added colorbrewer.js to lib 11 years ago
Robin Hu 104921eb68 rebuilding nv.d3.js and minified version. 11 years ago
Robin Hu 6b63db67d0 Updated several charts so that the showXAxis, showYAxis and rightAlignYAxis options are available for use. 11 years ago
Tyler Wolf 47767c44c8 ran make on nv.d3.js 11 years ago
Tyler Wolf e2dd47bcc2 Updated version, now compatible with d3.v3.js 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
Tyler Wolf bb5146775e minified nv.d3.js 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 577a57d405 Rebuilding nv.d3.js and nv.d3.min.js for Issue #140 11 years ago