In the cubism example, changing the height parameter of context.horizon() to a smaller value causes the graph to overplot itself more. The opposite is true for increasing the value - there is less overplotting.
However, when I change the height parameter, my graphs retain the same level of overplotting and they simply scale themselves up and down accordingly. The graphs effectively lose resolution when I make the height smaller.
How do I fix this?
Here is my code:
var context = cubism.context().step(1000000).size(1000);
var graphite = context.graphite("http://graphite.example.com");
var horizon = context.horizon().metric(graphite.metric).height(200);
var metrics = [
"summarize(example0,'10s')",
"summarize(example1,'10s')",
"summarize(example2),'10s')",
"summarize(example3),'10s')"
]
d3.select("#supergraph").append("div")
.attr("class", "axis")
.call(context.axis().ticks(4).orient("top"));
d3.select("#supergraph").append("div")
.attr("class", "rule")
.call(context.rule());
d3.select("#supergraph").selectAll(".horizon")
.data(metrics)
.enter().append("div")
.attr("class", "horizon")
.call(horizon);