i want to add Crosshair , a vertical and horizontal line to view the value of the axis
is this available for charts in vb.net 2017.

chart_2.png

Recommended Answers

All 2 Replies

Sorry but I only have VS2008 and VS2022 now. But for a real-time crosshair that moves with the mouse, showing its position along the X and Y axis I asked ChatGPT and it appears to only need less than 20 lines of code that respond to Chart1_MouseMove().

commented: Thanks , but i dint find any code on Google for vb.net but available for other languages\platforms . Any ling you can provide it will be helpful. +5

Given the antipathy towards AI here, all I can share is if you put "i want to add Crosshair , a vertical and horizontal line to view the value of the axis
is this available for charts in vb.net 2017." into a chatgpt session, you'll find a solution in about 20 seconds.

commented: Thank you very much. got the perfect code in much simple way. this is the first time i have used chatgpt and it will be useful in future +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.