Constants
Constants and presets exported by @reincharts/interactive.
annotationTools
Drawing tools of one toolbar group: textTool, callout, priceLabel, priceLine.
const annotationTools: ToolDefinition[]arrow
The Arrow drawing tool (type: "arrow").
const arrow: ToolDefinitionbrush
The Brush drawing tool (type: "brush").
const brush: ToolDefinitionbuiltinTools
Every built-in tool, in toolbar order.
const builtinTools: readonly ToolDefinition[]callout
The Callout drawing tool (type: "callout").
const callout: ToolDefinitioncrossLine
The Cross Line drawing tool (type: "crossLine").
const crossLine: ToolDefinitiondateAndPriceRange
The Date and Price Range drawing tool (type: "dateAndPriceRange").
const dateAndPriceRange: ToolDefinitiondateRange
The Date Range drawing tool (type: "dateRange").
const dateRange: ToolDefinitionDRAWING_COLORS
Default color swatches.
const DRAWING_COLORS: string[]ellipse
The Ellipse drawing tool (type: "ellipse").
const ellipse: ToolDefinitionextendedLine
The Extended Line drawing tool (type: "extendedLine").
const extendedLine: ToolDefinitionFIB_LEVELS
Default fibonacci levels and colors.
const FIB_LEVELS: readonly DrawingLevel[]fibExtension
The Trend-Based Fib Extension drawing tool (type: "fibExtension").
const fibExtension: ToolDefinitionfibRetracement
The Fib Retracement drawing tool (type: "fibRetracement").
const fibRetracement: ToolDefinitionfibTools
Drawing tools of one toolbar group: fibRetracement, fibExtension, gannFan.
const fibTools: ToolDefinition[]freehandTools
Freehand tools: brush and highlighter.
const freehandTools: ToolDefinition[]GANN_LEVELS
Default gann fan ratios (time/price).
const GANN_LEVELS: readonly DrawingLevel[]gannFan
The Gann Fan drawing tool (type: "gannFan").
const gannFan: ToolDefinitionhighlighter
Thick, translucent freehand strokes for marking up a chart.
const highlighter: ToolDefinitionhorizontalLineTool
The Horizontal Line drawing tool (type: "horizontalLine").
const horizontalLineTool: ToolDefinitionhorizontalRay
The Horizontal Ray drawing tool (type: "horizontalRay").
const horizontalRay: ToolDefinitionicons
Built-in 28×28 line icons (tool and toolbar icons), drawn with currentColor.
const icons: { trendLine: React.JSX.Element; ray: React.JSX.Element; extendedLine: React.JSX.Element; infoLine: React.JSX.Element; arrow: React.JSX.Element; ... 44 more ...; more: React.JSX.Element; }infoLine
The Info Line drawing tool (type: "infoLine").
const infoLine: ToolDefinitionlineTools
Drawing tools of one toolbar group: trendLine, ray, infoLine, extendedLine, arrow, horizontalLineTool, horizontalRay, verticalLineTool, crossLine, parallelChannel, regressionChannel, pitchfork.
const lineTools: ToolDefinition[]longPosition
The Long position drawing tool (type: "longPosition").
const longPosition: ToolDefinitionmeasureTools
Drawing tools of one toolbar group: longPosition, shortPosition, priceRange, dateRange, dateAndPriceRange.
const measureTools: ToolDefinition[]parallelChannel
The Parallel Channel drawing tool (type: "parallelChannel").
const parallelChannel: ToolDefinitionpath
The Path drawing tool (type: "path").
const path: ToolDefinitionpitchfork
The Pitchfork drawing tool (type: "pitchfork").
const pitchfork: ToolDefinitionpriceLabel
The Price Label drawing tool (type: "priceLabel").
const priceLabel: ToolDefinitionpriceLine
Draggable horizontal price line with a label and a close button (orders, alerts).
const priceLine: ToolDefinitionpriceRange
The Price Range drawing tool (type: "priceRange").
const priceRange: ToolDefinitionray
The Ray drawing tool (type: "ray").
const ray: ToolDefinitionrectangle
The Rectangle drawing tool (type: "rectangle").
const rectangle: ToolDefinitionregressionChannel
The Regression Trend drawing tool (type: "regressionChannel").
const regressionChannel: ToolDefinitionshapeTools
Drawing tools of one toolbar group: rectangle, ellipse, triangle, path.
const shapeTools: ToolDefinition[]shortPosition
The Short position drawing tool (type: "shortPosition").
const shortPosition: ToolDefinitiontextTool
The Text drawing tool (type: "text").
const textTool: ToolDefinitionTOLERANCE
Hit tolerance in pixels.
const TOLERANCE: 6toolGroups
Toolbar groups (toolbar order).
const toolGroups: readonly { readonly id: string; readonly label: string; }[]trendLine
The Trend Line drawing tool (type: "trendLine").
const trendLine: ToolDefinitiontriangle
The Triangle drawing tool (type: "triangle").
const triangle: ToolDefinitionverticalLineTool
The Vertical Line drawing tool (type: "verticalLine").
const verticalLineTool: ToolDefinition