Skip to content

charton API


charton API / @chart-on/core / index / defaultMessages

Variable: defaultMessages ​

const defaultMessages: object

Defined in: packages/core/src/util/locale.ts:64

The chart's built-in English text, by message key. {name} marks a value filled in at run time. Drawing tool names are not listed: their key is tool. plus the tool's type (e.g. tool.trendline), and the tool's label is the default. Indicator text is not listed either: its keys are made from ids, with the definition's own text as the default: indicator.<id> (name), indicator.<id>.description, input.<id>.<input> (input label), input.<id>.<input>.<value> (select choice), inputGroup.<id>.<group> and plot.<id>.<plot> (plot title).

Type Declaration ​

actionAutoScale ​

readonly actionAutoScale: "Auto scale" = 'Auto scale'

actionCopy ​

readonly actionCopy: "Copy" = 'Copy'

actionCopyDrawings ​

readonly actionCopyDrawings: "Copy selected drawings" = 'Copy selected drawings'

actionCrosshairNext ​

readonly actionCrosshairNext: "Crosshair to the next bar" = 'Crosshair to the next bar'

actionCrosshairPrev ​

readonly actionCrosshairPrev: "Crosshair to the previous bar" = 'Crosshair to the previous bar'

actionCut ​

readonly actionCut: "Cut" = 'Cut'

actionCutDrawings ​

readonly actionCutDrawings: "Cut selected drawings" = 'Cut selected drawings'

actionDeleteDrawings ​

readonly actionDeleteDrawings: "Remove selected drawings" = 'Remove selected drawings'

actionDrawTool ​

readonly actionDrawTool: "Draw: {tool}" = 'Draw: {tool}'

actionFitContent ​

readonly actionFitContent: "Fit all bars" = 'Fit all bars'

actionGroupDrawings ​

readonly actionGroupDrawings: "Group selected drawings" = 'Group selected drawings'

actionHideDrawings ​

readonly actionHideDrawings: "Hide all drawings" = 'Hide all drawings'

actionLockDrawings ​

readonly actionLockDrawings: "Lock all drawings" = 'Lock all drawings'

actionNewestBar ​

readonly actionNewestBar: "Go to the newest bar" = 'Go to the newest bar'

actionOldestBar ​

readonly actionOldestBar: "Go to the oldest bar" = 'Go to the oldest bar'

actionPageNewer ​

readonly actionPageNewer: "One screen to newer bars" = 'One screen to newer bars'

actionPageOlder ​

readonly actionPageOlder: "One screen to older bars" = 'One screen to older bars'

actionPaste ​

readonly actionPaste: "Paste" = 'Paste'

actionPasteDrawings ​

readonly actionPasteDrawings: "Paste drawings" = 'Paste drawings'

actionRedo ​

readonly actionRedo: "Redo" = 'Redo'

actionRemoveSelected ​

readonly actionRemoveSelected: "Remove selected" = 'Remove selected'

actionResetView ​

readonly actionResetView: "Reset view" = 'Reset view'

actionScrollNewer ​

readonly actionScrollNewer: "Scroll to newer bars" = 'Scroll to newer bars'

actionScrollOlder ​

readonly actionScrollOlder: "Scroll to older bars" = 'Scroll to older bars'

actionUndo ​

readonly actionUndo: "Undo" = 'Undo'

actionUngroupDrawings ​

readonly actionUngroupDrawings: "Ungroup selected drawings" = 'Ungroup selected drawings'

actionZoomIn ​

readonly actionZoomIn: "Zoom in" = 'Zoom in'

actionZoomOut ​

readonly actionZoomOut: "Zoom out" = 'Zoom out'

adjustmentDividend ​

readonly adjustmentDividend: "Dividend" = 'Dividend'

adjustmentDividendShort ​

readonly adjustmentDividendShort: "D" = 'D'

adjustmentFactor ​

readonly adjustmentFactor: "Earlier prices × {factor}" = 'Earlier prices × {factor}'

adjustmentOther ​

readonly adjustmentOther: "Corporate action" = 'Corporate action'

adjustmentOtherShort ​

readonly adjustmentOtherShort: "C" = 'C'

adjustmentsFailed ​

readonly adjustmentsFailed: "Could not load splits and dividends: prices are shown unadjusted" = 'Could not load splits and dividends: prices are shown unadjusted'

adjustmentSplit ​

readonly adjustmentSplit: "Split" = 'Split'

adjustmentSplitShort ​

readonly adjustmentSplitShort: "S" = 'S'

attribution ​

readonly attribution: "Made with charton" = 'Made with charton'

chartLabel ​

readonly chartLabel: "Chart" = 'Chart'

chartLabelSymbol ​

readonly chartLabelSymbol: "{symbol} chart" = '{symbol} chart'

describeBars ​

readonly describeBars: "{count} bars from {from} to {to}." = '{count} bars from {from} to {to}.'

describeClose ​

readonly describeClose: "Close {first} to {last}, {move}." = 'Close {first} to {last}, {move}.'

describeDown ​

readonly describeDown: "down {change}" = 'down {change}'

describeEmpty ​

readonly describeEmpty: "No data in view." = 'No data in view.'

describeHead ​

readonly describeHead: "{name}, {interval}." = '{name}, {interval}.'

describeHeadNoInterval ​

readonly describeHeadNoInterval: "{name}." = '{name}.'

describeHighLow ​

readonly describeHighLow: "High {high}, low {low}." = 'High {high}, low {low}.'

describeUnchanged ​

readonly describeUnchanged: "unchanged" = 'unchanged'

describeUp ​

readonly describeUp: "up {change}" = 'up {change}'

drawingGroupName ​

readonly drawingGroupName: "Group {n}" = 'Group {n}'

drawingTextPlaceholder ​

readonly drawingTextPlaceholder: "Text" = 'Text'

indicatorPasteFailed ​

readonly indicatorPasteFailed: "Indicator {type} cannot be pasted on this chart" = 'Indicator {type} cannot be pasted on this chart'

indicatorSelected ​

readonly indicatorSelected: "{title} selected" = '{title} selected'

legendClose ​

readonly legendClose: "C" = 'C'

legendCollapse ​

readonly legendCollapse: "Collapse legend" = 'Collapse legend'

legendCount ​

readonly legendCount: "N" = 'N'

legendHide ​

readonly legendHide: "Hide {title}" = 'Hide {title}'

legendHigh ​

readonly legendHigh: "H" = 'H'

legendLow ​

readonly legendLow: "L" = 'L'

legendMore ​

readonly legendMore: "More actions for {title}" = 'More actions for {title}'

legendOpen ​

readonly legendOpen: "O" = 'O'

legendPoc ​

readonly legendPoc: "POC" = 'POC'

legendRemove ​

readonly legendRemove: "Remove {title}" = 'Remove {title}'

legendSettings ​

readonly legendSettings: "Settings for {title}" = 'Settings for {title}'

legendShow ​

readonly legendShow: "Show {title}" = 'Show {title}'

legendShowMore ​

readonly legendShowMore: "Show {count} more" = 'Show {count} more'

legendTitleCandles ​

readonly legendTitleCandles: "Price" = 'Price'

legendTitleCustom ​

readonly legendTitleCustom: "Series" = 'Series'

legendTitleHeatmap ​

readonly legendTitleHeatmap: "Heatmap" = 'Heatmap'

legendTitleHistogram ​

readonly legendTitleHistogram: "Histogram" = 'Histogram'

legendTitleIndicator ​

readonly legendTitleIndicator: "Indicator" = 'Indicator'

legendTitleLine ​

readonly legendTitleLine: "Line" = 'Line'

legendTitlePoints ​

readonly legendTitlePoints: "Points" = 'Points'

legendTitleVolumeProfile ​

readonly legendTitleVolumeProfile: "Volume profile" = 'Volume profile'

legendVah ​

readonly legendVah: "VAH" = 'VAH'

legendVal ​

readonly legendVal: "VAL" = 'VAL'

marketClosed ​

readonly marketClosed: "Market closed" = 'Market closed'

marketDelayed ​

readonly marketDelayed: "{minutes} min delayed" = '{minutes} min delayed'

marketEndOfDay ​

readonly marketEndOfDay: "End of day" = 'End of day'

marketOpen ​

readonly marketOpen: "Market open" = 'Market open'

marketPost ​

readonly marketPost: "After hours" = 'After hours'

marketPre ​

readonly marketPre: "Pre-market" = 'Pre-market'

measureBar ​

readonly measureBar: "{count} bar" = '{count} bar'

measureBars ​

readonly measureBars: "{count} bars" = '{count} bars'

measureDays ​

readonly measureDays: "{n}d" = '{n}d'

measureHours ​

readonly measureHours: "{n}h" = '{n}h'

measureMinutes ​

readonly measureMinutes: "{n}m" = '{n}m'

measureSeconds ​

readonly measureSeconds: "{n}s" = '{n}s'

newBar ​

readonly newBar: "New bar {time}." = 'New bar {time}.'

newBarPrevious ​

readonly newBarPrevious: "Previous close {close}, {change}." = 'Previous close {close}, {change}.'

paneCollapse ​

readonly paneCollapse: "Collapse pane" = 'Collapse pane'

paneExpand ​

readonly paneExpand: "Expand pane" = 'Expand pane'

paneMaximize ​

readonly paneMaximize: "Maximize pane" = 'Maximize pane'

paneMoveDown ​

readonly paneMoveDown: "Move pane down" = 'Move pane down'

paneMoveUp ​

readonly paneMoveUp: "Move pane up" = 'Move pane up'

paneRemove ​

readonly paneRemove: "Remove pane" = 'Remove pane'

paneRestore ​

readonly paneRestore: "Restore panes" = 'Restore panes'

paneToolbar ​

readonly paneToolbar: "Pane" = 'Pane'

positionLongEntry ​

readonly positionLongEntry: "Long entry {price}" = 'Long entry {price}'

positionRiskReward ​

readonly positionRiskReward: "R:R {ratio}" = 'R:R {ratio}'

positionShortEntry ​

readonly positionShortEntry: "Short entry {price}" = 'Short entry {price}'

positionStop ​

readonly positionStop: "Stop {price}" = 'Stop {price}'

positionTarget ​

readonly positionTarget: "Target {price}" = 'Target {price}'

scrollToLatest ​

readonly scrollToLatest: "Scroll to the most recent bar" = 'Scroll to the most recent bar'

sonifyBar ​

readonly sonifyBar: "{time}. Open {open}, high {high}, low {low}, close {close}, {move}." = '{time}. Open {open}, high {high}, low {low}, close {close}, {move}.'

sonifyCueAlert ​

readonly sonifyCueAlert: "Alert line crossed." = 'Alert line crossed.'

sonifyCueMarker ​

readonly sonifyCueMarker: "Marker." = 'Marker.'

sonifyCueSession ​

readonly sonifyCueSession: "New session." = 'New session.'

sonifyPoint ​

readonly sonifyPoint: "{time}. {title} {value}." = '{time}. {title} {value}.'

sonifyValue ​

readonly sonifyValue: "Value" = 'Value'

statusError ​

readonly statusError: "Could not load data" = 'Could not load data'

statusExpired ​

readonly statusExpired: "Contract expired" = 'Contract expired'

statusLoading ​

readonly statusLoading: "Loading…" = 'Loading…'

statusNoData ​

readonly statusNoData: "No data" = 'No data'

statusReconnecting ​

readonly statusReconnecting: "Reconnecting…" = 'Reconnecting…'

statusStale ​

readonly statusStale: "Data may be out of date" = 'Data may be out of date'

statusUnknownSymbol ​

readonly statusUnknownSymbol: "Unknown symbol" = 'Unknown symbol'

tableNewest ​

readonly tableNewest: "newest {shown} of {total} rows" = 'newest {shown} of {total} rows'

tableNoData ​

readonly tableNoData: "no data" = 'no data'

tableSpan ​

readonly tableSpan: "{from} to {to}" = '{from} to {to}'

timezoneLocal ​

readonly timezoneLocal: "Local ({zone}, {offset})" = 'Local ({zone}, {offset})'