C# Class HasK.Controls.Graph.ChartFunction

Math function on chart
Inheritance: ChartVisibleObject
Exibir arquivo Open project: xHasKx/CSharp.Controls.Graph.Chart Class Usage Examples

Protected Properties

Property Type Description
_func MathFunction

Public Methods

Method Description
ChartFunction ( Chart chart, MathFunction func ) : System

Create math function on chart

ChartFunction ( Chart chart, MathFunction func, Color color ) : System

Create math function on chart

Draw ( Graphics g ) : void

Chart will calls this method to draw object

Method Details

ChartFunction() public method

Create math function on chart
public ChartFunction ( Chart chart, MathFunction func ) : System
chart Chart Chart for function
func MathFunction The math function for display
return System

ChartFunction() public method

Create math function on chart
public ChartFunction ( Chart chart, MathFunction func, Color color ) : System
chart Chart Chart for function
func MathFunction The math function for display
color Color Color of function
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

Property Details

_func protected_oe property

The function which should be drawed
protected MathFunction _func
return MathFunction