[]
        
(Showing Draft Content)

C1.Blazor.Chart.FlexChartBase

FlexChartBase Class

Base class for chart controls.

Inheritance
FlexChartBase
Namespace: C1.Blazor.Chart
Assembly: C1.Blazor.Chart.dll
Syntax
public abstract class FlexChartBase : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Fields

Name Description
HitTestThreshold

Hit testing sensivity.

_selectedIndex
canAnimate
id

Chart unique id.

list

Stores a list of charts.

updating

Whether the chart is being updated.

Properties

Name Description
Class

Gets or sets CSS class name.

CustomPalette

Gets or sets the custom palette.

FooterContent

Gets or sets the footer content.

FooterStyle

Gets or sets the footer style.

HeaderContent

Gets or sets the header content.

HeaderStyle

Gets or sets the header style.

Host

Gets or sets control's host element.

JSRuntime
LegendGroupHeaderStyle

Gets or sets the legend group title style.

LegendPosition

Gets or sets the legend position.

LegendScrollbars

Gets or sets which scroll bars should appear in legend.

LegendStyle

Gets or sets the legend style.

LegendTitle

Gets or sets the legend title.

LegendTitleStyle

Gets or sets the legend title style.

Palette

Gets or sets the chart palette.

PlotStyle

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

Rendered

Fires after chart finishes rendering.

Rendering

Fires before chart starts rendering.

SelectedIndex

Gets or sets the index of chart selected element.

SelectionChanged

Fires after selected element was changed.

SelectionMode

Gets or sets the chart selection mode.

SelectionStyle

Gets the seletion style.

Style

Gets or sets the chart style.

Tooltip

Gets or sets the tooltip template for the series.

svg

Gets or set the SVG presentation.

Methods

Name Description
BeginUpdate()

Suspends notifications until the next call to EndUpdate.

Dispose()

Disposes the component.

Dispose(bool)

Disposes the component.

EndUpdate()

Resumes notifications suspended by calls to BeginUpdate.

GetContent(HitTestInfo, string)

Gets the content based on template.

GetDouble(JsonElement, string)
GetMeasureElements()
GetStyle(string)

Gets the style by name.

HitTest(C1Point)

Gets a HitTestInfo object with information about the specified point.

OnAfterRenderAsync(bool)

Invoked after async rendering.

OnClick(_Point)

Called when user clicks on the control.

OnInitialized()
OnSelectionChanged(EventArgs)

Raises SelectionChanged event.

ParseMeasureElements(JsonElement)
SaveImage(string, ImageFormat)

Save chart as an image using specified format.