Jump to content
Software FX Community

need help in chartfx7.0 / vs2005/ vb.net/ vbscript


donvari

Recommended Posts

Hi, I would like to set the pointlabels position dynamiclly. So I need to check the length (value) of every Point (gant its a gant chart) in the chart and if the value is greater than a specified value the pointlabels should be in the gant (far) otherwise near the gant. I do this with a event on the client side (vbscript).

Here is some code:

Sub

Chart1_PrePaint(sender,e)

PositionLabel Document.All.Item("Chart1")

End SubSub PositionLabel(ChartObject)

MsgBox ChartObject.

Data.Item(0, 0) 'Example

End Sub

I catch the pre_paint event and call a sub and need the chart.data.item(0,0) properies/value, but it doesn't work

Does somebody have a suggestion?

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.

×
×
  • Create New...