I have Time series chart (CategoryXAxis and NumericYAxis) and user have an option to play the historical time data.
When user plays the historical data, he/she wants to see the moving vertical line that indicates the time.(as in the attached screen shot)
I am not sure whether this can be achieved by using Strip Lines, Could anyone have suggestion?
Hello,
Thank you for your post. I have been looking into it, but it seems like that I am missing something in your scenario. Could please be more specific what is your requirement? Do you want a vertical line that the user could move left and right with the mouse?
Looking forward for your reply.
Hello Stefan,
I do have this requirement where I want to draw a vertical line & move it left-right within the ultradatachart control which uses CategoryXaxis & NumericYaxis.
What I have done so far is using the painteventargs I am able to draw a graphic line. Also using this event(painteventargs) I am drawing border which is done within paint event of the control(i.e. ultradatachart) itself.Now my issue is i cannot click/select this graphic line i placed on the chart.
private void ultradatachart1_Paint(object sender, PaintEventArgs e) {
controlPaint.DrawBorder(e.Graphics, this.ultradatachart1.ViewportRect, Color.Black, ButtonBorderStyle.Solid));
e.Graphics.DrawLine(new Pen(color, 2),pt1, pt2);
}
Also i want to achieve this behavior with mouse events click,move,mouseup,mousedown.;where I click on the line/select it and it should move as i move the mouse on the chart & stays at the new location of last mouseclick.
Any suggestions for doing same with infragistics control / any other ??