User (Legacy) Posted March 18, 2003 Report Posted March 18, 2003 I'm using a constant line object to track the mouse. I'm also setting the text property of the line so that it displays the current location. The line text is nicely drawn along the line at the edge of the chart. Unfortuantely, if I set the line text, I ALSO get a tooltip which obscures the data on the chart. The tooltip and line text display the exact same information. Is there a way to keep the text but loose the tooltip? I don't need to see the information twice. This is the code to draw the constant line line.ShowLine = true; line.Axis = ChartFx.AxisItem.X; line.Value = chart.AxisX.PixelToValue(args.Y); line.Text = string.Format("Height: {0}", chart.AxisX.PixelToValue(args.Y).ToString("F2")); previousXlocation = newXlocation; Thanks Mitch
Software FX Posted March 24, 2003 Report Posted March 24, 2003 You can turn ShowTips = Flase while you are dragging to prevent the ToolTip from showing. -- FP Software FX, Inc.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.