Jump to content
Software FX Community

Can't suppress pie labels


User (Legacy)

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...