[Legacy] Bullet chart reference¶
To display a value against a goal
Warning
These are legacy charts and are not supported anymore. Switch to the new charts to get the latest update of the chart
None options is availaible in studio
Only in code mode¶
parameters | label | type | optional | description | choices |
---|---|---|---|---|---|
comment |
string | ||||
labelsOrder |
oneOf | Select your dataset column | |||
style |
string | True | |||
source |
string | ||||
packsOrder |
oneOf | Select your dataset column | |||
sparklines/orderDates |
boolean | True | |||
sparklines/datesOrder |
oneOf | True | Select your dataset column | ||
sparklines/joins |
array | True | |||
sparklines/unit |
string | True | |||
domain |
array | ||||
rank |
Display ranks | boolean | True | ||
label |
string | Column containing bars label | |||
drillOnLabels |
Allow drill on labels | boolean | True | (Users will be able to click on labels to change the view) | |
packsName |
Display packs names | boolean | True | ||
packs |
string | True | Column containing grouping of bars | ||
sparklines/commonScatter |
Common scale | boolean | True | (Use the same scale for all sparklines (y axis)) | |
sparklines/dateFormat |
Date display format | string | True | Describe how to display the date (OptionalUse d3 time format (like ‘%Y’ to display just years)) | |
sparklines/forceLexicalOrder |
Automatic date ordering | boolean | True | (Set to false to disable lexical reordering of ordinal dates) | |
sparklines/value |
string | True | Column containing the line value | ||
sparklines/date |
string | True | Column containing the time dimension | ||
sparklines/prefix |
string | True | Type in text (OptionalAdd a prefix to value display) | ||
sparklines/showMissingValues |
Show missing values | boolean | True | (Display missing values as blank/white linesBy default missing values are filtered outto display a continuous line) | |
sparklines/legend |
string | True | Type in a legend (Optional) | ||
comparison |
string | True | Column containing the comparison value (Will be displayed as an overlay around the bars) | ||
commonScale |
Rescale bars | boolean | True | ||
target |
string | Column containing the target value (Will be represented as a vertical bar) | |||
notAlignTargets |
Remove the targets alignment | boolean | True | ||
value |
string | Column containing bar value | |||
colorTargets |
Display sentiment on the target tick | boolean | True |
Code mode sample¶
charts: [
{
"chartType": "new-bulletchart",
"target": "",
"value": "",
"label": ""
}
]