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

List:       kde-commits
Subject:    Re: branches/work/koffice-ko/kchart/shape
From:       Johannes Simon <johannes.simon () gmail ! com>
Date:       2010-04-20 13:53:37
Message-ID: DF4B69D1-B44F-4511-9F3D-9F3F08059421 () gmail ! com
[Download RAW message or body]

Mh, I don't think it's as easy as that :-) A bubble chart can be imitated using an x/y chart with 'bubble' markers, but the data dimensions of the model for KDChart is still two (the model returns x or y data for the data role Qt::DisplayRole and the respective model indices). The sizes of the markers will have to be propagated through KDChart::MarkerAttributes (which in turn is a property of KDChart::DataValueAttributes) and an appropriate data role instead of Qt::DisplayRole. See KDChartModel::data() and ::headerData() for details.

Or did you have something else in mind?

Am 20.04.2010 um 12:21 schrieb Mike Arthur:

> SVN commit 1116827 by mikearthur:
> 
> Enable bubble and stock charts in the chart gui.
<snip>
> -    kdBubbleDiagramModel->setDataDimensions( 2 );
> +    kdBubbleDiagramModel->setDataDimensions( 3 );
</snip>


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

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