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

Archived

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

×
×
  • Create New...