Current state

This commit is contained in:
2026-02-07 08:23:18 +01:00
commit 0a4372c40d
22479 changed files with 1553543 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
var Rickshaw = require("../rickshaw");
exports["should add the series className to all scatterplot points"] = function(test) {
var el = document.createElement("div");
var graph = new Rickshaw.Graph({
element: el,
stroke: true,
width: 10,
height: 10,
renderer: 'scatterplot',
series: [
{
className: 'fnord',
data: [
{ x: 0, y: 40 },
{ x: 1, y: 49 },
{ x: 2, y: 38 },
{ x: 3, y: 30 },
{ x: 4, y: 32 }
]
}
]
});
graph.render()
var path = graph.vis.selectAll('circle.fnord')
test.equals(5, path.size())
test.done()
}