[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Sane pseudo random colors; was: PieChart widget
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2007-09-20 12:30:55
Message-ID: 46F267FF.4020506 () iidea ! pl
[Download RAW message or body]

Rafael Fernández López said the following, On 2007-09-20 07:07:

> I am currently developing a chart widget:
> 
> http://media.ereslibre.es/2007/09/pieChartWithKeys.png
> 
> The code can be found at:
> 
> http://media.ereslibre.es/2007/09/PieChart.tar.gz

Great

> I am also planning to do that if none QColor was given, a random one
> is picked up from the palette.

BTW, regerding your screnshot, I am bit tired having all these colors Qt::red, 
Qt::green, Qt::blue colors reminding me the MS DOS' CGA era. How about 
defining the sequence of colors(in kdelibs?), probably based on KDE 4's 
official palette. Such a sequence then can be used by default in KDE apps in 
charts?

KOffice's color styles could default to this color set for charts as well.

MSO 2000 cs MSO 2k7 colors:
http://officeblogs.net/excel/BLOG270606_001.PNG

Example in oo.org 2.x:
http://openoffice.blogs.com/openoffice/images/2007/06/14/writer5.jpg

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice: http://www.kexi.pl/en, http://www.koffice.org
  KDE3 & KDE4 Libraries for MS Windows: http://kdelibs.com, http://www.kde.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic