EvolviewDocumentation icon indicating copy to clipboard operation
EvolviewDocumentation copied to clipboard

About the bar plot

Open PingpingHA opened this issue 7 years ago • 4 comments

Hi, This is a nice tool! Now if I have 3 groups to plot, I notice that the bar is shown in the order of the groups . How can i do that if I want to show them in the order of group‘s value just like the 100% stacked plot ?

Thank you!

PingpingHA avatar Jan 22 '18 03:01 PingpingHA

So you would like to have a stacked bar plot, within each stack, the groups are ordered according to their values?

So far Evolview does not support this but this is something interesting to have.

Cheers.

evolgeniusteam avatar Jan 23 '18 01:01 evolgeniusteam

alternatively, you can simply choose to display values on the bars, stacked or not. See here for details and examples: https://github.com/evolgeniusteam/EvolviewDocumentation/blob/master/datasets/03_bar/DatasetBars.md#show-data-values

Cheers

evolgeniusteam avatar Jan 23 '18 01:01 evolgeniusteam

Thanks for your reply. Yes, that's what I mean. Actually I want to combine the STRUCTURE result to the tree. Hope Evolview will support this before long. expecting .........

PingpingHA avatar Jan 23 '18 02:01 PingpingHA

I have just added support for a new '!rowDataReorder' modifier, you can use it to order the bars by the their corresponding values in either ascending or descending order.

Please check out the "bars" tree of the "DEMOS" project for details; I have added a new dataset "bars2 with re-ordered row data" to showcase the usage of this new modifier.

Please leave a message if you have any further questions.

Cheers.

evolgeniusteam avatar Feb 03 '18 10:02 evolgeniusteam