C# 클래스 System.Windows.Forms.DataVisualization.Charting.ChartTypes.FastPointChart

FastPointChart class implements a simplified point chart drawing algorithm which is optimized for the performance.
상속: IChartType
파일 보기 프로젝트 열기: AngeloCresta/winforms-datavisualization-net5

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
AddSmartLabelMarkerPositions ( CommonElements common, ChartArea area, Series series, ArrayList list ) : void

Adds markers position to the list. Used to check SmartLabelStyle overlapping.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

FastPointChart ( ) : System.Collections

Default constructor

GetImage ( System.Windows.Forms.DataVisualization.Charting.ChartTypes.ChartTypeRegistry registry ) : Image

Gets chart type image.

GetLegendImageStyle ( Series series ) : LegendImageStyle

How to draw series/points in legend: Filled rectangle, Line or Marker

GetYValue ( CommonElements common, ChartArea area, Series series, DataPoint point, int pointIndex, int yValueIndex ) : double

Helper function, which returns the Y value of the location.

Paint ( ChartGraphics graph, CommonElements common, ChartArea area, Series seriesToDraw ) : void

Paint FastPoint Chart.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

DrawMarker ( ChartGraphics graph, DataPoint point, int pointIndex, PointF location, MarkerStyle markerStyle, int markerSize, Brush brush, Pen borderPen ) : void

Draws a marker that represents a data point in FastPoint series.

메소드 상세

AddSmartLabelMarkerPositions() 공개 메소드

Adds markers position to the list. Used to check SmartLabelStyle overlapping.
public AddSmartLabelMarkerPositions ( CommonElements common, ChartArea area, Series series, ArrayList list ) : void
common CommonElements Common chart elements.
area ChartArea Chart area.
series Series Series values to be used.
list ArrayList List to add to.
리턴 void

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

DrawMarker() 보호된 메소드

Draws a marker that represents a data point in FastPoint series.
protected DrawMarker ( ChartGraphics graph, DataPoint point, int pointIndex, PointF location, MarkerStyle markerStyle, int markerSize, Brush brush, Pen borderPen ) : void
graph ChartGraphics Chart graphics used to draw the marker.
point DataPoint Series data point drawn.
pointIndex int Data point index in the series.
location PointF Marker location in pixels.
markerStyle MarkerStyle Marker style.
markerSize int Marker size in pixels.
brush Brush Brush used to fill marker shape.
borderPen Pen Marker border pen.
리턴 void

FastPointChart() 공개 메소드

Default constructor
public FastPointChart ( ) : System.Collections
리턴 System.Collections

GetImage() 공개 메소드

Gets chart type image.
public GetImage ( System.Windows.Forms.DataVisualization.Charting.ChartTypes.ChartTypeRegistry registry ) : Image
registry System.Windows.Forms.DataVisualization.Charting.ChartTypes.ChartTypeRegistry Chart types registry object.
리턴 System.Drawing.Image

GetLegendImageStyle() 공개 메소드

How to draw series/points in legend: Filled rectangle, Line or Marker
public GetLegendImageStyle ( Series series ) : LegendImageStyle
series Series Legend item series.
리턴 LegendImageStyle

GetYValue() 공개 메소드

Helper function, which returns the Y value of the location.
public GetYValue ( CommonElements common, ChartArea area, Series series, DataPoint point, int pointIndex, int yValueIndex ) : double
common CommonElements Chart common elements.
area ChartArea Chart area the series belongs to.
series Series Sereis of the location.
point DataPoint Point object.
pointIndex int Index of the location.
yValueIndex int Index of the Y value to get.
리턴 double

Paint() 공개 메소드

Paint FastPoint Chart.
public Paint ( ChartGraphics graph, CommonElements common, ChartArea area, Series seriesToDraw ) : void
graph ChartGraphics The Chart Graphics object.
common CommonElements The Common elements object.
area ChartArea Chart area for this chart.
seriesToDraw Series Chart series to draw.
리턴 void