Merge remote-tracking branch 'origin/development' into development

Conflicts:
	nv.d3.min.js
master
Robin Hu 11 years ago
commit f63cd1b732

@ -68,7 +68,9 @@ var chart;
nv.addGraph(function() {
chart = nv.models.multiBarChart()
.barColor(d3.scale.category20().range())
.margin({bottom: 100})
.transitionDuration(300)
.rotateLabels(45)
;
chart.multibar
@ -77,8 +79,9 @@ nv.addGraph(function() {
chart.reduceXTicks(false).staggerLabels(true);
chart.xAxis
.showMaxMin(true);
// .tickFormat(d3.format(',f'));
.axisLabel("Current Index")
.showMaxMin(true)
.tickFormat(d3.format(',.6f'));
chart.yAxis
.tickFormat(d3.format(',.1f'));

@ -4531,6 +4531,7 @@ nv.models.indentedTree = function() {
d3.select(this)
.append('a')
.attr('href',getUrl)
.attr('class', d3.functor(column.classes))
.append('span')
else
d3.select(this)
@ -8135,7 +8136,7 @@ nv.models.multiBarChart = function() {
if(rotateLabels)
xTicks
.selectAll('text')
.selectAll('.tick text')
.attr('transform', 'rotate(' + rotateLabels + ' 0,0)')
.attr('text-anchor', rotateLabels > 0 ? 'start' : 'end');

10
nv.d3.min.js vendored

File diff suppressed because one or more lines are too long

@ -128,6 +128,7 @@ nv.models.indentedTree = function() {
d3.select(this)
.append('a')
.attr('href',getUrl)
.attr('class', d3.functor(column.classes))
.append('span')
else
d3.select(this)

@ -273,7 +273,7 @@ nv.models.multiBarChart = function() {
if(rotateLabels)
xTicks
.selectAll('text')
.selectAll('.tick text')
.attr('transform', 'rotate(' + rotateLabels + ' 0,0)')
.attr('text-anchor', rotateLabels > 0 ? 'start' : 'end');

Loading…
Cancel
Save