Set the default view to percentage view of a custom content (bargraph)

I have a custom content bargraph (auto generated from _mqc.csv file)

It’s default to the absolute count view, like this

How do I set it up so that it’s default to the ‘percentage view’ ? like this:

Thank you

Hi @jinfinance,

You’re looking for this bar plot pconfig option:

 "cpswitch_c_active": True, # Initial display with 'Counts' specified? False for percentages.

Docs: Plotting Functions - MultiQC

Hope that helps!

Phil

1 Like