PivotChartOnAfterRefresh

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

Moderator: Alex Zencovich

PivotChartOnAfterRefresh

Postby BasPav » Tue Apr 29, 2008 6:30 am

Dear Alex,

It seems(!) that the PivotChartOnAfterRefresh event is triggered before the refresh is complete: if I check the PivotChart1.SeriesCount in this event I find that I do not get the correct number of series. I need this because I want to set the ColorEachPoint variable if there is only one series (apart from the series[0] of course)

Maybe I'am doing something wrong, so please correct me if so

Kind regards, Bas van de Pavert
Bas van de Pavert
BasPav
Developer
 
Posts: 24
Joined: Fri Sep 29, 2006 8:02 am
Location: Netherlands

Re: PivotChartOnAfterRefresh

Postby AlexZencovich » Sat May 03, 2008 4:38 pm

Hmm, I do not sure if you do something wrong, but TPivotChart.OnAfterRefresh called at last line of TPivotChart.RefreshData procedure.
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 1 guest

cron