Color code stat by position possible

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Color code stat by position possible

Postby Tinman9956 » Sat Jun 22, 2024 12:29 pm

I would like to color code my stats in the session reports. I colored my RFI stat but it colors every position with color ranges I set for the BTN. Is it possible to set each position with different colors? Here are some screen shot of what stats I have found, and is it possible to modify them to do what I want. Stats I would like to color code by position are VPIP, PFR, 3Bet, steal, steal success. Thanks for your time.
Attachments
Position Stat.png
RFI Stat.png
RFI Stat.png (12.08 KiB) Viewed 3157 times
RFI Color Stats.png
Tinman9956
 
Posts: 229
Joined: Wed Nov 02, 2011 8:29 pm

Re: Color code stat by position possible

Postby WhiteRider » Sat Jun 22, 2024 3:09 pm

There is a known issue with custom stats in that report, although I'm not sure it will affect your exact issue as I would expect that issue to mean that cached custom stats show the same value for each position. I think that may not be happening because you're using built-in columns, but I suspect this could be related.

Another possible cause is that the way you have set up your middle color range will not work. If you want to check for a range of values you need to write it as:

#Raise First In# > 39 and #Raise First In# < 46

However, rules are applied in order so if you keep that order you do not actually need the second part and can just use:

#Raise First In# > 39

..because a value over 46 would have already met the first condition.

I do not think you need to use a custom stat here at all - you can add color ranges to built-in stats, and that may mean that the issue I mentioned would not affect you.
If you add your color conditions to the built-in stat do you still have the problem?
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Color code stat by position possible

Postby Tinman9956 » Sat Jun 22, 2024 5:23 pm

Thanks for the reply. The thing is when I apply the color ranges, it applies it to all positions. I want to apply different colors to different positions, like set up GTO RFI ranges per position and color code them to see when I deviate from them. The range colors in the screen shot are for the BTN. I would like to apply different ranges and colors to the other positions. Hope that makes sense. Thanks Again. Thanks for the info on the stat set up I changed it as you suggested.
Tinman9956
 
Posts: 229
Joined: Wed Nov 02, 2011 8:29 pm

Re: Color code stat by position possible

Postby WhiteRider » Sun Jun 23, 2024 5:26 am

Ah, I see.

You can do that, but it makes the color conditions a little more complicated.
You will need to specify the position value as well as the stat value for each combination.
For example:

#Position# = 5 and #Raise First In# > 46

Position is a numeric value as defined here: (for reference: see the column val_position_type, which is used by the Position stat)
Position Type (SB - 0, BB - 1, EP - 2, MP - 3, CO - 4, BTN - 5)
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Color code stat by position possible

Postby Tinman9956 » Sun Jun 23, 2024 11:13 am

Perfect just what I was looking for. You Rock, Thanks.
Tinman9956
 
Posts: 229
Joined: Wed Nov 02, 2011 8:29 pm


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 11 guests

cron
highfalutin