How to place a custom label on a data point on a chart in vb.net? -


i know simple one, maybe having trouble asking question(searching same question.) simple line of code:

chart1.series("drawing").points.addxy((xcoord(ya, yb)), ((ycoord(ya, yb)))) 

how add custom label point on chart such "1" or "point 1."?

first, must know target point.

-either :

    dim targetpoint int32 = 5     chart1.series("drawing").points.item(targetpoint)......     ' targetpoint valid n-th index of point. 

-or :

    dim targetpoint int32     targetpoint = chart1.series("drawing").points.addxy(....) 

then, use targetpoint edit label :

    chart1.series("drawing").points.item(targetpoint).label = "lalalilala" 

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -