Commit Graph

55 Commits (93a26c53c9a1000c54617feb04f8e6b89877d6ac)

Author SHA1 Message Date
Robin Hu d974556d05 Cleaned up interactive guideline dispatch code.
Integrated interactive guideline into cumulativeLineChart and updated
example.
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 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 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 62edb49ab8 Added showXAxis and showYAxis feature to lineChart and historicalBarChart. 11 years ago
Tyler Wolf bd0aab25ca lots of changes 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
Dingo 76b97fde13 all models updated to run examples using d3.v3 12 years ago
Tyler Wolf db144a9290 updated many models for state management 12 years ago
Bob Monteverde a52eddf761 Made state.disabled always set on charts that keep state 12 years ago
Bob Monteverde 4e12985eb5 Made state accessible from chart.state() 12 years ago
Bob Monteverde 6213a74e3b Adding state management to most charts 12 years ago
Tyler Wolf 53687e1454 reverted the lineChart right margin change. My mistake 12 years ago
Tyler Wolf 68e8121721 fixed FF getBBox() issue (UI-19), extended line chart right margin +3px 12 years ago
Bob Monteverde 5ca76561c4 Issue #290 added tick 2 pixels to the default tick padding 12 years ago
Bob Monteverde 3b5e738838 Fixed Issues #161 in the lineChart 12 years ago
Bob Monteverde e020c2716b Added proposed fix for Issue #166 to lineChart and sparklinePlus, I will implement in the other relevant charts later, open to suggestions if someone has cleaner code to do this 12 years ago
Bob Monteverde 869a22c5bf Issue #68 updated cumulativeLineChart model to standard format 12 years ago
Bob Monteverde 0ef2908ffc Issue #68 updated multiBarChart model to standard format 12 years ago
Bob Monteverde d8678f966d Issue #68 updated lineChart model to standard format 12 years ago
Eric Rosenberg f0d60709a8 Updated all nv.tooltip.show() calls to use the offsetElement as the parentElement 12 years ago
Bob Monteverde bded864229 Added a customizeable No Data Available. message to all the charts when they are fed no series, or all series have no points 12 years ago
Bob Monteverde c1f546a5e7 Merging in Pull Request #109 12 years ago
Bob Monteverde 3b81d8aeed Added nv- to almost all classes and IDs.. will need to recheck everything, but I think I got them all 12 years ago
Jyry Suvilehto ca6e2c589b update models to use new colors 12 years ago
Patrick Butler 9c2c3c5b84 Expose x/yScale to use time scales in line charts
This patch adds to the rebinded xScale and yScale values from line to
lineCharts
12 years ago
Bob Monteverde 960eb3f377 added option to make a line and area, and added chart.isArea() to all relevant charts 12 years ago
Bob Monteverde f5fa9e5de0 Added new lineChart example that utilizes SVG resizing without recalling the chart, also updated lineChart's tooltips to work with this 12 years ago
Itay Neeman 46033a06cf Add e.pointIndex to all chart tooltip calculations 12 years ago
Bob Monteverde 54bcb6d971 Added defined to all line charts that defaults to not defined when something cannot be parsed to a number, feature added to fix problem noted in Issue #57 12 years ago
Alexandre Rocha Lima e Marcondes c9717f0427 * Interpolate should have been rebound from the lines:
d3.rebind(chart, lines, 'interpolate');
12 years ago
Alexandre Rocha Lima e Marcondes d513dee197 * Interpolation on line and line related charts 12 years ago
Bob Monteverde ab80bda59c Stage one of major code cleanup / consistency check 12 years ago
Bob Monteverde d1c2f59cd9 trying out a chart.container idea to get a reference to the DOM element the chart is plotted in to help with a auto resize functionality, and may have other uses 12 years ago
Bob Monteverde c494172fe2 Added Max/Min to horizontal axes, on by default, but can be disabled with showMaxMin(false) on the axis component 12 years ago
Bob Monteverde b9a8e0baaa Colors no longer have a ahrd limit of 10 or 20, they are dependant on how many colors are fed to teh chart, the default being 10 or 20, but suer can difine as many as they want 12 years ago
Bob Monteverde 8bbf9f1631 Issue #7 - Fixed tooltip positions in Firefox (and hopefully in IE9) 12 years ago
Bob Monteverde 51fc28358b New lineWithFocusChart, and example 12 years ago
Bob Monteverde 480403b04a Added new cumulativeLineChart, debating on merging into lineChart or not, not in Makefile yet 12 years ago
Bob Monteverde 04c11e3bde Fixed height and width getter/setters and started working on linePlusBarChart, halfway done 12 years ago
Bob Monteverde 542dc094f9 Fixed legend height and margin.top issue in the ready to go charts. Also re organized code a little bit for consistency 12 years ago