C# Class SmartQuant.FinChart.Chart

Inheritance: UserControl
ファイルを表示 Open project: fastquant/fastquant.dll Class Usage Examples

Protected Properties

Property Type Description
TimeSeriesSmoothingMode SmoothingMode
axisBottom AxisBottom
barSeriesStyle BSStyle
bitmap System.Drawing.Bitmap
canvasBottomOffset int
canvasColor Color
canvasLeftOffset int
canvasRightOffset int
canvasTopOffset int
contentUpdated bool
firstIndex int
graphics Graphics
intervalWidth double
isMouseOverCanvas bool
lastIndex int
leftDateTime DateTime
mainSeries ISeries
mainSeriesView SeriesView
minAxisGap int
minCountOfBars int
mouseX int
mouseY int
padSplit bool
padSplitIndex int
pads PadList
padsHeightArray ArrayList
rightDateTime DateTime
scaleStyle PadScaleStyle
series ISeries
sessionEnd TimeSpan
sessionGridColor Color
sessionGridEnabled bool
sessionStart TimeSpan
smoothingMode SmoothingMode
updateStyle ChartUpdateStyle
volumePadShown bool

Private Properties

Property Type Description
DrawSessionGrid void
DrawVerticalGrid void
DrawVerticalTick void
EmitActionTypeChanged void
EmitBarSeriesStyleChanged void
EmitScaleStyleChanged void
EmitUpdateStyleChanged void
EmitVolumeVisibleChanged void
FillPadsHeightArray void
InitializeComponent void
OnChartMouseDown void
OnChartMouseLeave void
OnChartMouseUp void
OnChartMouseWheel void
OnPrimitiveUpdated void
OnScrollBarScroll void
SetBarSeriesStyle bool
SetCursor void
SetDateInterval void
SetIndexInterval void
SetPadSizes void
Update void
ZoomIn void
ZoomOut void

Public Methods

Method Description
AddPad ( ) : void
Chart ( ) : SmartQuant.FinChart.Objects
Chart ( TimeSeries mainSeries ) : SmartQuant.FinChart.Objects
ClientX ( System.DateTime dateTime ) : int
DrawEllipse ( DrawingEllipse circle, int padNumber ) : void
DrawFill ( Fill fill, int padNumber ) : void
DrawImage ( DrawingImage image, int padNumber ) : void
DrawLine ( DrawingLine line, int padNumber ) : void
DrawPath ( DrawingPath path, int padNumber ) : void
DrawRectangle ( DrawingRectangle rect, int padNumber ) : void
DrawSeries ( TimeSeries series, int padNumber, Color color, SimpleDSStyle style, SearchOption option, SmoothingMode smoothingMode ) : DSView
DrawSeries ( TimeSeries series, int padNumber, Color color ) : void
DrawSeries ( TimeSeries series, int padNumber, Color color, SearchOption option ) : void
DrawSeries ( TimeSeries series, int padNumber, Color color, SimpleDSStyle style ) : void
DrawSeries ( TimeSeries series, int padNumber, Color color, SimpleDSStyle style, SmoothingMode smoothingMode ) : void
EnsureVisible ( Fill fill ) : void
GetDateTime ( int x ) : System.DateTime
GetPadNumber ( Point point ) : int
HideVolumePad ( ) : void
OnItemAdded ( ) : void
Reset ( ) : void
SetMainSeries ( ISeries mainSeries ) : void
SetMainSeries ( ISeries mainSeries, bool showVolumePad, Color color ) : void
ShowProperties ( DSView view, Pad pad, bool forceShowProperties ) : void
ShowVolumePad ( ) : void
UnSelectAll ( ) : void
ZoomIn ( ) : void
ZoomOut ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnKeyPress ( KeyPressEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs pevent ) : void
OnResize ( EventArgs e ) : void

Private Methods

Method Description
DrawSessionGrid ( Pen pen, long x ) : void
DrawVerticalGrid ( Pen pen, long x ) : void
DrawVerticalTick ( Pen Pen, long x, int length ) : void
EmitActionTypeChanged ( ) : void
EmitBarSeriesStyleChanged ( ) : void
EmitScaleStyleChanged ( ) : void
EmitUpdateStyleChanged ( ) : void
EmitVolumeVisibleChanged ( ) : void
FillPadsHeightArray ( ) : void
InitializeComponent ( ) : void
OnChartMouseDown ( object sender, MouseEventArgs e ) : void
OnChartMouseLeave ( object sender, EventArgs e ) : void
OnChartMouseUp ( object sender, MouseEventArgs e ) : void
OnChartMouseWheel ( object sender, MouseEventArgs e ) : void
OnPrimitiveUpdated ( object sender, EventArgs e ) : void
OnScrollBarScroll ( object sender, ScrollEventArgs e ) : void
SetBarSeriesStyle ( BSStyle barSeriesStyle, bool force ) : bool
SetCursor ( ChartCursorType type ) : void
SetDateInterval ( System.DateTime firstDateTime, System.DateTime lastDateTime ) : void
SetIndexInterval ( int firstIndex, int lastIndex ) : void
SetPadSizes ( ) : void
Update ( Graphics graphics ) : void
ZoomIn ( int delta ) : void
ZoomOut ( int delta ) : void

Method Details

AddPad() public method

public AddPad ( ) : void
return void

Chart() public method

public Chart ( ) : SmartQuant.FinChart.Objects
return SmartQuant.FinChart.Objects

Chart() public method

public Chart ( TimeSeries mainSeries ) : SmartQuant.FinChart.Objects
mainSeries TimeSeries
return SmartQuant.FinChart.Objects

ClientX() public method

public ClientX ( System.DateTime dateTime ) : int
dateTime System.DateTime
return int

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

DrawEllipse() public method

public DrawEllipse ( DrawingEllipse circle, int padNumber ) : void
circle SmartQuant.FinChart.Objects.DrawingEllipse
padNumber int
return void

DrawFill() public method

public DrawFill ( Fill fill, int padNumber ) : void
fill Fill
padNumber int
return void

DrawImage() public method

public DrawImage ( DrawingImage image, int padNumber ) : void
image SmartQuant.FinChart.Objects.DrawingImage
padNumber int
return void

DrawLine() public method

public DrawLine ( DrawingLine line, int padNumber ) : void
line SmartQuant.FinChart.Objects.DrawingLine
padNumber int
return void

DrawPath() public method

public DrawPath ( DrawingPath path, int padNumber ) : void
path SmartQuant.FinChart.Objects.DrawingPath
padNumber int
return void

DrawRectangle() public method

public DrawRectangle ( DrawingRectangle rect, int padNumber ) : void
rect SmartQuant.FinChart.Objects.DrawingRectangle
padNumber int
return void

DrawSeries() public method

public DrawSeries ( TimeSeries series, int padNumber, Color color, SimpleDSStyle style, SearchOption option, SmoothingMode smoothingMode ) : DSView
series TimeSeries
padNumber int
color Color
style SimpleDSStyle
option SearchOption
smoothingMode SmoothingMode
return DSView

DrawSeries() public method

public DrawSeries ( TimeSeries series, int padNumber, Color color ) : void
series TimeSeries
padNumber int
color Color
return void

DrawSeries() public method

public DrawSeries ( TimeSeries series, int padNumber, Color color, SearchOption option ) : void
series TimeSeries
padNumber int
color Color
option SearchOption
return void

DrawSeries() public method

public DrawSeries ( TimeSeries series, int padNumber, Color color, SimpleDSStyle style ) : void
series TimeSeries
padNumber int
color Color
style SimpleDSStyle
return void

DrawSeries() public method

public DrawSeries ( TimeSeries series, int padNumber, Color color, SimpleDSStyle style, SmoothingMode smoothingMode ) : void
series TimeSeries
padNumber int
color Color
style SimpleDSStyle
smoothingMode SmoothingMode
return void

EnsureVisible() public method

public EnsureVisible ( Fill fill ) : void
fill Fill
return void

GetDateTime() public method

public GetDateTime ( int x ) : System.DateTime
x int
return System.DateTime

GetPadNumber() public method

public GetPadNumber ( Point point ) : int
point Point
return int

HideVolumePad() public method

public HideVolumePad ( ) : void
return void

OnItemAdded() public method

public OnItemAdded ( ) : void
return void

OnKeyPress() protected method

protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnPaintBackground() protected method

protected OnPaintBackground ( PaintEventArgs pevent ) : void
pevent PaintEventArgs
return void

OnResize() protected method

protected OnResize ( EventArgs e ) : void
e System.EventArgs
return void

Reset() public method

public Reset ( ) : void
return void

SetMainSeries() public method

public SetMainSeries ( ISeries mainSeries ) : void
mainSeries ISeries
return void

SetMainSeries() public method

public SetMainSeries ( ISeries mainSeries, bool showVolumePad, Color color ) : void
mainSeries ISeries
showVolumePad bool
color Color
return void

ShowProperties() public method

public ShowProperties ( DSView view, Pad pad, bool forceShowProperties ) : void
view DSView
pad Pad
forceShowProperties bool
return void

ShowVolumePad() public method

public ShowVolumePad ( ) : void
return void

UnSelectAll() public method

public UnSelectAll ( ) : void
return void

ZoomIn() public method

public ZoomIn ( ) : void
return void

ZoomOut() public method

public ZoomOut ( ) : void
return void

Property Details

TimeSeriesSmoothingMode protected_oe property

protected SmoothingMode TimeSeriesSmoothingMode
return SmoothingMode

axisBottom protected_oe property

protected AxisBottom,SmartQuant.FinChart axisBottom
return AxisBottom

barSeriesStyle protected_oe property

protected BSStyle barSeriesStyle
return BSStyle

bitmap protected_oe property

protected Bitmap,System.Drawing bitmap
return System.Drawing.Bitmap

canvasBottomOffset protected_oe property

protected int canvasBottomOffset
return int

canvasColor protected_oe property

protected Color canvasColor
return Color

canvasLeftOffset protected_oe property

protected int canvasLeftOffset
return int

canvasRightOffset protected_oe property

protected int canvasRightOffset
return int

canvasTopOffset protected_oe property

protected int canvasTopOffset
return int

contentUpdated protected_oe property

protected bool contentUpdated
return bool

firstIndex protected_oe property

protected int firstIndex
return int

graphics protected_oe property

protected Graphics graphics
return Graphics

intervalWidth protected_oe property

protected double intervalWidth
return double

isMouseOverCanvas protected_oe property

protected bool isMouseOverCanvas
return bool

lastIndex protected_oe property

protected int lastIndex
return int

leftDateTime protected_oe property

protected DateTime leftDateTime
return DateTime

mainSeries protected_oe property

protected ISeries mainSeries
return ISeries

mainSeriesView protected_oe property

protected SeriesView mainSeriesView
return SeriesView

minAxisGap protected_oe property

protected int minAxisGap
return int

minCountOfBars protected_oe property

protected int minCountOfBars
return int

mouseX protected_oe property

protected int mouseX
return int

mouseY protected_oe property

protected int mouseY
return int

padSplit protected_oe property

protected bool padSplit
return bool

padSplitIndex protected_oe property

protected int padSplitIndex
return int

pads protected_oe property

protected PadList pads
return PadList

padsHeightArray protected_oe property

protected ArrayList padsHeightArray
return ArrayList

rightDateTime protected_oe property

protected DateTime rightDateTime
return DateTime

scaleStyle protected_oe property

protected PadScaleStyle scaleStyle
return PadScaleStyle

series protected_oe property

protected ISeries series
return ISeries

sessionEnd protected_oe property

protected TimeSpan sessionEnd
return TimeSpan

sessionGridColor protected_oe property

protected Color sessionGridColor
return Color

sessionGridEnabled protected_oe property

protected bool sessionGridEnabled
return bool

sessionStart protected_oe property

protected TimeSpan sessionStart
return TimeSpan

smoothingMode protected_oe property

protected SmoothingMode smoothingMode
return SmoothingMode

updateStyle protected_oe property

protected ChartUpdateStyle updateStyle
return ChartUpdateStyle

volumePadShown protected_oe property

protected bool volumePadShown
return bool