Re: chart: troubles using cost

Dag Andersen <[email protected]> Wed, 21 Mar 2007 13:40:13 +0100
Newsgroups gmane.comp.kde.kplato
Message-ID <[email protected]>
Fredag 09 marts 2007 16:12 skrev Fr=E9d=E9ric Lambert:
> Hi everybody!
>
> We have some troubles when we try to display the curves. The cost
> (from Project::actualCostTo(...) and Project::plannedCostTo(...) )
> seems to return always 0 in our methods ( kptchart.cc =3D>
> calculateActualCost(..) and calculatePlannedCost(..) ).
>
> So we wonder 2 things:
> - the two methods in Project,  quoted before don't work.(where should
> we look at?).
> - we don't know how to use the tasks's cost in KPlato (what do we need to
> do ?).
In case you missed the commit:
I've expanded the progress dialog to make it possible to enter actual effor=
t =

used pr task / resource / day. This should also make the actualCost* stuff =

work, but it isn't tested, so...
To be able to do anything you'll have to allocate resource(s) to task and =

calulate a schedule. The progress dialog is opened by clicking RMB on a tas=
k =

in task editor or gantt chart.
>
> Thanks!
> _______________________________________________
> kplato mailing list
> [email protected]
> https://mail.kde.org/mailman/listinfo/kplato

-- =

Mvh
Dag Andersen