Bulletchart reference

To display a value against a goal

Overview

📖 Learn More about the Bulletchart here.

📖 Find examples on the Bulletchart here.

Parameters

Required

You must fill these parameters to produce a Bulletchart

parameters label type description (placeholder | tooltip)
label   string (Column of dataset expected) Column containing bars label |
value   string (Column of dataset expected) Column containing bar value |
meta     |
target   string (Column of dataset expected) Column containing the target value | Will be represented as a vertical bar
dataset   string |

Optional

You can let these parameters unset if you do not need them

parameters label type description (placeholder | tooltip)
packs   string (Column of dataset expected) Column containing grouping of bars |
colorTargets Add colors on target tick boolean | Use it to visualy see our target reach
mobileSize Mobile Size number Enter a proportion of the total mobile screen | Use on multiple charts onlyEnter a number from 0 to 1
drillOnLabels Allow drill on labels boolean | Users will be able to click on labels to change the view and go to its childrenCharts labels should match exactly reports labels
size Size number Enter a proportion of the total screen | Use on multiple charts onlyEnter a number from 0 to 1
notAlignTargets Remove targets alignment boolean |
packsOrder Packs order   | Use it to order packs
defaultSelected Bar legend expanded by default   |
packsName Display packs names boolean |
legend Display legend boolean |
sparklines Sparklines object | Add a line to represent the trend of the value for each labelMake sure you have define an historical datasetfrom the dataset editor menu.Learn more right here
sparklines/date   string (Column of dataset expected) Column containing the time dimension |
sparklines/showMissingValues Show missing values boolean | Display missing values as blank/white linesBy default missing values are filtered outto display a continuous line
sparklines/forceLexicalOrder Automatic date ordering boolean | Set to false to disable lexical reordering of ordinal dates
sparklines/commonScatter Common scale boolean | Use the same scale for all sparklines (y axis)
sparklines/legend   string Type in a legend | Optional
sparklines/prefix   string Type in text | OptionalAdd a prefix to value display
sparklines/value   string (Column of dataset expected) Column containing the line value |
sparklines/dateFormat Date display format string Describe how to display the date | OptionalUse d3 time format (like ‘%Y’ to display just years)
commonScale Use same scale for all bars boolean |
comparison   string (Column of dataset expected) Column containing comparison value | Will be displayed as an overlay around the bars
rank Display ranks for sorted bars boolean |
labelsOrder Labels order   | Use it to order labels
tutorial Tutorial object |
tutorial/content Message string Enter your message | This will be displayed to your users
tutorial/id   string Enter an ID | Change the ID to display the tutorial again. All tutorials with the same ID will be displayed only once.
tutorial/alwaysShow Always show this tutorial boolean | By default the tutorial is shown once only

Others

This parameters are either common to all charts, or hidden from studio. You can use them in code mode, but it’s not recommended !

parameters label type description (placeholder | tooltip)
source   string |
style   string |
comment   string |
sparklines/units   object |
sparklines/datesOrder     |
sparklines/unit   string |
sparklines/data   object |
sparklines/data/history   object |
sparklines/data/history/joins   array |
sparklines/data/history/data   object |
sparklines/data/history/data/postprocess   array |
sparklines/data/history/data/query     |
sparklines/data/history/data/date     |
sparklines/data/history/data/precision     |
sparklines/data/units   object |
sparklines/data/dimensions   array |
sparklines/data/date     |
sparklines/data/pipeline   array |
sparklines/data/hierarchy   object |
sparklines/data/hierarchy/root   array |
sparklines/data/hierarchy/id   array |
sparklines/data/hierarchy/parent   array |
sparklines/data/precision     |
sparklines/data/order     |
sparklines/data/highlighted     |
sparklines/data/postprocess   array |
sparklines/data/geofeatures   object |
sparklines/data/geofeatures/join   object |
sparklines/data/geofeatures/join/how   string |
sparklines/data/geofeatures/join/on   object |
sparklines/data/geofeatures/join/on/data   string |
sparklines/data/geofeatures/join/on/features   string |
sparklines/data/geofeatures/query   [‘object’, ‘array’] |
sparklines/data/query     |
sparklines/joins   array |
sparklines/orderDates   boolean |