Coloring

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

Coloring

Postby FilS2BotS » Tue Sep 28, 2010 5:04 pm

I put colors with Expression in my Statisques, I do Enable HUD, Enable Tracker, I save and i still do not see the colors on Reports???
TY
FilS2BotS
 
Posts: 149
Joined: Wed May 05, 2010 2:20 am

Re: Coloring

Postby FilS2BotS » Tue Sep 28, 2010 6:09 pm

Oki I found its cause the Colors in the Settings take the lead...
How can i do?
FilS2BotS
 
Posts: 149
Joined: Wed May 05, 2010 2:20 am

Re: Coloring

Postby WhiteRider » Wed Sep 29, 2010 3:41 am

If you set colours in the statistic then you should remove them from the HUD config, unless you want to over-ride some specific situations.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Coloring

Postby FilS2BotS » Wed Sep 29, 2010 10:17 am

I would like in the Already Built-In Reports add "Cash Out" (that statistique is not in the HUD Config) in a specific colours and i have it in the colurs set in the "Settings" Tab 3generale"... ??? TY
FilS2BotS
 
Posts: 149
Joined: Wed May 05, 2010 2:20 am

Re: Coloring

Postby WhiteRider » Wed Sep 29, 2010 11:00 am

If it is formatted as "money" then it may be coloured red or green depending on whether it is less or more than $0 - is that what you're seeing?
In that case you'll need to change the formatting so that it does not colour it.

Change the format expression from "format_money(column, true)" to:

format_money( column, false )

That will allow any colour settings you add to the Colors tab to work.
If you just want red and green and you're not getting that then set it to "true" instead.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Coloring

Postby FilS2BotS » Wed Sep 29, 2010 12:19 pm

TY ;)
FilS2BotS
 
Posts: 149
Joined: Wed May 05, 2010 2:20 am


Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests