User (Legacy) Posted June 2, 2006 Report Share Posted June 2, 2006 Hi I have some questions about generating a 3D pie chart. Where do I find the constants for the function setView3DLight on the Chart object (public void setView3DLight(int value))? The function public void setView3DDepth(int value) doesn't seam to have any effect on my pie chart. In the JavaDoc most of the set function doesn't say what value is the default value. Ex: setView3DLight public void setView3DLight(int value) Allows to specify the light setting for a 3D chart. Values: Shadow : Define light setting for a 3D chart. Value Description NONE No light. FIXED Normal Light. REALISTIC Realistic lights. Remarks: To apply this property correctly you must make sure the chart is displayed in 3D mode using the setChart3D(boolean) <../../SoftwareFX/ChartFX/Chart.html> property. Setting this property to zero (no light), will accelerate the paint of the chart in non true-colors video cards. See Also: setChart3D(boolean) Hope to get some comments. /TJM Link to comment Share on other sites More sharing options...
Software FX Posted June 6, 2006 Report Share Posted June 6, 2006 Hi, You are right, the defaults are not documented and we should add that to the documentation, but the values for the constants are documented. The Default for setView3DLight is Shadow.Fixed. I'll submit the request to include the defaults in the documentation. SetView3DDepth does not apply to Pie charts. Regards, GA "TJM" <nospam@nospam.dk> wrote in message news:y$$c1kmhGHA.1572@webserver3.softwarefx.com... > Hi > > > > I have some questions about generating a 3D pie chart. > > > > Where do I find the constants for the function setView3DLight on the Chart > object (public void setView3DLight(int value))? > > > > The function public void setView3DDepth(int value) doesn't seam to have > any effect on my pie chart. > > > > In the JavaDoc most of the set function doesn't say what value is the > default value. > > > > Ex: > > setView3DLight > public void setView3DLight(int value) > Allows to specify the light setting for a 3D chart. > Values: > Shadow : Define light setting for a 3D chart. > Value Description > NONE No light. > FIXED Normal Light. > REALISTIC Realistic lights. > Remarks: > To apply this property correctly you must make sure the chart is > displayed in 3D mode using the setChart3D(boolean) > <../../SoftwareFX/ChartFX/Chart.html> property. > Setting this property to zero (no light), will accelerate the paint > of the chart in non true-colors video cards. > See Also: > setChart3D(boolean) > > > > > > Hope to get some comments. > > > > /TJM > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.