Cristi S.

Do you support Surface Pyramids?

Recommended Posts

Hi there,

Your pyramid looks linear, i.e. the height of each segment is proportional with item's value.

However, there is another known mode, called surface, in which the area of each segment (instead of its height), is proportional with item's value.


Do you have a flag to easily switch from one mode to another? 

Or do you already have a fiddle with height calculations for each segment if we want this last mode?


Best Regards,
Cristian

Share this post


Link to post
Share on other sites

Of course, Ayan. (This could actually help you guys decide about this feature, at some point in time... :))

Here is a linear pyramidhttp://jsfiddle.net/cristiscu/sbt6bbfh/6/

And here is the surface pyramidhttp://jsfiddle.net/cristiscu/sbt6bbfh/7/. The only change was in the "pyramidMode" value.

Compare now the top segment from these charts. In the first chart, its height is 15% of the full pyramid height. In the surface pyramid, its area was made bigger, to show 15% of the whole pyramid surface.

FYI: pyramidMode, valueRepresents, PyramidValueType.

Cheers,

Cristian

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now