Link to home
Create AccountLog in
Avatar of excellence9
excellence9

asked on

Can we format text in birt field (table column) so that some text is shown in red and other in green?

Can we format text in birt field (table column) so that some text is shown in red and other in green? Basically want to find out if didffrent formatting is supported within a  field.
For example : 20%/80% is shown in the field (20% represents failures so would want that in red and 80% shows success and would want that in green
Avatar of rkharko
rkharko
Flag of Ukraine image

The implementation depends on specific language, but it is possible by overriding the method CustomDraw(..)
for example in Visual C++ there is example of implementation here.
http://msdn.microsoft.com/en-us/library/ms364048%28v=vs.80%29.aspx

The idea is to draw two strings inside rectangle area of a table cell using different fonts (different colors).
Avatar of excellence9
excellence9

ASKER

thanks so much rkharko for such fast response. I am looking for this specifically in  BIRT
ASKER CERTIFIED SOLUTION
Avatar of rkharko
rkharko
Flag of Ukraine image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Dirk Haest
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.