axis

Parent: region

Applies whentype = chart and type in (area)type = chart and type in (bar)type = chart and type in (boxPlot)type = chart and type in (bubble)type = chart and type in (combination)type = chart and type in (gantt)type = chart and type in (line)type = chart and type in (lineWithArea)type = chart and type in (polar)type = chart and type in (radar)type = chart and type in (range)type = chart and type in (scatter)type = chart and type in (stock)

Direct Properties:

PropertyTypeRequiredDefault ValueDetails
nameenumYesdata type=string; lov=STATIC
Valid values: x y y2 major minor
showAxisbooleanYesondata type=boolean
Applies whenname in (x)name in (y)name in (y2)name in (major)
titlestringNodata type=string; maxLen=255
Enter a title for the axis. This title describes the information being represented on the axis of your chart.

Property Groups:

  • timeScale
  • zoomScale
  • title
  • value
  • appearance
  • majorTicks
  • minorTicks
  • tickLabel
  • dualYAxes
  • advanced
timeScale
PropertyTypeRequiredDefault ValueDetails
scaleenumYesdata type=string; lov=STATIC
Valid values: seconds minutes hours days weeks months quarters years
Applies whenname in (major)name in (minor)
timeScale {
  scale: seconds
}
zoomScale
PropertyTypeRequiredDefault ValueDetails
secondsbooleanYesfalsedata type=boolean
Applies whenname in (major)name in (minor)
minutesbooleanYesfalsedata type=boolean
Applies whenname in (major)name in (minor)
hoursbooleanYesfalsedata type=boolean
Applies whenname in (major)name in (minor)
daysbooleanYestruedata type=boolean
Applies whenname in (major)name in (minor)
weeksbooleanYestruedata type=boolean
Applies whenname in (major)name in (minor)
monthsbooleanYestruedata type=boolean
Applies whenname in (major)name in (minor)
quartersbooleanYestruedata type=boolean
Applies whenname in (major)name in (minor)
yearsbooleanYesfalsedata type=boolean
Applies whenname in (major)name in (minor)
zoomScale {
  seconds: false
  minutes: false
  hours: false
  days: false
  weeks: false
  months: false
  quarters: false
  years: false
}
title
PropertyTypeRequiredDefault ValueDetails
fontFamilyenumNodata type=string; lov=STATIC
Valid values: arial arialBlack bookman comicSansMs courier courierNew garamond georgia helvetica impact palatino times timesNewRoman trebuchetMs verdana
Applies whenname in (x)name in (y)name in (y2)
fontStyleenumNodata type=string; lov=STATIC
Valid values: normal italic oblique
Applies whenname in (x)name in (y)name in (y2)
fontSizeenumNodata type=string; lov=STATIC
Valid values: 8 10 12 14 16 18 20 22
Applies whenname in (x)name in (y)name in (y2)
fontColorstringNodata type=string; maxLen=255
Applies whenname in (x)name in (y)name in (y2)
title {
  fontFamily: arial
  fontStyle: normal
  fontSize: "8"
  fontColor: value
}
value
PropertyTypeRequiredDefault ValueDetails
minnumberNodata type=number; maxLen=22
Applies whenname in (x)name in (y)name in (y2)
maxnumberNodata type=number; maxLen=22
Applies whenname in (x)name in (y)name in (y2)
formatenumNodata type=string; lov=STATIC
Valid values: dateShort dateMedium dateLong dateFull timeShort timeMedium timeLong timeFull datetimeShort datetimeMedium datetimeLong datetimeFull decimal currency percent
decimalPlacesintegerNodata type=integer; maxLen=32767
Applies whenformat in (decimal) and name in (x)format in (decimal) and name in (y)format in (decimal) and name in (y2)format in (currency) and name in (x)format in (currency) and name in (y)format in (currency) and name in (y2)format in (percent) and name in (x)format in (percent) and name in (y)format in (percent) and name in (y2)
currencystringNodata type=string; maxLen=128
Applies whenformat = currency and name in (x)format = currency and name in (y)format = currency and name in (y2)
patternstringNodata type=string; maxLen=30
Applies whenformat is set and name in (x)format is set and name in (y)format is set and name in (y2)format is set and name in (major)format is set and name in (minor)
formatScalingenumYesautodata type=string; lov=STATIC
Valid values: none auto thousand million billion trillion quadrillion
Applies whenname in (x)name in (y)name in (y2)
baselineScalingenumYeszerodata type=string; lov=STATIC
Valid values: min zero
Applies whenname in (x)name in (y)name in (y2)
scaleenumYeslineardata type=string; lov=STATIC
Valid values: linear log
Applies whenname in (x)name in (y)name in (y2)
stepnumberNodata type=number; maxLen=22
Applies whenname in (x)name in (y)name in (y2)
value {
  min: 42
  max: 42
  format: dateShort
  decimalPlaces: 42
  currency: value
  pattern: value
  formatScaling: none
  baselineScaling: min
  scale: linear
  step: 42
}
appearance
PropertyTypeRequiredDefault ValueDetails
positionenumYesautodata type=string; lov=STATIC
Valid values: auto start end top bottom
appearance {
  position: auto
}
majorTicks
PropertyTypeRequiredDefault ValueDetails
showenumYestruedata type=string; lov=STATIC
Valid values: auto true false
Applies whenname in (x)name in (y)name in (y2)
minStepnumberNodata type=number; maxLen=22
Applies whenname in (x)name in (y)name in (y2)
majorTicks {
  show: auto
  minStep: 42
}
minorTicks
PropertyTypeRequiredDefault ValueDetails
showenumYesautodata type=string; lov=STATIC
Valid values: auto true false
Applies whenname in (x)name in (y)name in (y2)
stepnumberNodata type=number; maxLen=22
Applies whenname in (x)name in (y)name in (y2)
minorTicks {
  show: auto
  step: 42
}
tickLabel
PropertyTypeRequiredDefault ValueDetails
showbooleanYesondata type=boolean
Applies whenname in (x)name in (y)name in (y2)
rotationbooleanYesautodata type=boolean
Applies whenname in (x) and show = on and name = xname in (y) and show = on and name = xname in (y2) and show = on and name = x
positionenumYesoutsidedata type=string; lov=STATIC
Valid values: outside inside
Applies whenname in (x) and show = on and name = xname in (y) and show = on and name = xname in (y2) and show = on and name = x
fontFamilyenumNodata type=string; lov=STATIC
Valid values: arial arialBlack bookman comicSansMs courier courierNew garamond georgia helvetica impact palatino times timesNewRoman trebuchetMs verdana
Applies whenname in (x) and show = onname in (x) and name in (y) and show = onname in (x) and name in (y2) and show = onname in (y) and name in (x) and show = onname in (y) and show = onname in (y) and name in (y2) and show = onname in (y2) and name in (x) and show = onname in (y2) and name in (y) and show = onname in (y2) and show = on
fontStyleenumNodata type=string; lov=STATIC
Valid values: normal italic oblique
Applies whenname in (x) and show = onname in (x) and name in (y) and show = onname in (x) and name in (y2) and show = onname in (y) and name in (x) and show = onname in (y) and show = onname in (y) and name in (y2) and show = onname in (y2) and name in (x) and show = onname in (y2) and name in (y) and show = onname in (y2) and show = on
fontSizeenumNodata type=string; lov=STATIC
Valid values: 8 10 12 14 16 18 20 22
Applies whenname in (x) and show = onname in (x) and name in (y) and show = onname in (x) and name in (y2) and show = onname in (y) and name in (x) and show = onname in (y) and show = onname in (y) and name in (y2) and show = onname in (y2) and name in (x) and show = onname in (y2) and name in (y) and show = onname in (y2) and show = on
fontColorstringNodata type=string; maxLen=255
Applies whenname in (x) and show = onname in (x) and name in (y) and show = onname in (x) and name in (y2) and show = onname in (y) and name in (x) and show = onname in (y) and show = onname in (y) and name in (y2) and show = onname in (y2) and name in (x) and show = onname in (y2) and name in (y) and show = onname in (y2) and show = on
tickLabel {
  show: false
  rotation: false
  position: outside
  fontFamily: arial
  fontStyle: normal
  fontSize: "8"
  fontColor: value
}
dualYAxes
PropertyTypeRequiredDefault ValueDetails
showenumYesautodata type=string; lov=STATIC
Valid values: auto true false
Applies whenname = y2
splitterPositionnumberNodata type=number; maxLen=22
Applies whenname = y2
dualYAxes {
  show: auto
  splitterPosition: 42
}
advanced
PropertyTypeRequiredDefault ValueDetails
staticIdstringNodata type=string; maxLen=255
Enter a unique Static ID for the chart axis. The Static ID can be useful when developing custom JavaScript behavior for the chart axis or to refer it in application export files. Be cautious when changing it after creation.
advanced {
  staticId: value
}

APEXlang Example

axis sample (
    name: x
    showAxis: false
    title: value
    timeScale {
        scale: seconds
    }
    zoomScale {
        seconds: false
        minutes: false
        hours: false
        days: false
        weeks: false
        months: false
        quarters: false
        years: false
    }
    title {
        fontFamily: arial
        fontStyle: normal
        fontSize: "8"
        fontColor: value
    }
    value {
        min: 42
        max: 42
        format: dateShort
        decimalPlaces: 42
        currency: value
        pattern: value
        formatScaling: none
        baselineScaling: min
        scale: linear
        step: 42
    }
    appearance {
        position: auto
    }
    majorTicks {
        show: auto
        minStep: 42
    }
    minorTicks {
        show: auto
        step: 42
    }
    tickLabel {
        show: false
        rotation: false
        position: outside
        fontFamily: arial
        fontStyle: normal
        fontSize: "8"
        fontColor: value
    }
    dualYAxes {
        show: auto
        splitterPosition: 42
    }
    advanced {
        staticId: value
    }
)