Group: Forum Members
Last Active: 11 Years Ago
Posts: 1,
Visits: 1
|
For custom painting, I need to use Graphics object. I am using custom implementation of the INPaintCallback:
stockChart.PaintCallback = new CustomPaintCallback();
public class CustomPaintCallback : INPaintCallback { public void OnAfterPaint(NPanel panel, NPanelPaintEventArgs eventArgs) { Graphics graphics = eventArgs.Graphics.DeviceGraphics; /// graphics is null ????? } }
With some research, I found that Graphics object is null when NTooltipTool is used together with any chart. Is there anyway to get this Graphics object together with NTooltipTool?
Regards,
|