Blocks
MiniChartBlock
MiniChartBlock
MiniChartBlock
MiniChartBlock
Object containing the following properties:
| Property | Description | Type | Default |
|---|---|---|---|
id | string | 'MiniChartBlock' | |
block (*) | must be MiniChartBlock | 'MiniChartBlock' | |
metricJoinKey (*) | the join key of the metric | string | |
root | undefined | string | Record<string, string> | string | ||
title | The title of the block. If not provided, the label of the metric will be used. | string | |
textSize | 'lg' | 'md' | 'sm' | 'xs' | 'mn' | ||
metricTitleColor | the color of the metric title | 'current' | 'transparent' | 'black' | 'white' | 'gray' | 'border' | 'tick' | 'disabled' | 'dimmed' | 'foreground' | 'panel-down' | 'panel' | 'panel-up' | 'panel-plus' | 'accent' | 'accent-up' | 'accent-fg' | 'accent2' | 'accent2-up' | 'accent2-fg' | ... or use a custom template (external:id). Check the Icons page for more information. or | |
chartSize | the size of the chart | 'lg' | 'md' | 'sm' | 'xs' | |
chartType (*) | 'ProgressSteps' | 'ProgressBar' | 'HeatSteps' | ||
colorOn | the color on of the chart | 'current' | 'transparent' | 'black' | 'white' | 'gray' | 'border' | 'tick' | 'disabled' | 'dimmed' | 'foreground' | 'panel-down' | 'panel' | 'panel-up' | 'panel-plus' | 'accent' | 'accent-up' | 'accent-fg' | 'accent2' | 'accent2-up' | 'accent2-fg' | ... or use a custom template (external:id). Check the Icons page for more information. or | |
colorOff | the color off of the chart | 'current' | 'transparent' | 'black' | 'white' | 'gray' | 'border' | 'tick' | 'disabled' | 'dimmed' | 'foreground' | 'panel-down' | 'panel' | 'panel-up' | 'panel-plus' | 'accent' | 'accent-up' | 'accent-fg' | 'accent2' | 'accent2-up' | 'accent2-fg' | ... or use a custom template (external:id). Check the Icons page for more information. or | |
addBox | if should add box | boolean | |
boxColor | the color of the box | 'current' | 'transparent' | 'black' | 'white' | 'gray' | 'border' | 'tick' | 'disabled' | 'dimmed' | 'foreground' | 'panel-down' | 'panel' | 'panel-up' | 'panel-plus' | 'accent' | 'accent-up' | 'accent-fg' | 'accent2' | 'accent2-up' | 'accent2-fg' | ... or use a custom template (external:id). Check the Icons page for more information. or | |
resultShort | the short result of the block | Record<string, string> | string | |
resultMain | the main result of the block | Record<string, string> | string | |
resultMore | the more result of the block | Record<string, string> | string | |
noDataLabel | the no data label of the block | Record<string, string> | string | |
sectionId | string | ||
ticksId | the id of the ticks | string | |
ticksMode | 'default' | 'ruler' | ||
showHelp | if should show help | boolean | |
addLegend | the add legend of the block | string |
(*) Required.