ChartPaintEventArgs.ChartGraphics Property

.NET Framework 4.6 and 4.5

Gets a ChartGraphics object.

Namespace:  System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public ChartGraphics ChartGraphics { get; }

Use this object property during a painting event to:

  • Help with the conversion to and from relative and/or absolute chart coordinates.

  • Perform custom drawing using a GDI+ Graphics object.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft