Commit Graph

12 Commits

Author SHA1 Message Date
Itay Neeman
46033a06cf Add e.pointIndex to all chart tooltip calculations 2012-07-14 12:46:14 -07:00
Itay Neeman
18713b6b19 Fix the ability to rotate labels (#22)
It turns out there was a bug in d3 2.9.2 that made the transition
continuously override the text-anchor property. This was fixed here:
https://github.com/mbostock/d3/pull/684

This pull request contains d3 2.9.6, and also makes a small fix to
handle both negative and positive rotations. Finally, it updates the
discreteBarChart sample to use it.
2012-07-13 16:46:19 -07:00
Bob Monteverde
199ec2aed8 renaming d3.css to nv.d3.css 2012-07-13 15:25:19 -04:00
Bob Monteverde
6a35569ca2 LOTS of tweaks to discreteBar and Axis. Only pad for the correct values if showValues, reduce unnused margins, prevent overlapping labels on axis with showMaxMin 2012-07-03 17:14:52 -04:00
Bob Monteverde
e07921f473 Added rotate labels functionality, but text-anchor: end is not working, auto switches to middle 2012-06-30 01:51:32 -04:00
Bob Monteverde
a10101744d discrete bar chart no longer animates horizontally, only vertically 2012-06-18 19:11:49 -04:00
Bob Monteverde
5f03bd8232 minor updates for consistency throughout new Chart Models 2012-06-12 15:26:23 -04:00
Bob Monteverde
0a92e82fd7 added showValues option, as well as tooltips (toggle, defaults true), and tooltipContent options to discreteBar 2012-06-12 01:50:41 -04:00
Bob Monteverde
6c75fd4f31 Fixed resize on windowResize in new bar chart example 2012-06-09 15:57:36 -04:00
Bob Monteverde
b5cabe11d7 Replacing discreteBar chart with a model... getting rid of charts collection 2012-06-09 15:44:12 -04:00
Bob Monteverde
a013082def Some modification to discreteBar charts, fixed resize and added staggeredLabel option to x axis labels to prevent overlap 2012-06-09 05:11:05 -04:00
Bob Monteverde
2a9642dccc Added discreteBarChart...ready to go chart wrapper for discrete bar. Initial cut. 2012-06-08 17:45:21 -04:00