User (Legacy) Posted August 20, 2003 Report Share Posted August 20, 2003 hi , I have a problem with the 3D pie chart ,the depth of the chart dorsnt seem to change , even if I change the View3DDepth prop. my chart is like this (see attached gif ) .would like the chart to have some slope (AngleX=60) but its just too deep .... tryed everything on the designer ,no result ,,,, could anybody help plz . code : Set Chart1 = Server.CreateObject("ChartFX.WebServer") ' General Settings Chart1.TypeMask = &H2A80105& Chart1.View3D = true chart1.Chart3D= true Chart1.View3DDepth = 30 Chart1.Volume = 10 Chart1.AngleX = 60 chart1.Perspective=30 'Chart1.AxisType= Chart1.AngleY = 0 chart1.MultipleColors=true chart1.PointLabels = False chart1.RGBBk = CHART_TRANSPARENT Chart1.BorderStyle = 0 Chart1.OpenDataEx COD_VALUES,1,3 Chart1.Series(0).Yvalue(0) = V1 'Protein chart1.KeyLeg(0)="Protein" Chart1.Series(0).YValue(1) = V2 'Carbohydrates chart1.KeyLeg(1)="Carbohydrates" Chart1.Series(0).YValue(2) = V3 'Fat chart1.KeyLeg(2)="Fat" Chart1.CloseData COD_VALUES chart1.OpenDataEx COD_COLORS,3,0 Chart1.Color(0)= RGB(0,0,200) Chart1.Color(1)= RGB(0,200,0) Chart1.Color(2)= RGB(200,0,0) Chart1.CloseData COD_COLORS Chart1.ImgHeight=200 Chart1.ImgWidth=200 Chart1.ImgTags = "PNG" Response.Write Chart1.GetHtmlTag(200,200,"PNG","Chart") Set Chart1 = nothing Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.