Commit Graph

294 Commits (master)

Author SHA1 Message Date
Tyler Wolf 6752bf5cc8 fixed an issue with legend placement 11 years ago
Robin Hu 96840219ee Updating tooltip content generator to use d3 select instead of manually concating strings. 11 years ago
Robin Hu 9315679dc7 Adding axisLabelDistance property to axis.js 11 years ago
Robin Hu e2034e7aad Updating examples/index.html to remove "*.html" and capitalize each item in the list. 11 years ago
Robin Hu b072322514 Adding multiBarChartTest.html test page 11 years ago
Robin Hu 4be1306d80 Added more examples to sparklinePlus; added gradient to examples/index.html 11 years ago
Robin Hu 4f8dfc6002 Adding examples/index.html.
examples/index.html is a page that lists all examples with links to
them.
Added utils.js to some of the example html files too.
11 years ago
Robin Hu 33aac696c8 Updating examples so that they all include utils.js. 11 years ago
Robin Hu 91f7a8631f Adding optionsFunc to all charts. 11 years ago
Robin Hu 0edc568ad0 Checking in a solution to making it possible to use
chart.options({}).  Instead of chaining properties,
you can pass chart properties in a hash.
Adding a optionsFunc template to utils.js, so it can reused in all chart
code.
11 years ago
Robin Hu 843577aff8 Fixing transition issues with lineWithFocusChart. Added transitionDuration
property, defaulted to 250
11 years ago
Robin Hu ad1a18d761 Fixing transition issues with linePlusBarWithFocusChart. 11 years ago
Robin Hu 5e78ec57c3 Fixing a bug related to transitions and delays with mutliBar. 11 years ago
Robin Hu 32f69f5377 Fixed stackedArea chart transitionDuration. 11 years ago
Robin Hu f286b1b4e9 Fixing scatterChart transitionDuration property. 11 years ago
Robin Hu 13e7d4c688 Updating historicalBar chart transitionDuration. 11 years ago
Robin Hu 9a9e34bb30 Updating cumulativeLineChart to use transitionDuration differently. 11 years ago
Robin Hu 7adc37f1f8 Removed transitionDuration from line.js and axis.js, and modified
lineChart.js to pass transition in via inheritance.
11 years ago
Robin Hu caa6b56c73 Merge branch 'group_spacing' of https://github.com/dimagi/nvd3 into development
Conflicts:
	src/models/multiBar.js
11 years ago
Robin Hu 4ea8115a6a Fixing issue in multibarChart where the axisLabel was being
rotated along with the xAxis tick labels, when rotateLabels
was set.
11 years ago
Robin Hu 58d60f9cb5 Added back the transitionDuration property to nv.models.axis. Added transitionDuration to historicalBar. 11 years ago
Robin Hu e2ef9489da Added transitionDuration to multiBarHorizontal. Bumped version to 1.1.9b 11 years ago
Robin Hu 6ff087584d Bumping to version 1.1.7b, due to removal of with-3d-shadow from tooltips.
Updating all example charts to include with-3d-shadow.
11 years ago
Robin Hu c2b32f2909 Removing with-3d-shadow from tooltips by default. Need to add it manually back.
Updating .with-3d-shadow CSS rule to include nvtooltip.
Updated lineChart example.
11 years ago
Robin Hu 435cea2cf7 Updated scatterChart with transitionDuration property. 11 years ago
Robin Hu 1f3f3589c3 Added transitionDuration to multiBarChart. 11 years ago
Robin Hu 9e947d4aec Added transitionDuration to discreteBarChart. 11 years ago
Robin Hu d57fa841ca Added transitioDuration property to stackedAreaChart, lineChart, cumulativeLineChart. 11 years ago
Robin Hu 178700c896 Adding transitionDuration property to line.js 11 years ago
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.
11 years ago
Robin Hu 19afd68f53 Adding transitionDuration option to stackedArea.
Adding transition to StackedAreaChart example.
11 years ago
Robin Hu d31e83fd28 Increasing margins for linechart in example file. Issue #160 11 years ago
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
11 years ago
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.
11 years ago
Robin Hu 9d6f842f71 Merge branch 'fix-indent' of https://github.com/areski/nvd3 into development 11 years ago
Robin Hu 60e2f85b84 As part of merging pull request #186, removing bulletChartWithLabels.html
and merging the example into bulletChart.html.
11 years ago
Al Tenhundfeld 88fed7306d Change bullet labels check to be more idiomatic JS. 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 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
Areski Belaid 3cc8bec2c3 fix indent in example lineChart 11 years ago
Robin Hu e1e9144e5f Updating lineChartSVGResize example to use interactive guideline.
Rebuilding nv.d3.js.
11 years ago
Robin Hu 79b196cb41 Added simple navigation links between lineChart, StackedAreaChart and
CumulativeChart test examples.
11 years ago
Robin Hu 3c6d1b65ee Added historicalBar.interactive. If set to false, tooltips/hoverovers don't work. 11 years ago
Robin Hu 8479f5fce1 Exposed 'highlightPoint' and 'clearHighlights' in historicalBar. 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 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