在 C1Chart for WPF下自绘ToolTips

为了提高C1Chart WPF的大数据展现性能,特别是在Line和Symbol类型的Charts中,系统预设了一个办法:即我们可以通过设置 <a href="http://helpcentral.componentone.com/nethelp/c1wpfchart/#!XMLDocuments/WPFChartRef/html/P_C1_WPF_C1Chart_DataSeries_RenderMode.htm">DataSeries.RenderMode</a>属性为RenderMode.Bitmap实现。然而,当设置RenderMode.Bitmap后,Tooltips和PlotElementLoaded 事件就失效了。本篇博文介绍一个新的方法:在一个散点图中,通过RenderMode的属性设置为”Bitmap”来显示ToolTips:<a href="http://www.grapecity.com.cn/image.ashx?picture=ToolTipInChart.gif"><img title="ToolTipInChart" style="display: inline" alt="ToolTipInChart" src="http://www.grapecity.com.cn/image.ashx?picture=ToolTipInChart.gif" width="640" height="419" /></a>