ReportPortal
ReportPortal
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ReportPortal General Forum
 Report Portal General Issues
 Graph Types
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Moshe

10 Posts

Posted - 08/27/2004 :  08:52:26  Show Profile  Reply with Quote
Does the line chart in the graphics handle different line formats.
Specfically I am referring to different dash and solid lines.
One of my users is color blind!

admin

1647 Posts

Posted - 08/28/2004 :  13:31:36  Show Profile  Reply with Quote
Colors used by Report Portal are defined in:

\olap\script\colors.js

If you will open it in notepad you will see that all colors are delimited in the following manner:

'FF0000','00FF00','0000FF','FFFF00',... The first color in the list is color to be used in any graph, the second color is the one used next to it and so forth. If you make the color list short then the colors will be reused in a round-bin fashion.

You can change the file to use only colors visible to color blind people.

I recommend this article about Protan (red deficiency) or Deutan (green deficiency) Web-safe palettes:

[url]http://more.btexact.com/people/rigdence/colours/[/url]

Here are 10 colors that are distinguishable to color blind people according to:

[url]http://more.btexact.com/people/rigdence/colours/Comp10.jpg[/url]

66FF33
FF9933
FF3333
336600
CC9999
CCCCCC
000000
00CCFF
9900CC
009999

Changing the color table will make the charts less appealing to other users. Therefore it is a good idea to have this set per user basis. It sounds like an easy feature to implement so we can try to squeeze it into 1.5.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
ReportPortal © 2000-2002 Snitz Communications Go To Top Of Page