StyleCode v2 properties
🚧 Work in progress — This documents the redesigned dashboard layout system, which is still under active development and subject to change. It is not compatible with the older v1 dashboard tile system.
| Property | Description | Available in |
|---|---|---|
alignWithLeft |
Align the y=0 with the left axis. | chart > vaxis > rightlinechart > vaxis > right |
areaPosition |
Specifies where the area for a series with seriesType: area should be drawn. |
chart |
areaTo |
Specifies the other bound of the area drawn for a series with seriesType: area. |
chart |
as |
Specifies the name of a data vector (table columns, chart series, summary entries). | barchart > serieschart > haxischart > haxischart > haxischart > serieschart > haxischart > seriesframeframe > columnlinechart > haxischartchartchartchartchartchartchartsummary > entrytable > columntabstrip > tab |
axisMax |
Specifies the highest value on an axis. | chartchart > haxischart > vaxis > leftchart > vaxis > rightlinechart > haxislinechart > vaxis > leftlinechart > vaxis > right |
axisMin |
Specifies the lowest value on an axis. | chartchart > haxischart > vaxis > leftchart > vaxis > rightlinechart > haxislinechart > vaxis > leftlinechart > vaxis > right |
axisScale |
The scale used to render data on the axis. The “log” scale only support strictly positive data. |
|
backgroundColor |
Specifies the background color of a tile. | barchartbuttonchartframegaugeimagelabellinechartmarkdownpiechartscalarsummarytabletabstrip |
badgeColor |
Specifies the preset color theme for the tab’s badge, if displayed. If set to “custom”, the badge will use textColor & backgroundColor. |
|
barchartValuePosition |
Where the value for a given bar is displayed. | barchart |
barchartVariant |
Select one of the barchart tile variant. | barchart |
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 |
chart > haxislinechart > 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. | chart > haxislinechart > haxis |
barTo |
Specifies the other bound of the bar drawn for a series with seriesType: bar. |
chart |
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 |
blockColor |
Choose the accent color for a block. | region > header |
blockTitle |
Sets the title of the block. | region > footerregion > header |
booleans |
Specifies how booleans values are displayed. Expect “{true}/{false}” pattern, where {true} (resp. {false}) is the text to display when true (r. false). |
frame > entry > valueframe > column > valuetable > column > value |
box0 |
Bottom whisker of the box plot | chart |
box100 |
Top whisker of the box plot | chart |
box25 |
Bottom of the box part of the box plot | chart |
box75 |
Top of the box part of the box plot | chart |
boxLowerColor |
Fill color of the lower half box | chart |
boxUpperColor |
Fill color of the upper half box | chart |
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. |
dashboarddashboard > runbanner |
buttonBackground |
Enabled only for “buttonAspect”: “custom”. Specifies the background color of the button element. |
dashboarddashboard > runbanner |
buttonBorder |
Enabled only for “buttonAspect”: “custom”. Specifies the border color of the button element. “auto” becomes a darker tone of “buttonBackground”. |
dashboarddashboard > runbanner |
buttonText |
Enabled only for “buttonAspect”: “custom”. Specifies the text color of the button element. “auto” adapts to the background’s luminosity. |
dashboarddashboard > runbanner |
buttonVariantColor |
Theme color used for this button | button |
buttonVariantMode |
Aspect mode used for this button | button |
cellBackground |
Specifies the background color of a cell in a show table. |
frame > entry > valueframe > headerframe > column > headerframe > column > valuetable > column > appendtable > column > prependtable > column > value |
cellTooltip |
Sets the markdown tooltip of the cells. | frame > entry > valueframe > headerframe > column > headerframe > column > valuetable > column > value |
chartBlockKind |
Discriminates the stylecode scope for that block. | chartchartchartchartchart |
color |
Specifies the color of a series for the plot color pipeline. | barchart > seriesbarchart > series > valuechart > serieschart > serieschart > series > valuepiechart > series > valuechartchartchartchartchartchartchart |
columnAppend |
Specifies whether a cell should be appended at the bottom of a column, and the contents of that cell. | table > column > append |
columnDisplay |
Controls the display of a column.never columns will never be displayed to the user.frozen (resp. pick) columns start in the frozen state (resp hidden state). |
frameframe > columntable > 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. | frameframe > columntable > 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 |
columnWidthFit |
Specifies an example of value that the column should try to fit whole. | table > column |
columnWidthFitBold |
Specifies the boldness of the ColumnWidthFit example. | table > column |
columnWidthFitItalic |
Specifies the italic emphasis of the ColumnWidthFit example. | table > column |
columnWidthFitUnit |
Specifies the unit used to format the ColumnWidthFit example. | 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 > haxisframe > entry > valueframe > column > valuelinechart > haxis > valuescalar > entry > valuesummary > entry > valuetable > column > value |
dashTitle |
Specifies the title of the dashboard. | dashboard |
defaultTab |
If Specified and the value is a tab label (“tileTab” on a Tile), starts the dashboard on that specific tab. | dashboard |
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 |
downloadFileName |
When the user downloads the tile, this property specifies the name of thefile (not including the extension). | barchartlinecharttable |
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 |
entryWidthFactor |
Specifies if the individual entry should take simple or double width to be displayed. | summary > 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. |
|
fieldChoices |
When the fieldType is “dropdown”, specifies the available choices that can be selected. | |
fieldColor |
Specifies the background color of the field. | |
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. |
|
formAccess |
Determines whether a form field should be hidden or shown. Hidden form fields are still submitted with their original value. | |
formButton |
Specifies the existence and label of the “submit” button on a form tile. | |
formButtonAlign |
Horizontally align form buttons. Both “fieldType: button” and “formButton” are affected by the property. | |
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. |
|
fractionSeparator |
Specifies the separator between integer and fractional digits in the number pipeline. | barchart > series > valuechartchart > haxischart > valuechart > series > valuechart > series > valuechart > vaxis > leftchart > vaxis > rightframe > entry > valueframe > column > valuegauge > entry > valuelinechart > vaxis > leftlinechart > vaxis > rightpiechart > series > valuescalar > entry > valuesummary > entry > valuetable > column > value |
frameBlockKind |
Discriminates the stylecode scope for that block. | frameframeframe |
gaugeAngle |
Angle of the gauge. Valid range is 180°-270°. | gaugegauge > entry |
gaugeChromeColor |
Hue used to draw secondary elements (the outer guide, the background). Default is grey. | gauge |
gaugeLabelPosition |
Position of the label relative to the gauge. | gauge |
gaugeMax |
Maximum value for the gauge | gauge > entry |
gaugeMin |
Minimum value for the gauge | gauge > entry |
gaugeVariant |
By default, the “bar” variant displays a bar from the minimum to the gauge value. On “dot”, a circle is displayed at the reached value. |
gauge |
gridlineColor |
Specifies the color for the “gridlines” element. | chartchart > haxischart > vaxislinechart > haxislinechart > vaxis |
gridlines |
Specifies the mode for the “gridlines” in the background of the chart. | chartchart > haxischart > vaxislinechart > haxislinechart > vaxis |
headerBackground |
Specifies the background color of a header in a show table. |
table > column > header |
headerTextColor |
Specifies the color of the header text for the text color pipeline. | table > column > header |
href |
When set, indicates that clicking the element should open another page. Only supports ‘http://’ and ‘https://’ links ; those starting with ~/ will be prefixed with https://go.lokad.com/<ACCOUNT> automatically. |
buttonframe > entry > valueframe > column > valuelabelregion > footerscalar > entry > valuesummary > entry > valuetable > 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. |
frame > entry > valueframe > column > valuelabelscalar > entry > valuesummary > entry > valuetable > column > value |
hrefBackground |
Enabled only for “hrefAspect”: “custom”. Specifies the background color of the href element. |
frame > entry > valueframe > column > valuelabelscalar > entry > valuesummary > entry > valuetable > column > value |
hrefBorder |
Enabled only for “hrefAspect”: “custom”. Specifies the border color of the href element. “auto” becomes a darker tone of “hrefBackground”. |
frame > entry > valueframe > column > valuelabelscalar > entry > valuesummary > entry > valuetable > column > value |
hrefTarget |
Specifies if clicking on the href element opens a new browser’ tab (“blank”) or not (“auto”). | buttonframe > entry > valueframe > column > valuelabelregion > footerscalar > entry > valuesummary > entry > valuetable > column > value |
hrefText |
Enabled only for “hrefAspect”: “custom”. Specifies the text color of the href element. “auto” adapts to the background’s luminosity. |
frame > entry > valueframe > column > valuelabelscalar > entry > valuesummary > entry > valuetable > column > value |
iconColor |
Specifies the color for the “labelIcon”. If unspecified, will use the tileColor value. |
label |
iconPosition |
Specifies the position of the icon relative to the label. | label |
labelBorderColor |
Specifies the color for the label border. If unspecified, will use the textColor value. |
label |
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. |
label |
labelIcon |
Specifies the icon that should appear in the label title, none if no icon should be displayed. |
label |
legendPosition |
Specifies the chart’s legend position. The legend will only be rendered in tile mode if the tile is tall or wide enough. |
chart > legendlinechart > legendsummary |
lockColumns |
When true, columns can not be manually re-ordered nor hidden. | table |
menuDisplay |
Determines if a given menu element should be displayed or not. | |
minPrecision |
Specifies the minimum number of fractional digits to be displayed in the number pipeline. | barchart > series > valuechartchart > haxischart > valuechart > series > valuechart > series > valuechart > vaxis > leftchart > vaxis > rightframe > entry > valueframe > column > valuegauge > entry > valuelinechart > vaxis > leftlinechart > vaxis > rightpiechart > series > valuescalar > entry > valuesummary > entry > valuetable > column > value |
monthFormat |
Specifies the format used to print out months (using thesame formatting syntax as dates) | chart > haxisframe > entry > valueframe > column > valuescalar > entry > valuesummary > entry > valuetable > column > value |
numbers |
Specifies the number rendering mode for the number pipeline. | barchart > series > valuechartchart > haxischart > valuechart > series > valuechart > series > valuechart > vaxis > leftchart > vaxis > rightframe > entry > valueframe > column > valuegauge > entry > valuelinechart > vaxis > leftlinechart > vaxis > rightpiechart > series > valuescalar > entry > valuesummary > entry > valuetable > column > value |
paginateStrategy |
Sets the table’s strategy for choosing between paginate and scrolling all content. If dynamic the pagination mode is enabled depending on the content size.If always the pagination mode is enabled regardless of content. |
table |
plusSign |
Displays ‘+’ sign before positive numbers. “always” and “nonzero” only differ for zero values. |
barchart > series > valuechartchart > haxischart > valuechart > series > valuechart > series > valuechart > vaxis > leftchart > vaxis > rightframe > entry > valueframe > column > valuegauge > entry > valuelinechart > vaxis > leftlinechart > vaxis > rightpiechart > series > valuescalar > entry > valuesummary > entry > valuetable > column > value |
precision |
Specifies the maximum number of fractional digits to be displayed in the number pipeline. | barchart > series > valuechartchart > haxischart > valuechart > series > valuechart > series > valuechart > vaxis > leftchart > vaxis > rightframe > entry > valueframe > column > valuegauge > entry > valuelinechart > vaxis > leftlinechart > vaxis > rightpiechart > series > valuescalar > entry > valuesummary > entry > valuetable > column > value |
radius |
Specify the radius multiplier of points composing the scatter plot. | chart > series > value |
scalarLabelPosition |
Position the label relative to the value. | scalar |
selectAllLabel |
Enable and sets the label for the special All selector. Once it is enabled, any slicer with 2 or more choices will allow the user to temporarilly skip the current slicer choice to have access to the next slicer. Once a non-All choice is made in a downstream slicer, the All slicer gets resolve to the corresponding choice. |
|
seriesDisplay |
Specifies that the series is displayed or hidden. | chart > serieschart > serieschartchartchartchartchartchartchartchart |
seriesFan |
For series type that support it, the fan group for that series. | chart |
seriesGroup |
Scaling group for a | barchart > series |
seriesLegend |
Specifies what is displayed in the legend for that series | chart > serieschart > serieschartchartchartchartchartchartchart |
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”. |
chart > serieschart > serieschartchartchartchartchartchartchart |
seriesLegendTooltip |
Sets the tooltip for the series in the legend. | chart > serieschart > serieschartchartchartchartchartchartchart |
seriesMarker |
The kind of marker the series is rendered with | chart > serieschart > series > value |
seriesOpacity |
Specify the opacity of the series between 0 (fully transparent) and 1 (fully opaque). Is rounded to the nearest percent value. |
chart > serieschart > serieschartchartchartchartchartchartchart |
seriesPattern |
Specifies the pattern for displaying a line series in a linechart or plot. |
chart > serieschart |
seriesSmooth |
Sets the smoothing method for line & area series. | chart > serieschartchart |
seriesStack |
Specifies the category this series stacks with. An empty string disables stacking of this series. |
chartchartchart |
seriesType |
Specifies the display type of a series in a barchart or linechart. |
chartchartchartchartchartchartchartchartchart |
size |
Controls the size of the affected tile or entry. 0 is the neutral size and depending of the context various positive and negative values are supported | buttonlabelscalartabstrip |
sliceField |
Specifies the appearence of the field. Notice that all sliceField are not available for all sliceHierarchy and/or all field types. |
|
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 value"filter" is reselected automatically. |
|
sliceUnselected |
Specifies the text to display on unselected. Used only for some sliceField. | |
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 |
tabsVariant |
“horizontal” and “vertical” are displayed in strip mode, “select” is a more compact with a button selector. | tabstrip |
textAlign |
Specifies the horizontal text alignment in the text pipeline. | frame > entry > valueframe > headerframe > column > headerframe > column > valuelabelscalarsummary > entrysummary > entry > valuetable > column > appendtable > column > headertable > column > prependtable > column > value |
textBold |
If set to true, will render the text with a bold emphasis. | frame > entry > valueframe > headerframe > column > headerframe > column > valuelabelscalarscalar > entry > valuesummary > entrysummary > entry > valuetable > column > appendtable > column > headertable > column > prependtable > column > value |
textColor |
Specifies the color of text for the text color pipeline. | barchart > seriesbarchart > series > valueframe > entry > valueframe > headerframe > column > headerframe > column > valuegaugelabelmarkdownscalarscalar > entry > valuesummary > entry > valuetable > column > appendtable > column > prependtable > column > value |
textItalic |
If set to true, will render the text with an italic emphasis. | frame > entry > valueframe > headerframe > column > headerframe > column > valuelabelscalarscalar > entry > valuesummary > entrysummary > entry > valuetable > column > appendtable > column > headertable > column > prependtable > column > value |
textRotation |
If specified to “left” or “right”, the text element is rotated 90 degrees towards that direction. | label |
textVerticalAlign |
Specifies the vertical text alignment inside the tile. | label |
thousandSeparator |
The thousands separator for the number pipeline. | barchart > series > valuechartchart > haxischart > valuechart > series > valuechart > series > valuechart > vaxis > leftchart > vaxis > rightframe > entry > valueframe > column > valuegauge > entry > valuelinechart > vaxis > leftlinechart > vaxis > rightpiechart > series > valuescalar > entry > valuesummary > entry > valuetable > column > value |
tileBackground |
The background color or hue for the tile. | regionregion > header |
tileColor |
Choose the accent color for a tile. | barchartbuttonchartframegaugeimagelabellinechartmarkdownpiechartscalarsummarytabletabstrip |
tileH |
Set the height of the tile. | |
tilePlacement |
Specifies which placement mode to use. When unspecified, the default can be “fixed” if an inline positioning is specified. |
|
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. |
|
tileTitle |
Sets the title of the tile. | barchartbuttonchartframegaugeimagelabellinechartmarkdownpiechartscalarsummarytabletabstrip |
tileTooltip |
Sets the markdown tooltip of the tile. | barchartchartframegaugelabellinechartmarkdownpiechartscalarsummarytable |
tileTooltipText |
Sets the tooltip of the tile. Warning: this is a temporary feature, and will be replaced by a markdown property tileTooltip. |
barchartchartframegaugelabellinechartmarkdownpiechartscalarsummarytable |
tileW |
Set the width of the tile. | |
tileX |
Set the horizontal position of the left edge of the tile, relative to the left side of the dashboard. | |
tileY |
Set the vertical position of the top edge of the tile, relative to the left side of the dashboard. | |
tileZoom |
Allow the tile to be clicked on (if contextually relevant) to have a full window version inside a modal. | barchartchartframelinechartmarkdownpiechartsummarytable |
tooltipColor |
Choose the main color for the tooltip icon. | barchartchartchart > serieschart > seriesframeframe > entry > valueframe > column > valuegaugelabellinechartmarkdownpiechartscalarchartchartchartchartchartchartchartsummarysummary > entrytabletable > columntable > column > value |
tooltipSecondaryColor |
Choose the secondary color for the tooltip icon. | barchartchartchart > serieschart > seriesframeframe > entry > valueframe > column > valuegaugelabellinechartmarkdownpiechartscalarchartchartchartchartchartchartchartsummarysummary > entrytabletable > columntable > column > value |
treemapCut |
Set the algorithm used to cut the treemap into regions. | |
unit |
Controls the unit of numbers in the number pipeline. | barchart > series > valuechartchart > haxischart > valuechart > serieschart > series > valuechart > serieschart > series > valuechart > vaxis > leftchart > vaxis > rightframe > entry > valueframe > column > valuegauge > entry > valuelinechart > vaxis > leftlinechart > vaxis > rightpiechart > series > valuescalar > entry > valuechartchartchartchartchartchartsummary > entry > valuetable > column > value |
unitPosition |
Controls the position of the unit in the number pipeline. | barchart > series > valuechartchart > haxischart > valuechart > series > valuechart > series > valuechart > vaxis > leftchart > vaxis > rightframe > entry > valueframe > column > valuegauge > entry > valuelinechart > vaxis > leftlinechart > vaxis > rightpiechart > series > valuescalar > entry > valuesummary > entry > valuetable > column > value |
vaxis |
When a chart’s definition permit dynamic axis allocation, specifies a series’ axis. | chart > serieschart > serieschartchartchartchartchartchartchart |
weekFormat |
Specifies the format used to print out weeks (using thesame formatting syntax as dates). | chart > haxisframe > entry > valueframe > column > valuescalar > entry > valuesummary > entry > valuetable > column > value |
| //: # (Auto-generated! Do not edit above this line.) |