C# Класс System.Windows.Forms.DataVisualization.Charting.ChartTypes.FastPointChart

FastPointChart class implements a simplified point chart drawing algorithm which is optimized for the performance.
Наследование: IChartType
Показать файл Открыть проект

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