Public exports
The root entry is the application-facing convenience surface. It includes the chart with every built-in controller, common built-ins, persistence, themes, formatting, drawings, and synchronization plugins.
import { FinancialChart } from "@ardinsys/financial-charts";
import "@ardinsys/financial-charts/style.css";This page is the root-export inventory. Detailed behavior lives in the linked reference pages.
Chart construction and data
| Exports | Reference |
|---|---|
FinancialChart, CoreChartOptions | FinancialChart |
ChartData, TimeRange | Data contracts |
ChartOptions, ChartOptionsUpdate, ChartOptionsSnapshot, ChartOptionsChangeEvent, ChartOptionKey, ChartLocalizationOptions, WheelZoomMode | Options |
LocaleValues, LocaleValuesMap | i18n |
ControllerID, ControllerType, ControllerConstructor | Controllers |
ChartPaneSnapshot, PaneHeightsInput | View and panes |
ChartCrosshairOptions, ChartCrosshairState, ChartCrosshairChangeEvent | View and interactions |
IndicatorMutationOptions | Indicator management |
Events, formatting, and themes
| Exports | Reference |
|---|---|
EventEmitter, ChartEventMap | Events |
Formatter, DefaultFormatter, DefaultFormatterOptions | Formatting |
ChartTheme, ChartThemeMap, ChartThemeKey, BuiltInChartThemeKey, ResolvedChartTheme, Gradient, defaultLightTheme, defaultDarkTheme | Styling |
DefaultDOMAdapter | DOM adapter |
ChartThemeMap registers partial definitions by key. The chart resolves each definition from its declared built-in base and exposes the active complete ResolvedChartTheme through getOptions().
Chart and indicator state
| Exports | Reference |
|---|---|
CHART_STATE_VERSION, ChartState, ChartCoreState, ChartPaneState | State and persistence |
ChartStateContributor, ChartStateSerializationOptions, ChartStateRestoreOptions, ChartStateRestoredEvent | Custom contributors |
INDICATOR_STATE_VERSION, IndicatorState, IndicatorStateOptions, IndicatorStateValue, IndicatorIdentityOptions, IndicatorResolver, restoreIndicator | Serializable indicator state |
MovingAverageIndicator, MovingAverageOptions, MovingAverageTheme | Indicators |
Drawings and annotations
| Exports | Reference |
|---|---|
Drawing, DrawingOptions, DrawingAnchor, DrawingJSON | Drawing base |
DrawingManager, DrawingManagerOptions, DrawingManagerJSON, DrawingFactory, DrawingFactoryDescriptor, DrawingCreationFactory, DrawingDeserializer, DrawingMutationOptions, DrawingSelectionOptions | DrawingManager |
TrendLine, TrendLineOptions, HorizontalLine, HorizontalLineOptions, RectangleDrawing, RectangleDrawingOptions, TextDrawing, TextDrawingOptions | Built-in drawings |
DrawingEvent, DrawingFinishedEvent, DrawingFinishedOperation, DrawingSelectionEvent | Drawing events |
IndicatorEvent, IndicatorVisibilityChangedEvent | Indicator events |
PriceAxisAnnotation, PriceAxisAnnotationOffscreenBehavior | Price-axis annotations |
Plugins included at the root
| Exports | Reference |
|---|---|
ExtensionThemeResolver, ExtensionThemeDefaults, ExtensionThemeDefinition, ExtensionThemeMap | Extension themes |
ChartSyncPlugin, ChartSyncPluginOptions, ChartSyncCrosshairSnapshot, ChartSyncIndicatorSnapshot, ChartSyncMessage, ChartSyncMessageSource, ChartSyncMessageHandler, ChartSyncPostMessageOptions | ChartSyncPlugin |
DrawingAxisBoundsPlugin, DrawingAxisBoundsPluginOptions, DrawingAxisBoundKind, DrawingAxisBoundsLabels, DrawingAxisBoundsLabelOptions, DrawingAxisBoundsLabelContext, DrawingAxisBoundsValueContext, DrawingAxisBoundsTextContext, DrawingAxisBoundsTheme | Drawing axis bounds |
DrawingSelectionPlugin, DrawingSelectionPluginOptions, DrawingSelectionCallback | Drawing selection |
Built-in controllers
The root exports AreaController, BarController, CandlestickController, HLCAreaController, HollowCandleController, LineController, and SteplineController. Importing the root intentionally includes all of them.
For a controller-curated bundle, import FinancialChart from @ardinsys/financial-charts/core and concrete controllers from:
@ardinsys/financial-charts/controllers/area@ardinsys/financial-charts/controllers/bar@ardinsys/financial-charts/controllers/candle@ardinsys/financial-charts/controllers/hlc-area@ardinsys/financial-charts/controllers/hollow-candle@ardinsys/financial-charts/controllers/line@ardinsys/financial-charts/controllers/stepline
Authoring entry points
@ardinsys/financial-charts/extensionsexports plugin, indicator, drawing, annotation, DOM-adapter, rendering, chart-state, view, formatting, locale, and scale authoring contracts. It includes the abstractIndicator,PaneledIndicator, andDrawingauthoring bases, but not bundled plugins, drawings, managers, orDefaultDOMAdapter; those remain on the root entry. See Plugins, Indicators, Drawings, and the DOM adapter.@ardinsys/financial-charts/engineadds controllers, scales, panes, render stages, ticks, palette selection, and low-level DOM/canvas helpers. See Engine and Scales.
Package source files, dist/* implementation paths, test fixtures, icon source strings, and the internal default-controller registry are not public subpaths.