Jump to content
Software FX Community

Can't suppress pie labels


User (Legacy)
 Share

Recommended Posts

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

post-2107-13922394675601_thumb.jpg

Link to comment
Share on other sites

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

>

>

>

>

>

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...