Set default type for stacked area to expanded
This commit changes the default graph type for stacked area to the expanded type. The expanded stacked area graph type is by far generally the most useful it clearly visualizes all the categories the best even when one group is largely outnumbered. In the interactive view it also shows a percentage which is normally more useful than a raw count. The graph type is still user selectable for more specific use cases. Change-Id: I4f446e3868990c748ecc85135031e2a84bcfa894
This commit is contained in:
parent
f522a85d8e
commit
3517e294de
|
@ -35,7 +35,8 @@ function chartStackArea() {
|
|||
.useInteractiveGuideline(true)
|
||||
.rightAlignYAxis(true)
|
||||
.showControls(true)
|
||||
.clipEdge(true);
|
||||
.clipEdge(true)
|
||||
.style('expand');
|
||||
|
||||
chart.xAxis.tickFormat(function(d) { return d3.time.format("%x")(new Date(d)); });
|
||||
|
||||
|
|
Loading…
Reference in New Issue