Jump to content
Software FX Community

ChartFX and annotation problem!


User (Legacy)

Recommended Posts

Hello

Why the my program crashes when I use Annotation object?

this is the code which I use to add annotation object instead Title object, because the Title object are very UNSATISFACTORY

Dim annotx As New AnnotationX

chart.Extensions.Add annotx

Dim a As New AnnotationText

annotx.List.Add a

a.Attach 1, 1, 20, 60

a.Align = Far

a.border.Color = 0

a.Color = vbRed

a.Font.Name = "Arial Unicode MS"

a.Font.Size = 13

a.Text = "message"

without this code program works well, excepting that from time to time ChartFX crushes.

Thanks

Link to comment
Share on other sites

Hello

Why the my program crashes when I use Annotation object?

this is the code which I use to add annotation object instead Title object, because the Title object are very UNSATISFACTORY

Dim annotx As New AnnotationX

chart.Extensions.Add annotx

Dim a As New AnnotationText

annotx.List.Add a

a.Attach 1, 1, 20, 60

a.Align = Far

a.border.Color = 0

a.Color = vbRed

a.Font.Name = "Arial Unicode MS"

a.Font.Size = 13

a.Text = "message"

without this code program works well, excepting that from time to time ChartFX crushes.

Thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...