Conditional color in the statistics in reports

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Conditional color in the statistics in reports

Postby Mallaina » Sun Apr 02, 2023 3:09 pm

Hello, I have made some custom statistics, with conditional colors according to value, and to be displayed in reports.
The fact is that they worked ok, I recently had to restore windows, and the color theme no longer works. I've already tried everything, and I don't know if I'm missing something

https://gyazo.com/3c2acf29640715fa08ee718872661186


Tx
Mallaina
 
Posts: 28
Joined: Sat May 12, 2012 2:45 pm

Re: Conditional color in the statistics in reports

Postby Flag_Hippo » Mon Apr 03, 2023 11:40 am

I can't see what's wrong there so please export and attach all the custom statistics used in that report to a Support Ticket along with a screenshot so we can test this. Thank you.
Flag_Hippo
Moderator
 
Posts: 17040
Joined: Tue Jan 31, 2012 7:50 am

Re: Conditional color in the statistics in reports

Postby Mallaina » Mon Apr 03, 2023 2:31 pm

I fixed it, I wasn't very smart. The point is that these stats. I had them saved, but I didn't remember that when I saved them, they didn't work well, and after correcting the error I didn't save them again. When updating windows, I just recovered the backup, not remembering what was wrong.

The error is in the definition, in the format Type section, I have it under the function:
format_number(this, 2, true, true) and there is the error,
format_number(this, 2,true, false) equiliquid.

I've already given myself 7 lashes. Thanks Flag_hippo
Mallaina
 
Posts: 28
Joined: Sat May 12, 2012 2:45 pm

Re: Conditional color in the statistics in reports

Postby Flag_Hippo » Tue Apr 04, 2023 5:45 am

No problem. Thanks for the update and I'm pleased to hear you've found the issue.
Flag_Hippo
Moderator
 
Posts: 17040
Joined: Tue Jan 31, 2012 7:50 am


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 10 guests