Where an indicator is drawn and how its Y axis behaves.
Placement
The user decides where an indicator goes: over the price, or in an area of its own below the chart. The indicator does not choose, but it should say in its description when its values are not prices (a volume, an oscillator), so the user places it in its own area.The series are always drawn in the area of the indicator. Annotations go to the price area unless you set their Area:
annotation.Area = ChartArea; // the area of the indicatorannotation.Area = ChartAreaRef.Main; // the price area
The Y axis
AxisY is the Y axis of the area of the indicator. Set its options in OnInit:
public override void OnInit(){ AxisY.YSame = true; // the same distance above and below zero AxisY.DecimalPlaceShown = 0; // whole numbers AxisY.FormatAutoNumber = true; // 1.5K, 2M}
Option
Meaning
YSame
the axis is symmetric around zero
DecimalPlaceShown
decimals of the labels
FormatAutoNumber
large numbers are abbreviated
MinimumLimitMode, MinimumLimitValue
a lower limit for the axis
MaximumLimitMode, MaximumLimitValue
an upper limit
TopMarginPerc, BottomMarginPerc
empty space above and below the values
ShowGrid, GridColor, TextColor
look of the axis
SetYAxisConstraints sets margins and limits in one call:
Only the options an indicator sets are applied: the rest stays as the user has it.
AxisY.Minimum and AxisY.Maximum are calculated by the chart while it draws and are desktop only. AxisY.ViewMinimum and ViewMaximum are the values an indicator can set.
Texts on the chart
Two properties let an indicator speak to the user without drawing anything:
Property
Shown
Set it in
Description
next to the name of the indicator
OnSet
StatusMessage
on the top left of the chart, when the chart has loaded. null when there is nothing to say
OnInit or OnLoad
Description = $"SMA ({Length})";StatusMessage = VAn.ParamType == ChartResolutionInfo.ParamTypeEnum.Minute ? null : "Meant for time based charts";
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Deepchart and Deepdom Indicators","colors":{"primary":"#2563EB"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"deepcharts","hasAudioNarration":false,"actualSubdomain":"deepcharts","customDomains":["docs-indicators.deepcharts.com"],"gitSource":{"type":"github","owner":"volumetricatrading","repo":"deepchart-indicators-api","deployBranch":"master","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b04517293edbf63bed9095d","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"Deepchart","count":30},{"language":"default","tag":"Deepdom","count":20},{"language":"default","tag":"Concepts","count":15},{"language":"default","tag":"Examples","count":14},{"language":"default","tag":"API reference","count":7},{"language":"default","tag":"Get started","count":6},{"language":"default","tag":"Desktop and server","count":4},{"language":"default","tag":"Loading and sharing","count":2},{"language":"default","tag":"Help","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"concepts/axes-and-placement","slug":"/concepts/axes-and-placement","pageMetadata":{"title":"Axes and placement","description":"Where an indicator is drawn and how its Y axis behaves.","href":"/concepts/axes-and-placement"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Where an indicator is drawn and how its Y axis behaves.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`placement`,children:`Placement`}),`\n`,_jsx(_components.p,{children:`The user decides where an indicator goes: over the price, or in an area of its own below the chart. The indicator does not choose, but it should say in its description when its values are not prices (a volume, an oscillator), so the user places it in its own area.`}),`\n`,_jsxs(_components.p,{children:[`The series are always drawn in the area of the indicator. Annotations go to the price area unless you set their `,_jsx(_components.code,{children:`Area`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`annotation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Area`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ChartArea`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// the area of the indicator`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`annotation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Area`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ChartAreaRef`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Main`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// the price area`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`the-y-axis`,children:`The Y axis`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`AxisY`}),` is the Y axis of the area of the indicator. Set its options in `,_jsx(_components.code,{children:`OnInit`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`public`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` override`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` void`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` OnInit`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` AxisY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`YSame`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// the same distance above and below zero`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` AxisY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DecimalPlaceShown`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// whole numbers`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` AxisY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`FormatAutoNumber`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// 1.5K, 2M`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Option`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`YSame`})}),_jsx(_components.td,{children:`the axis is symmetric around zero`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DecimalPlaceShown`})}),_jsx(_components.td,{children:`decimals of the labels`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`FormatAutoNumber`})}),_jsx(_components.td,{children:`large numbers are abbreviated`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`MinimumLimitMode`}),`, `,_jsx(_components.code,{children:`MinimumLimitValue`})]}),_jsx(_components.td,{children:`a lower limit for the axis`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`MaximumLimitMode`}),`, `,_jsx(_components.code,{children:`MaximumLimitValue`})]}),_jsx(_components.td,{children:`an upper limit`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`TopMarginPerc`}),`, `,_jsx(_components.code,{children:`BottomMarginPerc`})]}),_jsx(_components.td,{children:`empty space above and below the values`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`ShowGrid`}),`, `,_jsx(_components.code,{children:`GridColor`}),`, `,_jsx(_components.code,{children:`TextColor`})]}),_jsx(_components.td,{children:`look of the axis`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`SetYAxisConstraints`}),` sets margins and limits in one call:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`SetYAxisConstraints`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`minimumLimitMode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`AxisLimitModeEnum`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Fixed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`minimumLimitValue`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Only the options an indicator sets are applied: the rest stays as the user has it.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`AxisY.Minimum`}),` and `,_jsx(_components.code,{children:`AxisY.Maximum`}),` are calculated by the chart while it draws and are desktop only. `,_jsx(_components.code,{children:`AxisY.ViewMinimum`}),` and `,_jsx(_components.code,{children:`ViewMaximum`}),` are the values an indicator can set.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`texts-on-the-chart`,children:`Texts on the chart`}),`\n`,_jsx(_components.p,{children:`Two properties let an indicator speak to the user without drawing anything:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Shown`}),_jsx(_components.th,{children:`Set it in`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Description`})}),_jsx(_components.td,{children:`next to the name of the indicator`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`OnSet`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`StatusMessage`})}),_jsxs(_components.td,{children:[`on the top left of the chart, when the chart has loaded. `,_jsx(_components.code,{children:`null`}),` when there is nothing to say`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`OnInit`}),` or `,_jsx(_components.code,{children:`OnLoad`})]})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Description`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` $\"SMA (`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Length`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`)\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`StatusMessage`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` VAn`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ParamType`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ==`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ChartResolutionInfo`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ParamTypeEnum`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Minute`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` null`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Meant for time based charts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Axes and placement","description":"Where an indicator is drawn and how its Y axis behaves.","href":"/concepts/axes-and-placement"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Placement","slug":"placement","depth":2,"children":[]},{"title":"The Y axis","slug":"the-y-axis","depth":2,"children":[]},{"title":"Texts on the chart","slug":"texts-on-the-chart","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"deepcharts","siteName":"Deepchart and Deepdom Indicators","title":"Axes and placement - Deepchart and Deepdom Indicators","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-23T14:45:10.878Z","originalFileLocation":"concepts/axes-and-placement.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Where an indicator is drawn and how its Y axis behaves.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Deepchart and Deepdom Indicators\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/deepcharts/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/deepcharts/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/deepcharts/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/deepcharts/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Axes and placement - Deepchart and Deepdom Indicators\">\u003cmeta data-mint-head property=\"og:description\" content=\"Where an indicator is drawn and how its Y axis behaves.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Deepchart and Deepdom Indicators\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs-indicators.deepcharts.com/concepts/axes-and-placement\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://deepcharts.mintlify.site/_mintlify/api/og/v2?division=Concepts\u0026amp;title=Axes+and+placement\u0026amp;description=Where+an+indicator+is+drawn+and+how+its+Y+axis+behaves.\u0026amp;theme=bae531900f3839c8d5ce3bce\u0026amp;signature=00060fff9f5f27a1c38b03c08c7b87553e47507a77373a652468da9b900897d3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Axes and placement - Deepchart and Deepdom Indicators\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Where an indicator is drawn and how its Y axis behaves.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://deepcharts.mintlify.site/_mintlify/api/og/v2?division=Concepts\u0026amp;title=Axes+and+placement\u0026amp;description=Where+an+indicator+is+drawn+and+how+its+Y+axis+behaves.\u0026amp;theme=bae531900f3839c8d5ce3bce\u0026amp;signature=00060fff9f5f27a1c38b03c08c7b87553e47507a77373a652468da9b900897d3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/deepcharts/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Deepchart and Deepdom Indicators\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs-indicators.deepcharts.com/concepts/axes-and-placement\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/concepts/axes-and-placement.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs-indicators.deepcharts.com/#organization\",\"name\":\"Deepchart and Deepdom Indicators\",\"url\":\"https://docs-indicators.deepcharts.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs-indicators.deepcharts.com#website\",\"name\":\"Deepchart and Deepdom Indicators\",\"url\":\"https://docs-indicators.deepcharts.com\",\"publisher\":{\"@id\":\"https://docs-indicators.deepcharts.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs-indicators.deepcharts.com/concepts/axes-and-placement#webpage\",\"url\":\"https://docs-indicators.deepcharts.com/concepts/axes-and-placement\",\"name\":\"Axes and placement\",\"description\":\"Where an indicator is drawn and how its Y axis behaves.\",\"dateModified\":\"2026-11-23T14:45:10.878Z\",\"isPartOf\":{\"@id\":\"https://docs-indicators.deepcharts.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs-indicators.deepcharts.com/concepts/axes-and-placement#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs-indicators.deepcharts.com/concepts/axes-and-placement#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Concepts\",\"item\":\"https://docs-indicators.deepcharts.com/concepts/lifecycle\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Axes and placement\",\"item\":\"https://docs-indicators.deepcharts.com/concepts/axes-and-placement\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs-indicators.deepcharts.com/concepts/axes-and-placement#article\",\"headline\":\"Axes and placement\",\"name\":\"Axes and placement\",\"description\":\"Where an indicator is drawn and how its Y axis behaves.\",\"url\":\"https://docs-indicators.deepcharts.com/concepts/axes-and-placement\",\"mainEntityOfPage\":{\"@id\":\"https://docs-indicators.deepcharts.com/concepts/axes-and-placement#webpage\"},\"dateModified\":\"2026-11-23T14:45:10.878Z\",\"publisher\":{\"@id\":\"https://docs-indicators.deepcharts.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs-indicators.deepcharts.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Deepchart and Deepdom Indicators\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Deepchart and Deepdom Indicators\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/concepts/axes-and-placement.md","siteName":"Deepchart and Deepdom Indicators","nav":{"global":null,"tabs":[{"tab":"Deepchart","groups":[{"group":"Get started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"title":"Project setup","href":"/project-setup"}]},{"group":"Concepts","pages":[{"title":"Life cycle","href":"/concepts/lifecycle"},{"title":"Parameters","href":"/concepts/parameters"},{"title":"Series","href":"/concepts/series"},{"title":"Annotations","href":"/concepts/annotations"},{"title":"Colors","description":"A color is a reference to where it comes from, resolved by the chart.","href":"/concepts/colors"},{"title":"Axes and placement","href":"/concepts/axes-and-placement"},{"title":"Market data","description":"Bars, volume by price and trades.","href":"/concepts/market-data"},{"title":"Other resolutions","href":"/concepts/resolutions"},{"title":"Alerts","href":"/concepts/alerts"},{"title":"Trading","href":"/concepts/trading"}]},{"group":"Desktop and server","pages":[{"title":"Hybrid indicators","href":"/hybrid/hybrid-indicators"},{"title":"Desktop or server","href":"/hybrid/desktop-vs-server"},{"title":"Desktop only features","href":"/hybrid/desktop-only"},{"title":"Developer id","href":"/hybrid/developer-id"},{"title":"Sharing indicators","href":"/hybrid/sharing"}]},{"group":"Examples","pages":[{"title":"Simple Moving Average","href":"/examples/simple-moving-average"},{"title":"Price Bands","href":"/examples/price-bands"},{"title":"Session Range Box","href":"/examples/session-range-box"},{"title":"Info Label","href":"/examples/info-label"},{"title":"Bar POC","href":"/examples/bar-poc"},{"title":"Live Delta","href":"/examples/live-delta"},{"title":"Higher Timeframe Candles","href":"/examples/higher-timeframe-candles"},{"title":"Book Imbalance","href":"/examples/book-imbalance"},{"title":"Moving Average Cross Trading","href":"/examples/moving-average-cross"}]},{"group":"API reference","pages":[{"title":"Indicator","href":"/reference/indicator"},{"title":"Chart API","href":"/reference/chart-api"},{"title":"Drawing interfaces","href":"/reference/rendering"},{"title":"Attributes and types","href":"/reference/attributes-and-types"}]},{"group":"Help","pages":[{"title":"Troubleshooting","href":"/troubleshooting"}]}]},{"tab":"Deepdom","pages":[{"title":"Deepdom","href":"/deepdom/introduction"}]}]},"basePath":"","title":"Axes and placement - Deepchart and Deepdom Indicators","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":[],"chunks":[]}