From: SourceForge.net <no...@so...> - 2007-05-30 08:02:12
|
Feature Requests item #1728098, was opened at 2007-05-30 01:02 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821571&aid=1728098&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: None Status: Open Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Custom Display of Coordinates Initial Comment: A user may want to display Co-ordinates in custome format ... say for example in a candle plot one may want to display the Open High Low Close points in the tool tip. I tried in this way but not that good in CandlePlot.CandleDataAdapter public string GetCoordinateString(double x, uint stickwidth) { string s = ""; for (int i = 0; i < this.Count-1; i++) { PointOLHC pnt = this[i]; double x1 =this[i].X; double x2 = this[i+1].X; if (x>x1 && x< x2) { s = "Open\t" + pnt.Open.ToString("{0.00}") + "\nHigh\t" + pnt.High.ToString("{0.00}") + "\nLow\t" + pnt.Low.ToString("{0.00}") + "\nClose\t" + pnt.Close.ToString("{0.00}"); break; } } return s; } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821571&aid=1728098&group_id=161868 |