Hello, I want to add a vertical line to UltraChart as shown below.
I tried to make a line by using Graphics.DrawLine() but I can't find specific data's x_position
(For example, In the picture, the x_position where "2020-06-30" located at).
Any help would be appreciated.
Hello,
Thank you for posting in Infragistics forum.
You can draw a custom line on a chart using UltraChart’s FillSceneGraph event as illustrated in the forum below.
https://www.infragistics.com/community/forums/f/ultimate-ui-for-asp-net/64446/ultrachart---drawing-a-custom-line-threshold-line-in-the-line-chart
I have created a sample of UltraChart that uses DateTime as its X axis and added a custom vertical line on a specific date.
4760.WindowsFormsApp1.zip
Thank you so much, My problem was solved.