C# Class SmartQuant.Charting.Pie

Inheritance: IDrawable
Mostra file Open project: fastquant/fastquant.dll

Public Methods

Method Description
Add ( double weight ) : void
Add ( double weight, string text ) : void
Add ( double weight, string text, Color color ) : void
Distance ( double x, double y ) : TDistance
Draw ( ) : void
Draw ( string option ) : void
Paint ( Pad pad, double xMin, double xMax, double yMin, double yMax ) : void
Pie ( ) : System
Pie ( string name ) : System
Pie ( string name, string title ) : System

Private Methods

Method Description
CreatePalette ( Color lowColor, Color highColor, int nColors ) : Color[]
CreateRainbowPalette ( ) : Color[]
MakeLegend ( ) : void

Method Details

Add() public method

public Add ( double weight ) : void
weight double
return void

Add() public method

public Add ( double weight, string text ) : void
weight double
text string
return void

Add() public method

public Add ( double weight, string text, Color color ) : void
weight double
text string
color Color
return void

Distance() public method

public Distance ( double x, double y ) : TDistance
x double
y double
return TDistance

Draw() public method

public Draw ( ) : void
return void

Draw() public method

public Draw ( string option ) : void
option string
return void

Paint() public method

public Paint ( Pad pad, double xMin, double xMax, double yMin, double yMax ) : void
pad Pad
xMin double
xMax double
yMin double
yMax double
return void

Pie() public method

public Pie ( ) : System
return System

Pie() public method

public Pie ( string name ) : System
name string
return System

Pie() public method

public Pie ( string name, string title ) : System
name string
title string
return System