User (Legacy) Posted June 3, 2003 Report Share Posted June 3, 2003 Hi, Any idea why I can display a legendbox, but not suppress printing the labels beside the pie slices? With ChartFX1 .BorderStyle = BORDER_FLAT .LegendBox = True .PointLabels = False With .LegendBoxObj .Docked = TGFP_FIXED .AutoSize = False .SizeToFit .BorderStyle = BBS_FLAT '.BorderStyle = BBS_NONE .BkColor = vbWhite .Visible = True .Left = Int(ChartFX1.Width / Screen.TwipsPerPixelX) - .Width - 1 .Top = Int(ChartFX1.Height / Screen.TwipsPerPixelY) - .Height End With .RightGap = .LegendBoxObj.Width End With Quote Link to comment Share on other sites More sharing options...
Software FX Posted June 4, 2003 Report Share Posted June 4, 2003 The following code generates a chart (using ChartFX Internet 5.5) showing no labels in the pie slices, are you doing something else in your code ? Is this a VB app ? asp page ? chart.Gallery = PIE chart.OpenDataEx COD_VALUES,1,3 chart.ValueEx(0,0) = 10 chart.ValueEx(0,1) = 12 chart.ValueEx(0,2) = 6 chart.CloseData COD_VALUES chart.Legend(0) = "Jan" chart.Legend(1) = "Feb" chart.Legend(2) = "Mar" chart.LegendBox = true -- Regards, JC Software FX Support "Brian" <briank@xeye.com> wrote in message news:J590QydKDHA.2848@webserver1.softwarefx.com... > Hi, > > Any idea why I can display a legendbox, but not suppress printing the labels > beside the pie slices? > > With ChartFX1 > > .BorderStyle = BORDER_FLAT > .LegendBox = True > .PointLabels = False > > With .LegendBoxObj > > .Docked = TGFP_FIXED > .AutoSize = False > .SizeToFit > .BorderStyle = BBS_FLAT > '.BorderStyle = BBS_NONE > .BkColor = vbWhite > .Visible = True > > .Left = Int(ChartFX1.Width / Screen.TwipsPerPixelX) - .Width - 1 > .Top = Int(ChartFX1.Height / Screen.TwipsPerPixelY) - .Height > > End With > > .RightGap = .LegendBoxObj.Width > > End With > > > > > 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.