I would like to draw two dataset (stats and stats2).
I could able to draw one series (stats),
dataSource: { data: stats},
but when I add the second one, it does not draw.
dataSource: { data: stats, stats2 },
http://jsfiddle.net/1sgt4810/2/
I know there is an option of doing it as follows
series: [{
type: "line",
field: "y",
categoryField: "x",
name: "Path1",
style: "smooth",
data: stats,
markers: {
visible: false
}
}, {
type: "line",
field: "y",
categoryField: "x",
name: "Path2",
style: "smooth",
data: stats2,
markers: {
visible: false
}
}],
Because in the future, I will have many of the lines, I need to know how to handle with multiple lines in a modular way.