Active-X.COM Posted September 24, 2007 Report Share Posted September 24, 2007 I have a simple Pie (Donut) chart with the following Code: Set Chart1 = Server.CreateObject("ChartFX.ASP.Server") Set axis = Chart1.Axis(0) Set title = axis.Title title.Flags = TitleFlag_DrawingArea Or TitleFlag_NoChangeDockArea Chart1.PointLabels = true Chart1.Chart3D = true Chart1.LegendBox = true Chart1.Gallery = Gallery_Doughnut Chart1.OpenData COD_Values, 1, 4 Chart1.Value(0, 0) = sngTotal1 Chart1.Value(0, 1) = sngTotal2 Chart1.Value(0, 2) = sngTotal3 Chart1.Value(0, 3) = sngTotal4 Chart1.CloseData(COD_Values) I expect a 4-segment pie with the percentages displayed, based on the totals I give. I am not supplying the percentage values. I am supplying the totals. Can the pie chart take the totals and display the percentages or do I have to supply the percentage values? Quote Link to comment Share on other sites More sharing options...
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.