Commit Graph

27 Commits (6752bf5cc831e69e17572e91c3a8958ede8996aa)

Author SHA1 Message Date
Tyler Wolf 6752bf5cc8 fixed an issue with legend placement 11 years ago
Robin Hu 91f7a8631f Adding optionsFunc to all charts. 11 years ago
Robin Hu c2cc7772d1 Added nv-legend-* class to legend text and circle icon.
Fixing some IE bugs related to the tooltip.
11 years ago
Robin Hu 9fbe68c8d8 Adding "use strict"; in all chart code.
Fixed any exceptions thrown when "use strict" was added.
11 years ago
Robin Hu f2375705a4 [legend.js] added radioButtonMode. If set to true, chart
legend will behave like a radio button group when clicked.
Mentioned in issue #168.
11 years ago
Robin Hu 4e861eaba0 One of my projects is to overhaul the code for nv.models.legend.
Right now, we have duplicated code in all of our charts
for handling legendClick and legendDblClick. It turns out we
can handle this all in legend.js, and reduce the amount of
code in each chart model.

So far, I've converted lineChart.js to this new format.
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 3fc286a3aa Adding try/catch block around getComputedtextLength.
Adding white-space:nowrap to nvtooltip.
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 92df22993d Added calcApproxTextWidth util function. Fixed overlapping legend, as noted in issue #107. 11 years ago
Bob Monteverde c10d02009f Fixed Issues #161 in the legend 12 years ago
Leonid 45395c6b72 Fix for issue #172 12 years ago
Bob Monteverde 8349dea0aa Issue #68 updated legend model to standard format 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 a4a022e212 use new color getting method in everything that's used in a stackedAreaChart 12 years ago
Bob Monteverde 09a55af5f5 Pie charts should use the same data as discreteBar for ease of switching between 12 years ago
Bob Monteverde a019088aac Added legendDblclick event in legend.dispatch 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 0d68690315 Added stacked area chart example, now showing a positive and negative version of the chart 12 years ago
Bob Monteverde 4663355b99 Tweaked height calculation on legend 12 years ago
Bob Monteverde f24490f1e3 Added align options, defualting to true, to align up each row of legend. WARNING may make legen take up MORE ROWS. 12 years ago
Bob Monteverde 803dfc6b38 Added nvd3 class to the parent wrap of all graphs, fixed some colors and css 12 years ago
Bob Monteverde b806a46f91 Using category20 colors instead of category10, now the default colors work with up to 20 series, will deal with more later 12 years ago
Bob Monteverde e528a47c1a Fixed issue with new line implementation where getX and getY don;t trickle down to the scatter 12 years ago
Bob Monteverde 91215e2d15 Removed color from stacked controls, fixed width issue in firefox 12 years ago
Bob Monteverde cc7aedcbe2 Initial public commit, merging files from private repo 12 years ago