PMSI-AlignAlytics / dimple

An object-oriented API for business analytics
Other
2.73k stars 556 forks source link

Combining two measures using dimple.plot.area in a Composite Axis #225

Open philippn opened 8 years ago

philippn commented 8 years ago

Hi there, first of all thanks for your library! It's a great piece of work :-)

On to my problem: Basically I would like to have a chart pretty much like this one from the examples (http://dimplejs.org/adhoc_viewer.html?id=adhoc_composite_axis_measure), but instead of using dimple.plot.line I would like to combine two dimple.plot.area axes.

But when I replace dimple.plot.line with dimple.plot.area, I end up with something like this: dimple-example Am I doing something wrong?

Svjard commented 8 years ago

Like http://dimplejs.org/examples_viewer.html?id=areas_horizontal_stacked?

philippn commented 8 years ago

Yes, that's what I'm looking for.