StyleCode properties

PropertyDescriptionAvailable in
areaPositionSpecifies where the area for a series with seriesType: area should be drawn.barchart > series
chart > block > plot > series
linechart > series
areaToSpecifies the other bound of the area drawn for a series with seriesType: area.barchart > series
chart > block > plot > series
linechart > series
asSpecifies the name of a data vector (table columns, chart series, summary entries).barchart > haxis
barchart > series
chart > haxis
chart > block > plotxy > haxis
chart > block > plotxy > series
chart > block > plot > haxis
chart > block > plot > series
chart > block > scatter > haxis
chart > block > scatter > series
histogram > haxis
histogram > series
linechart > haxis
linechart > series
plot > series
plot > haxis
scatter > series
scatter > haxis
slicepicker > entry
slicetree > entry
summary > entry
table > column
tabs > tab
axisMaxSpecifies the highest value on an axis.barchart > haxis
barchart > vaxis > left
barchart > vaxis > right
chart > haxis
chart > vaxis > left
chart > vaxis > right
chart > block > haxis
histogram > haxis
histogram > vaxis
linechart > haxis
linechart > vaxis > left
linechart > vaxis > right
plot > haxis
plot > vaxis
scatter > haxis
scatter > vaxis
axisMinSpecifies the lowest value on an axis.barchart > haxis
barchart > vaxis > left
barchart > vaxis > right
chart > haxis
chart > vaxis > left
chart > vaxis > right
chart > block > haxis
histogram > haxis
linechart > haxis
linechart > vaxis > left
linechart > vaxis > right
plot > haxis
plot > vaxis
scatter > haxis
scatter > vaxis
axisScaleThe scale used to render data on the axis.

The log scale only support strictly positive data.
histogram > haxis
histogram > vaxis
barPaddingOn auto, Bar series larger than 25px width will have a few extra pixels of padding between them, for visual clarity.

Disabled with specified none instead
barchart > haxis
chart > block > plot > haxis
histogram > haxis
linechart > haxis
plot > haxis
barRatioRatio of a bar width auto is usually resolved to 1, but if there are fanned series, it is resolved to 0.9.barchart > haxis
chart > block > plot > haxis
linechart > haxis
plot > haxis
bannerMessageSpecifies the message in the banner.

If set to anything but the empty string, the banner will be displayed.
dashboard > runbanner
bannerButtonSpecifies the label (and presence) of the banner button.

If set to anything but the empty string, the banner will be displayed.
dashboard > runbanner
backgroundColorSpecifies the background color of a tile.assert
barchart
chart
form
histogram
label
linechart
logo
markdown
menu
piechart
plot
scalar
scatter
slicepicker
slicetree
summary
table
tabs
tabs > tab > badge
treemap
upload
error
badgeColorSpecifies the preset color theme for the tab’s badge, if displayed.

If set to custom, the badge will use textColor & backgroundColor.
tabs > tab > badge
barchartGroupsSpecifies whether the barchart axis bearing the groups should be drawn to the left or to the bottom.barchart
buttonAspectSpecifies the aspect of the button element, usally with a preset of colors.

For the more complex customization, use custom in conjunction with buttonBackground, buttonBorder and buttonText, that are otherwise without effect.
form
dashboard
dashboard > runbanner
buttonBackgroundEnabled only for buttonAspect: custom.

Specifies the background color of the button element.
form
dashboard
dashboard > runbanner
buttonBorderEnabled only for buttonAspect: custom.

Specifies the border color of the button element.

auto becomes a darker tone of buttonBackground.
form
dashboard
dashboard > runbanner
buttonTextEnabled only for buttonAspect: custom.

Specifies the text color of the button element.

auto adapts to the background’s luminosity.
form
dashboard
dashboard > runbanner
cellBackgroundSpecifies the background color of a cell in a show table.table > column > append
table > column > prepend
table > column > value
chartBlockKindDiscriminates the stylecode scope for that block.chart > block > plotxy
chart > block > plot
chart > block > haxis
chart > block > scatter
colorSpecifies the color of a series for the plot color pipeline.barchart > series
barchart > series > value
chart > block > plotxy > series
chart > block > plot > series
chart > block > scatter > series
chart > block > scatter > series > value
histogram > series
linechart > series
piechart > series > value
plot > series
scatter > series
scatter > series > value
treemap > series > value
columnAppendSpecifies whether a cell should be appended at the bottom of a column, and the contents of that cell.table > column > append
columnDisplayIf false, the column is not displayed on the dashboard.table > column
columnPrependSpecifies whether a cell should be prepended at the top of a column, and the contents of that cell.table > column > prepend
columnReadOnlySpecifies whether a column is read-only in an editable table.table > column
columnTooltipTextSets the tooltip of the column.

Warning: this is a temporary feature, and will be replaced by a markdown property columnTooltip.
table > column
columnWidthSpecifies a multiplicative factor for the width of a column in a table. Applies both to editable and non-editable tables.table > column
dashButtonSpecifies the label (and presence) of the dashboard’s Start Run button.dashboard
dashButtonKindRestrict what can be the topbar button (run starter or slice selector).dashboard
dateFormatSpecifies the format used to print out dates.chart > haxis
linechart > haxis > value
scalar > entry > value
slicepicker > entry
summary > entry > value
table > column > value
defaultTabIf Specified and the value is a tab label (tileTab on a Tile), starts the dashboard on that specific tab.dashboard
downloadFileNameWhen the user downloads the tile, this property specifies the name of thefile (not including the extension).barchart
linechart
table
downloadColumnWhen set to false, the column is displayed in the dashboard, and will be absent from the downloaded files.table > column
downloadColumnNameWhen the user downloads the tile, this property specifies the name of thecolumn.

default will use the as name instead.
table > column
entryTooltipTextSets the tooltip of the entry.

Warning: this is a temporary feature, and will be replaced by a markdown property entryTooltip.
summary > entry
fieldChoicesWhen the fieldType is dropdown, specifies the available choices that can be selected.form > entry
fieldColorSpecifies the background color of the field.form > entry
slicepicker > entry
slicetree > entry
fieldChoiceLabelsSpecifies the labels displayed for each choice on ‘fieldType: dropdown’.

This array property is complementary to ‘fieldChoices’ and must be on the same table as ‘fieldChoices’ to work properly.
form > entry
fieldTypeSpecifies explicitly the type of the field.

Some values will only work on specific data types, if not matching, a ‘bad field type’ rectangle is displayed instead.
form > entry
formAccessDetermines whether a form field should be hidden or shown. Hidden form fields are still submitted with their original value.form > entry
formButtonSpecifies the existence and label of the submit button on a form tile.form
formButtonAlignHorizontally align form buttons. Both fieldType: button and formButton are affected by the property.form
form > entry
formMessageIf non-empty, will be displayed to the left of the start run button of the form.

Not displayed if there is no start run button.
form
fractionSeparatorSpecifies the separator between integer and fractional digits in the number pipeline.barchart > vaxis > left
barchart > vaxis > right
barchart > series > value
chart > haxis
chart > vaxis > left
chart > vaxis > right
chart > block > plotxy > series > value
chart > block > plot > series > value
chart > block > haxis
chart > block > scatter > series > value
histogram > series > value
linechart > vaxis > left
linechart > vaxis > right
linechart > series > value
piechart > series > value
plot > series > value
plot > haxis
plot > vaxis
scalar > entry > value
scatter > series
scatter > haxis
slicepicker > entry
summary > entry > value
table > column > value
treemap > series > value
gridlineColorSpecifies the color for the gridlines element.barchart > vaxis
chart > haxis
chart > vaxis
chart > block > haxis
histogram > haxis
histogram > vaxis
linechart > haxis
linechart > vaxis
plot > haxis
plot > vaxis
scatter > haxis
scatter > vaxis
gridlinesSpecifies the mode for the gridlines in the background of the chart.barchart > vaxis
chart > haxis
chart > vaxis
chart > block > haxis
histogram > haxis
histogram > vaxis
linechart > haxis
linechart > vaxis
plot > haxis
plot > vaxis
scatter > haxis
scatter > vaxis
hrefWhen set, indicates that clicking the element should open another page. Only supports ‘http://’ and ‘https://’ links ; those starting with ~/ or / will be prefixed with https://go.lokad.com automatically.assert
label
logo
menu > entry
scalar > entry > value
summary > entry > value
table > column > value
hrefAspectSpecifies the aspect of the href element, either as a link, or a button with preset of colors.

For the more complex customization, use custom in conjunction with hrefBackground, hrefBorder and hrefText, that are otherwise without effect.
assert
label
menu > entry
scalar > entry > value
summary > entry > value
table > column > value
hrefBackgroundEnabled only for hrefAspect: custom.

Specifies the background color of the href element.
assert
label
menu > entry
scalar > entry > value
summary > entry > value
table > column > value
hrefBorderEnabled only for hrefAspect: custom.

Specifies the border color of the href element.

auto becomes a darker tone of hrefBackground.
assert
label
menu > entry
scalar > entry > value
summary > entry > value
table > column > value
hrefTargetSpecifies if clicking on the href element opens a new browser’ tab (blank) or not (auto).assert
label
logo
menu > entry
scalar > entry > value
summary > entry > value
table > column > value
hrefTextEnabled only for hrefAspect: custom.

Specifies the text color of the href element.

auto adapts to the background’s luminosity.
assert
label
menu > entry
scalar > entry > value
summary > entry > value
table > column > value
iconColorSpecifies the color for the labelIcon.

If unspecified, will use the tileColor value.
assert
label
menu > entry
labelBorderColorSpecifies the color for the label border.

If unspecified, will use the textColor value.
assert
label
menu > entry
labelBorderSpecifies the sides of the label where a border is displayed.

Can accept any combination of bottom, left, right, and top, separated by commas if there are more than one.

Can be set to none or all for respectively the empty set and the full set of values.
assert
label
menu > entry
labelIconSpecifies the icon that should appear in the label title, none if no icon should be displayed.assert
label
menu > entry
legendPositionSpecifies the chart’s legend position.

The legend will only be rendered in tile mode if the tile is tall or wide enough.
barchart > legend
linechart > legend
menuDisplayDetermines if a given menu element should be displayed or not.menu > entry
minPrecisionSpecifies the minimum number of fractional digits to be displayed in the number pipeline.barchart > vaxis > left
barchart > vaxis > right
barchart > series > value
chart > haxis
chart > vaxis > left
chart > vaxis > right
chart > block > plotxy > series > value
chart > block > plot > series > value
chart > block > haxis
chart > block > scatter > series > value
histogram > series > value
linechart > vaxis > left
linechart > vaxis > right
linechart > series > value
piechart > series > value
plot > series > value
plot > haxis
plot > vaxis
scalar > entry > value
scatter > series
scatter > haxis
slicepicker > entry
summary > entry > value
table > column > value
treemap > series > value
monthFormatSpecifies the format used to print out months (using thesame formatting syntax as dates)chart > haxis
scalar > entry > value
slicepicker > entry
summary > entry > value
table > column > value
numbersSpecifies the number rendering mode for the number pipeline.barchart > vaxis > left
barchart > vaxis > right
barchart > series > value
chart > haxis
chart > vaxis > left
chart > vaxis > right
chart > block > plotxy > series > value
chart > block > plot > series > value
chart > block > haxis
chart > block > scatter > series > value
histogram > series > value
linechart > vaxis > left
linechart > vaxis > right
linechart > series > value
piechart > series > value
plot > series > value
plot > haxis
plot > vaxis
scalar > entry > value
scatter > series
scatter > haxis
slicepicker > entry
summary > entry > value
table > column > value
treemap > series > value
plusSignDisplays ‘+’ sign before positive numbers.

always and nonzero only differ for zero values.
barchart > vaxis > left
barchart > vaxis > right
barchart > series > value
chart > haxis
chart > vaxis > left
chart > vaxis > right
chart > block > plotxy > series > value
chart > block > plot > series > value
chart > block > haxis
chart > block > scatter > series > value
histogram > series > value
linechart > vaxis > left
linechart > vaxis > right
linechart > series > value
piechart > series > value
plot > series > value
plot > haxis
plot > vaxis
scalar > entry > value
scatter > series
scatter > haxis
slicepicker > entry
summary > entry > value
table > column > value
treemap > series > value
precisionSpecifies the maximum number of fractional digits to be displayed in the number pipeline.barchart > vaxis > left
barchart > vaxis > right
barchart > series > value
chart > haxis
chart > vaxis > left
chart > vaxis > right
chart > block > plotxy > series > value
chart > block > plot > series > value
chart > block > haxis
chart > block > scatter > series > value
histogram > series > value
linechart > vaxis > left
linechart > vaxis > right
linechart > series > value
piechart > series > value
plot > series > value
plot > haxis
plot > vaxis
scalar > entry > value
scatter > series
scatter > haxis
slicepicker > entry
summary > entry > value
table > column > value
treemap > series > value
seriesFanFor series type that support it, the fan group for that series.barchart > series
chart > block > plot > series
linechart > series
seriesLegendSpecifies what is displayed in the legend for that seriesbarchart > series
chart > block > plotxy > series
chart > block > plot > series
chart > block > scatter > series
linechart > series
seriesLegendRankSpecifies the rank used to order the series in the legend.

If two series share the same rank, the one with the highest average vertical position on the chart is displayed first.

auto has a different behavior depending on legendPosition.
barchart > series
chart > block > plotxy > series
chart > block > plot > series
chart > block > scatter > series
linechart > series
seriesOpacitySpecify the opacity of the series between 0 (fully transparent) and 1 (fully opaque).

Is rounded to the nearest percent value.
barchart > series
chart > block > plotxy > series
chart > block > plot > series
chart > block > scatter > series
linechart > series
seriesPatternSpecifies the pattern for displaying a line series in a linechart or plot.barchart > series
chart > block > plotxy > series
chart > block > plot > series
linechart > series
plot > series
seriesStackSpecifies the category this series stacks with.

An empty string disables stacking of this series.
barchart > series
chart > block > plot > series
linechart > series
seriesTypeSpecifies the display type of a series in a barchart or linechart.barchart > series
chart > block > plot > series
linechart > series
sliceFieldSpecifies the appearence of the field.

Notice that all sliceField are not available for all sliceHierarchy and/or all field types.
slicepicker > entry
sliceHierarchySpecifies what the field shows and what .

Any none is handled before others kinds. Other than that, the order follow the entry ordering.

filter, ask & clear restrict their ranges of values depending on the others previously handled fields.

ask & clear allow the field to be in an unselected mode, whenever the previously handled fields make the current choice invalid. The difference between the two is that ask will reselect itself whenever thereis a single choice available, while clear will require to select that one valuefilter is reselected automatically.
slicepicker > entry
sliceUnselectedSpecifies the text to display on unselected. Used only for some sliceField.slicepicker > entry
summaryColumnsSpecifies how the tile splits the available space.

On auto, makes a number of column depending on the tile’s grid width.

When provided a number, split the available space in that many columns.
summary
tabBadgeIf not empty, the badge for that tab is displayed.tabs > tab > badge
tabDisplayControls if the tab is present on the tab bar.tabs > tab
textAlignSpecifies the horizontal text alignment in the text pipeline.assert
label
menu > entry
scalar
summary > entry
summary > entry > value
table > column > append
table > column > header
table > column > prepend
table > column > value
textBoldIf set to true, will render the text with a bold emphasis.assert
label
menu > entry
scalar
scalar > entry > value
summary > entry
summary > entry > value
table > column > append
table > column > header
table > column > prepend
table > column > value
textColorSpecifies the color of text for the text color pipeline.assert
barchart > series > value
form
label
markdown
menu > entry
scalar
scalar > entry > value
slicepicker > entry
slicetree > entry
summary > entry > value
table > column > append
table > column > prepend
table > column > value
tabs > tab
tabs > tab > badge
textItalicIf set to true, will render the text with an italic emphasis.assert
label
menu > entry
scalar
scalar > entry > value
summary > entry
summary > entry > value
table > column > append
table > column > header
table > column > prepend
table > column > value
textRotationIf specified to left or right, the text element is rotated 90 degrees towards that direction.assert
label
textVerticalAlignSpecifies the vertical text alignment inside the tile.assert
label
thousandSeparatorThe thousands separator for the number pipeline.barchart > vaxis > left
barchart > vaxis > right
barchart > series > value
chart > haxis
chart > vaxis > left
chart > vaxis > right
chart > block > plotxy > series > value
chart > block > plot > series > value
chart > block > haxis
chart > block > scatter > series > value
histogram > series > value
linechart > vaxis > left
linechart > vaxis > right
linechart > series > value
piechart > series > value
plot > series > value
plot > haxis
plot > vaxis
scalar > entry > value
scatter > series
scatter > haxis
slicepicker > entry
summary > entry > value
table > column > value
treemap > series > value
tileColorChoose the accent color for a tile.assert
barchart
chart
form
histogram
label
linechart
logo
markdown
menu
piechart
plot
scalar
scatter
slicepicker
slicetree
summary
table
tabs
treemap
upload
error
tileHSet the height of the tile.dashtile
tilePlacementSpecifies which placement mode to use.

When unspecified, the default can be fixed if an inline positioning is specified.
dashtile
tileTabIf specified (non-empty string) adds a tab with the given name. The tile is then hidden on any other tab.

If set to an empty string, the tile is displayed on all tabs.
dashtile
tileTitleSets the title of the tile.assert
barchart
chart
form
histogram
label
linechart
logo
markdown
menu
piechart
plot
scalar
scatter
slicepicker
slicetree
summary
table
tabs
treemap
upload
error
tileTooltipTextSets the tooltip of the tile.

Warning: this is a temporary feature, and will be replaced by a markdown property tileTooltip.
assert
barchart
chart
form
histogram
label
linechart
piechart
plot
scalar
scatter
slicepicker
slicetree
summary
table
tabs
treemap
upload
tileWSet the width of the tile.dashtile
tileXSet the horizontal position of the left edge of the tile, relative to the left side of the dashboard.dashtile
tileYSet the vertical position of the top edge of the tile, relative to the left side of the dashboard.dashtile
tileZoomAllow the tile to be clicked on (if contextually relevant) to have a full window version inside a modal.assert
barchart
chart
histogram
linechart
markdown
piechart
plot
scatter
table
treemap
error
tooltipColorChoose the main color for the tooltip icon.assert
barchart
chart
form
histogram
label
linechart
piechart
plot
scalar
scatter
slicepicker
slicetree
summary
summary > entry
table
table > column
tabs
treemap
upload
tooltipSecondaryColorChoose the secondary color for the tooltip icon.assert
barchart
chart
form
histogram
label
linechart
piechart
plot
scalar
scatter
slicepicker
slicetree
summary
summary > entry
table
table > column
tabs
treemap
upload
treemapCutSet the algorithm used to cut the treemap into regions.treemap
unitControls the unit of numbers in the number pipeline.barchart > vaxis > left
barchart > vaxis > right
barchart > series
barchart > series > value
chart > haxis
chart > vaxis > left
chart > vaxis > right
chart > block > plotxy > series
chart > block > plotxy > series > value
chart > block > plot > series
chart > block > plot > series > value
chart > block > haxis
chart > block > scatter > series
chart > block > scatter > series > value
histogram > series > value
linechart > vaxis > left
linechart > vaxis > right
linechart > series
linechart > series > value
piechart > series > value
plot > series > value
plot > haxis
plot > vaxis
scalar > entry > value
scatter > series
scatter > haxis
slicepicker > entry
summary > entry > value
table > column > value
treemap > series > value
unitPositionControls the position of the unit in the number pipeline.barchart > vaxis > left
barchart > vaxis > right
barchart > series > value
chart > haxis
chart > vaxis > left
chart > vaxis > right
chart > block > plotxy > series > value
chart > block > plot > series > value
chart > block > haxis
chart > block > scatter > series > value
histogram > series > value
linechart > vaxis > left
linechart > vaxis > right
linechart > series > value
piechart > series > value
plot > series > value
plot > haxis
plot > vaxis
scalar > entry > value
scatter > series
scatter > haxis
slicepicker > entry
summary > entry > value
table > column > value
treemap > series > value
weekFormatSpecifies the format used to print out weeks (using thesame formatting syntax as dates).chart > haxis
scalar > entry > value
slicepicker > entry
summary > entry > value
table > column > value