C# Class HasK.Controls.Graph.ChartTextPoint

Simple square point on chart with specified color and text near it
Inheritance: ChartPoint
Mostrar archivo Open project: xHasKx/CSharp.Controls.Graph.Chart Class Usage Examples

Public Methods

Method Description
ChartTextPoint ( Chart chart, string text, DPoint center, TextPlaceType place_type ) : System

Create simple square point on chart with specified color and text near it

Draw ( Graphics g ) : void

Chart will calls this method to draw object

Method Details

ChartTextPoint() public method

Create simple square point on chart with specified color and text near it
public ChartTextPoint ( Chart chart, string text, DPoint center, TextPlaceType place_type ) : System
chart Chart Chart for point
text string Text near the point
center DPoint The center position of this point, in real coordinates
place_type TextPlaceType Text placement type of text near the point
return System

Draw() public method

Chart will calls this method to draw object
public Draw ( Graphics g ) : void
g System.Drawing.Graphics Graphics, which should be used for drawing
return void