I've been playing around with formatting Custom Statistics, and I've worked out how to show counts and opportunities within a single stat for use in reports and the HUD.
So, for instance you can make Cold Call look like this:
33% (3/9)
The format string for this is a little complicated, so bear with me.
We are working on the 'Format' tab of a Statistic in the Configure Stats window.
You need to use the format function.
e.g. If a is 37 and b is 19, then this format expression:
format( 'a={1}, b={2}', a, b )
..would give a stat output of:
a=37, b=19
If you just do it with straighforward values like
format( '{1}', (cnt_p_ccall / cnt_p_ccall_opp) * 100 )
then you will get lots of decimal places if you add the stat to the HUD, so you also need to use format_number.
This is for Cold Calls again, and I've formatted to 0 decimal places.
- Code: Select all
format( '{1}% ({2}/{3})', format_number((cnt_p_ccall / cnt_p_ccall_opp) * 100 ,0,false,false), cnt_p_ccall, cnt_p_ccall_opp )
Which would give an output like:
33% (3/9)
If you want to try this - select the CCPF stat in 'holdem cash player statistics' section of the Configure Stats window, and click the 'Dup' button to make your own copy you can edit.
Rename the stat, e.g. CCPF2, then click the 'format' tab and replace the content with the above format string.
Better still, experiment with your own version so you understand how it works.
You can then add your new stat to reports, such as 'Known Starting Hands Summary', or to the HUD.
I have added this to the Custom Statistics and Reports FAQ.