|
|
|
@ -50,7 +50,7 @@ svg {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Wrapping in nv.addGraph allows for '0 timeout render', stors rendered charts in nv.graphs, and may do more in the future... it's NOT required
|
|
|
|
|
// Wrapping in nv.addGraph allows for '0 timeout render', stores rendered charts in nv.graphs, and may do more in the future... it's NOT required
|
|
|
|
|
nv.addGraph(function() {
|
|
|
|
|
var chart = nv.models.lineChart();
|
|
|
|
|
|
|
|
|
@ -58,7 +58,7 @@ nv.addGraph(function() {
|
|
|
|
|
.x(function(d,i) { return i })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chart.xAxis // chart sub-models (ie. xAxis, yAxis, etc) when accessed directly, return themselves, not the partent chart, so need to chain separately
|
|
|
|
|
chart.xAxis // chart sub-models (ie. xAxis, yAxis, etc) when accessed directly, return themselves, not the parent chart, so need to chain separately
|
|
|
|
|
.tickFormat(d3.format(',.1f'));
|
|
|
|
|
|
|
|
|
|
chart.yAxis
|
|
|
|
|