by AlexZencovich » Fri Aug 01, 2008 6:23 pm
1. For TPivotChart
Use TPivotChart.OnAfterRefresh to set Chart.Series[].Color to your own color
or (if you not set Color each point) you may override values in
pvchMaxCOlor : integer = 14;
pvchColors : array [0..14] of TColor = (clRed,clGreen,clBlue,clLime,clYellow,
clMaroon,clTeal,
clOlive,clNavy,
clFuchsia,clSilver,clPurple,
clGray,clWhite,clAqua);
2. For drop-down charts (TPivotGrid)
Override PivotGrid.CreateDropDownChart and after call to inherited, set PVChartDDForm.Chart1.Seris[].Color to your own value
Best regards,
Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment