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
Post a Comment