Posted 12 September 2022, 12:14 pm EST
Hi.
1)I have tooltip for series and context menu. There are few usage issues – sometimes tooltip covers sereis item(points of chart) and it is not easy for me to click on this series point. How can I shift tooltip slightly higher than it’s actual location? I’ve used following approach:
flexChartMain.ToolTip.Content = $"some text";
flexChartMain.ToolTip.Draw += ToolTipDraw;
....
private void ToolTipDraw(object sender, DrawToolTipEventArgs e)
{
e.Graphics.ClipBounds.Offset(e.Graphics.ClipBounds.Location.X - 30,e.Graphics.ClipBounds.Location.Y - 30);
}
The thing is that handler above is never triggered… How can I shift location of a tooltip?
- I have
flexChart.SelectionMode = ChartSelectionMode.Point;
so when I need to access contenxt menu I need initially select point with left button mouse click, next right button click to show context menu for selected point on chart. Question – can I do it only within single right btn mouse click?
Thank in advance.