...

StyleCode properties

Property Description Available in
alignWithLeft Align the y=0 with the left axis. barchart > vaxis > right
chart > vaxis > right
linechart > vaxis > right
areaPosition Specifies where the area for a series with seriesType: area should be drawn. barchart > series
chart > block > plot > series
linechart > series
areaTo Specifies the other bound of the area drawn for a series with seriesType: area. barchart > series
chart > block > plot > series
linechart > series
as Specifies 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
axisMax Specifies 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
axisMin Specifies 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
axisScale The scale used to render data on the axis.

The log scale only support strictly positive data.
histogram > haxis
histogram > vaxis
barPadding On 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
barRatio Ratio 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
bannerMessage Specifies the message in the banner.

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

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

If set to custom, the badge will use textColor & backgroundColor.
tabs > tab > badge
barchartGroups Specifies whether the barchart axis bearing the groups should be drawn to the left or to the bottom. barchart
box0 Bottom whisker of the box plot barchart > series
chart > block > plot > series
linechart > series
box25 Bottom of the box part of the box plot barchart > series
chart > block > plot > series
linechart > series
boxLowerColor Fill color of the lower half box barchart > series
chart > block > plot > series
linechart > series
boxUpperColor Fill color of the upper half box barchart > series
chart > block > plot > series
linechart > series
box75 Top of the box part of the box plot barchart > series
chart > block > plot > series
linechart > series
box100 Top whisker of the box plot barchart > series
chart > block > plot > series
linechart > series
buttonAspect Specifies 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
buttonBackground Enabled only for buttonAspect: custom.

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

Specifies the border color of the button element.

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

Specifies the text color of the button element.

auto adapts to the background’s luminosity.
form
dashboard
dashboard > runbanner
cellBackground Specifies the background color of a cell in a show table. table > column > append
table > column > prepend
table > column > value
cellTooltip Sets the markdown tooltip of the cells. table > column > value
chartBlockKind Discriminates the stylecode scope for that block. chart > block > plotxy
chart > block > plot
chart > block > haxis
chart > block > scatter
color Specifies 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
columnAppend Specifies whether a cell should be appended at the bottom of a column, and the contents of that cell. table > column > append
columnDisplay If false, the column is not displayed on the dashboard. table > column
columnPrepend Specifies whether a cell should be prepended at the top of a column, and the contents of that cell. table > column > prepend
columnReadOnly Specifies whether a column is read-only in an editable table. table > column
columnTooltip Sets the tooltip of the column. table > column
columnTooltipText Sets the tooltip of the column.

Warning: this is a temporary feature, and will be replaced by a markdown property columnTooltip.
table > column
columnWidth Specifies a multiplicative factor for the width of a column in a table. Applies both to non-editable tables and editable tables in the tile grid. table > column
columnWidthEditable Specifies a multiplicative factor for the width of a column for of a table. Applies only to editable tables when the tile is zoomed. table > column
dashButton Specifies the label (and presence) of the dashboard’s Start Run button. dashboard
dashButtonKind Restrict what can be the topbar button (run starter or slice selector). dashboard
dateFormat Specifies the format used to print out dates. chart > haxis
linechart > haxis > value
scalar > entry > value
slicepicker > entry
summary > entry > value
table > column > value
defaultTab If Specified and the value is a tab label (tileTab on a Tile), starts the dashboard on that specific tab. dashboard
downloadFileName When the user downloads the tile, this property specifies the name of thefile (not including the extension). barchart
linechart
table
file
downloadColumn When set to false, the column is displayed in the dashboard, and will be absent from the downloaded files. table > column
downloadColumnName When the user downloads the tile, this property specifies the name of thecolumn.

default will use the as name instead.
table > column
entryDisplay Specifies that the entry is displayed or hidden. summary > entry
entryTooltip Sets the tooltip of the entry. summary > entry
entryTooltipText Sets the tooltip of the entry.

Warning: this is a temporary feature, and will be replaced by a markdown property entryTooltip.
summary > entry
fieldChoices When the fieldType is dropdown, specifies the available choices that can be selected. form > entry
fieldColor Specifies the background color of the field. form > entry
slicepicker > entry
slicetree > entry
fieldChoiceLabels Specifies 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
fieldType Specifies 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
formAccess Determines whether a form field should be hidden or shown. Hidden form fields are still submitted with their original value. form > entry
formButton Specifies the existence and label of the submit button on a form tile. form
formButtonAlign Horizontally align form buttons. Both fieldType: button and formButton are affected by the property. form
form > entry
formMessage If 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
fractionSeparator Specifies 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
gauge > entry > 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
gaugeMin Minimum value for the gauge gauge > entry
gaugeMax Maximum value for the gauge gauge > entry
gaugeStrokeColor Gauge stroke color for the outter part of the gauge gauge > entry
gaugeFillColor Gauge fill color for the inner part of the gauge from the minimum to the value gauge > entry
gaugeAngle Angle of the gauge. Valid range is 180°-270°. gauge > entry
gridlineColor Specifies 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
gridlines Specifies 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
href When 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
hrefAspect Specifies 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
hrefBackground Enabled 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
hrefBorder Enabled 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
hrefTarget Specifies 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
hrefText Enabled 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
iconColor Specifies the color for the labelIcon.

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

If unspecified, will use the textColor value.
assert
label
menu > entry
labelBorder Specifies 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
labelIcon Specifies the icon that should appear in the label title, none if no icon should be displayed. assert
label
menu > entry
legendPosition Specifies 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
menuDisplay Determines if a given menu element should be displayed or not. menu > entry
minPrecision Specifies 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
gauge > entry > 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
monthFormat Specifies 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
numbers Specifies 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
gauge > entry > 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
plusSign Displays ‘+’ 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
gauge > entry > 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
precision Specifies 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
gauge > entry > 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
radius Specify the radius multiplier of points composing the scatter plot. chart > block > scatter > series > value
seriesDisplay Specifies that the series is displayed or hidden. barchart > series
chart > block > plotxy > series
chart > block > plot > series
chart > block > scatter > series
linechart > series
seriesFan For series type that support it, the fan group for that series. barchart > series
chart > block > plot > series
linechart > series
seriesLegend Specifies what is displayed in the legend for that series barchart > series
chart > block > plotxy > series
chart > block > plot > series
chart > block > scatter > series
linechart > series
seriesLegendRank Specifies 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
seriesMarker The kind of marker the series is rendered with chart > block > scatter > series
chart > block > scatter > series > value
seriesOpacity Specify 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
seriesPattern Specifies 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
seriesStack Specifies the category this series stacks with.

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

Notice that all sliceField are not available for all sliceHierarchy and/or all field types.
slicepicker > entry
sliceHierarchy Specifies 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
sliceUnselected Specifies the text to display on unselected. Used only for some sliceField. slicepicker > entry
summaryColumns Specifies 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
tabBadge If not empty, the badge for that tab is displayed. tabs > tab > badge
tabDisplay Controls if the tab is present on the tab bar. tabs > tab
textAlign Specifies 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
textBold If 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
textColor Specifies the color of text for the text color pipeline. assert
barchart > series > value
form
gauge
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
textItalic If 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
textRotation If specified to left or right, the text element is rotated 90 degrees towards that direction. assert
label
textVerticalAlign Specifies the vertical text alignment inside the tile. assert
label
thousandSeparator The 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
gauge > entry > 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
tileColor Choose the accent color for a tile. assert
barchart
chart
form
gauge
histogram
label
linechart
logo
markdown
menu
piechart
plot
scalar
scatter
slicepicker
slicetree
summary
table
tabs
treemap
upload
file
error
tileH Set the height of the tile. dashtile
tilePlacement Specifies which placement mode to use.

When unspecified, the default can be fixed if an inline positioning is specified.
dashtile
tileTab If 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
tileTitle Sets the title of the tile. assert
barchart
chart
form
gauge
histogram
label
linechart
logo
markdown
menu
piechart
plot
scalar
scatter
slicepicker
slicetree
summary
table
tabs
treemap
upload
file
error
tileTooltip Sets the markdown tooltip of the tile. assert
barchart
chart
form
histogram
label
linechart
piechart
plot
scalar
scatter
slicepicker
slicetree
summary
table
tabs
treemap
upload
file
tileTooltipText Sets 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
file
tileW Set the width of the tile. dashtile
tileX Set the horizontal position of the left edge of the tile, relative to the left side of the dashboard. dashtile
tileY Set the vertical position of the top edge of the tile, relative to the left side of the dashboard. dashtile
tileZoom Allow 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
file
error
tooltipColor Choose 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
table > column > value
tabs
treemap
upload
file
tooltipSecondaryColor Choose 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
table > column > value
tabs
treemap
upload
file
treemapCut Set the algorithm used to cut the treemap into regions. treemap
unit Controls 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
gauge > entry > 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
unitPosition Controls 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
gauge > entry > 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
vaxis When a chart’s definition permit dynamic axis allocation, specifies a series’ axis. chart > block > plotxy > series
chart > block > plot > series
chart > block > scatter > series
weekFormat Specifies 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
User Contributed Notes
0 notes + add a note