Tooltip for DateTime format
Posted: Mon Jun 19, 2017 2:15 pm
Hi Steema,
We have one query regarding the tooltip as shown in the attached image, i am showing tooltip using Markstip Tool.
But in my case X scale is plotted with "date-time" values and Y axis use double value and we are using candle series. And i am using below code-
StringBuilder sb = new StringBuilder("");
sb.Append("Time: ");
sb.Append(e.Text);
So when we are using this e.Text property, it gives X value in double format i.e "42,739" and Y value is "122.545" so here Y value is correct but X value is not in Datetime format.
i also used method ---scandleSeries1.ScreenPointToValuePoint(e.X,0).X; for this but still this method does not able to convert this double value to date time.
Please provide any solution asap.
Thanks in advance.
Planoresearch
We have one query regarding the tooltip as shown in the attached image, i am showing tooltip using Markstip Tool.
But in my case X scale is plotted with "date-time" values and Y axis use double value and we are using candle series. And i am using below code-
StringBuilder sb = new StringBuilder("");
sb.Append("Time: ");
sb.Append(e.Text);
So when we are using this e.Text property, it gives X value in double format i.e "42,739" and Y value is "122.545" so here Y value is correct but X value is not in Datetime format.
i also used method ---scandleSeries1.ScreenPointToValuePoint(e.X,0).X; for this but still this method does not able to convert this double value to date time.
Please provide any solution asap.
Thanks in advance.
Planoresearch