Probably no longer relevant to OP, but since it still remains unanswered, I can answer Rickshaw questions:
ms , tickFormat. :
var y_axis = new Rickshaw.Graph.Axis.Y( {
graph: graph,
orientation: 'left',
tickFormat: Rickshaw.Fixtures.Number.formatKMBT,
element: document.getElementById('y_axis'),
} );
tickFormat , , , d3 axis 'tickFormat. tickFormat , . , -
var y_axis = new Rickshaw.Graph.Axis.Y( {
graph: graph,
orientation: 'left',
tickFormat: function (d) { return d + ' ms'; },
element: document.getElementById('y_axis'),
} );
- , ms.
, . tickTreatment preserve.
, tickTreatment . , , - CSS, . , . , , glow, , .
preserve - , , , , , . Rickshaw :
var preserve = this.preserve;
if (!preserve) {
this.series.forEach( function(series) {
if (series.scale) {
preserve = true;
}
} );
}
data = preserve ? Rickshaw.clone(data) : data;
, preserve true ( false), .