[]
        
(Showing Draft Content)

C1.Win.Chart.FlexChartBase

FlexChartBase Class

Base class for chart controls.

Implements
IChartBase
IStyleProvider
IPalette
IBrushConverter
IMetricProvider
IFontConverter
Namespace: C1.Win.Chart
Assembly: C1.Win.FlexChart.8.dll
Syntax
public abstract class FlexChartBase : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IChartBase, IStyleProvider, IPalette, IBrushConverter, IMetricProvider, IFontConverter

Fields

Name Description
HitTestThreshold

The mouse hit test threshold.

updating

The control update counter.

Properties

Name Description
BackColor
CanShowTooltip

Specifies whether to show the tooltip.

CustomPalette

Gets or sets the custom palette.

DefaultSize

Gets the default control's size.

Font

Gets the chart footer.

ForeColor
Header

Gets the chart header.

Legend

Gets the chart legend.

Palette

Gets or sets the chart palette.

PlotStyle

Gets the style of plot area(area inside axes).

SelectedIndex

Gets or sets the index of chart selected element.

SelectionMode

Gets or sets the chart selection mode.

SelectionStyle

Gets the style of selected element.

SmoothingMode

Gets or sets chart smoothing mode.

ToolTip

Gets the chart tooltip.

Methods

Name Description
BeginUpdate()

Suspends notifications until the next call to EndUpdate.

DrawChart(Graphics, Point, Size)

Draws chart on the specified graphics at the specified point with specified size.

DrawChart(Graphics, Size)

Draws chart on the specified graphics with specified size.

EndUpdate()

Resumes notifications suspended by calls to BeginUpdate.

GetContent(HitTestInfo, string)

Gets the content depending on mouse position C1.Chart.HitTestInfo.

GetStyle(string)

Gets the style by name.

HideTooltip()

Hides tooltip.

HitTest(Point)

Gets a HitTestInfo object with information about the specified point.

OnMouseLeave(EventArgs)

Raises OnMouseLeave event.

OnMouseMove(MouseEventArgs)

Raises MouseMove event.

OnMouseWheel(MouseEventArgs)
OnSelectionChanged(EventArgs)

Raises SelectionChanged event.

ResetPalette()

Restores the default value of the Palette property.

SaveImage()

Saves chart as image to the clipboard.

SaveImage(Stream, ImageFormat, int, int)

Saves chart as image with to the specified stream.

SaveImage(int, int)

Saves chart as image with specified width and height to the clipboard.

ShouldSerializeBackColor()
ShouldSerializeFont()
ShouldSerializeForeColor()
ShouldSerializePalette()

Specifies whether to save the value of the Palette property.

Events

Name Description
LegendItemFormat

Fires when formatting legend item.

Rendered

Fires after chart finishes rendering.

Rendering

Fires before chart starts rendering.

SelectionChanged

Fires after selected element was changed.