How can i set TmmViewType to mvColumnPercent?

Useful shares from PivotCube VCL - code example, algorithm solutions etc

Moderator: Alex Zencovich

How can i set TmmViewType to mvColumnPercent?

Postby aao » Tue Dec 02, 2008 10:17 am

I want to display not the value but the ColumnPercent. How I have to code it?

I found SetColumnPercent in PivotMap_SRC.pas but it is private. :roll:
aao
Guest
 
Posts: 1
Joined: Tue Dec 02, 2008 10:11 am

Re: How can i set TmmViewType to mvColumnPercent?

Postby AlexZencovich » Wed Dec 03, 2008 5:07 pm

TPivotMap.Measures[].ColumnPercent := True;
TPivotMap.Measures[].Value := False;
TPivotGrid.RefreshData;
Best regards,

Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
AlexZencovich
Site Admin
 
Posts: 580
Joined: Sun Jun 18, 2006 10:09 am


Return to PivotCube VCL

Who is online

Users browsing this forum: No registered users and 2 guests

cron