-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (1) .- Knowledge Base  . 

QSint Charts

   0.1.1  

Qt Widget

Score 53%
QSint Charts
zoom


QSint Charts
zoom


Link:  http://sintegrial.com
Minimum required   Qt 4.x
Downloads:  811
Submitted:  Mar 20 2011
Updated:  Mar 24 2011

Description:

BarChartPlotter is a simple Bar Chart plotting widget.

This is a technical preview only - BarChartPlotter will be included into QSint::Charts library.

BarChartPlotter provides easy-to-use API and performs fast \"native\" painting (directly via QPainter).

Currently it allows to draw Bar Charts of 2 types: Stacked and Column.

BarChartPlotter follows MVC ideology using QAbstractItemModel as data source.




LicenseLGPL
Source(BarChartPlotter + Example)
Send to a friend
Subscribe
Other  Apps  from sintegrial
Report inappropriate content



-
.

 How to colorize the separate items?

 
 by Karbofos on: Aug 3 2012
 
Score 50%

Hello!
Many thanks for this project. :)
My question: i try to colorize the separate items of the chart, for example:

itemModel->setData(itemModel->index(i, j), Qt::red, Qt::BackgroundRole);

or
itemModel->setData(itemModel->index(i, j), Qt::blue, Qt::ForegroundRole);

and the objects are not colorized. what is wrong?
thank you!


Reply to this

-

 Re: How to colorize the separate items?

 
 by Karbofos on: Aug 3 2012
 
Score 50%

all right, i solved it.
replaced in BarChartPlotter::drawContent

// QPen pen(qvariant_cast<QColor>(m_model->headerData(j, Qt::Vertical, Qt::ForegroundRole)));
// QBrush brush(qvariant_cast<QBrush>(m_model->headerData(j, Qt::Vertical, Qt::BackgroundRole)));
QPen pen(qvariant_cast<QColor>(m_model->data(m_model->index(j,i), Qt::ForegroundRole)));
QBrush brush(qvariant_cast<QBrush>(m_model->data(m_model->index(j,i), Qt::BackgroundRole)));

this solution i need for colorized displaing of percent information, f. ex: about 35% is red and so on


Reply to this

Add commentBack






-
Cool Sites
QtitanDataGrid Advanced Grid for Qt

 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About Qt-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2006-2014 Qt-Apps.org Team  
All rights reserved. Qt-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
Qt is a trademarks of Nokia