Legacy :: Leaderboard Centered Average reference¶
Warning
This is a legacy chart and is not supported anymore. Please, choose a new chart.
Parameters¶
parameters | label | type | description (placeholder | tooltip) |
---|---|---|---|
filters | object | | | |
filters/upper-right | object | | | |
filters/upper-right/globalFilterId | string | | | |
filters/upper-middle | object | | | |
filters/upper-middle/globalFilterId | string | | | |
labelWidth | Labels width | number | Enter integer (in px) | The option is not used on mobile |
meta | Bars additional info | | Will be displayed in the legend | |
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/unit | string | | | |
sparklines/value | string (Column of dataset expected) | Column containing the line value | | |
sparklines/joins | array | | | |
sparklines/prefix | string | Type in text | OptionalAdd a prefix to value display | |
sparklines/showMissingValues | Show missing values | boolean | | Display missing values as blank/white linesBy default missing values are filtered outto display a continuous line |
sparklines/commonScatter | Common scale | boolean | | Use the same scale for all sparklines (y axis) |
sparklines/datesOrder | | | ||
sparklines/forceLexicalOrder | Automatic date ordering | boolean | | Set to false to disable lexical reordering of ordinal dates |
sparklines/legend | string | Type in a legend | Optional | |
sparklines/orderDates | boolean | | | |
sparklines/units | object | | | |
sparklines/data | object | | | |
sparklines/data/date | | | ||
sparklines/data/precision | | | ||
sparklines/data/query | | | ||
sparklines/data/postprocess | array | | | |
sparklines/data/highlighted | | | ||
sparklines/data/hierarchy | object | | | |
sparklines/data/hierarchy/root | array | | | |
sparklines/data/hierarchy/parent | array | | | |
sparklines/data/hierarchy/id | array | | | |
sparklines/data/history | object | | | |
sparklines/data/history/data | object | | | |
sparklines/data/history/data/date | | | ||
sparklines/data/history/data/precision | | | ||
sparklines/data/history/data/query | | | ||
sparklines/data/history/data/postprocess | array | | | |
sparklines/data/history/joins | array | | | |
sparklines/data/geofeatures | object | | | |
sparklines/data/geofeatures/join | object | | | |
sparklines/data/geofeatures/join/on | object | | | |
sparklines/data/geofeatures/join/on/data | string | | | |
sparklines/data/geofeatures/join/on/features | string | | | |
sparklines/data/geofeatures/join/how | string | | | |
sparklines/data/geofeatures/query | [‘object’, ‘array’] | | | |
sparklines/data/dimensions | array | | | |
sparklines/data/order | | | ||
sparklines/data/units | object | | | |
sparklines/data/pipeline | array | | | |
sparklines/dateFormat | Date display format | string | Describe how to display the date | OptionalUse d3 time format (like ‘%Y’ to display just years) |
sort | string | | | |
reverse | | | ||
variation | string (Column of dataset expected) | Column containing variation values | | |
id | | | ||
requesters | object | | | |
compactLabels | Display labels with smaller font | boolean | | |
variationLegend | Variation legend | string | Enter the legend for your variation | |
sentiment | object | | | |
rank | Display ranks | boolean | | |
style | string | | | |
chartType | | | ||
lazyLoad | Activate lazyload | boolean | | Use it to load a lot of data |
mobileSize | Mobile Size | number | Enter a proportion of the total mobile screen | Use on multiple charts onlyEnter a number from 0 to 1 |
sorter | object | | | |
sorter/legend | string | | | |
sorter/default | string | | | |
sorter/values | array | | | |
hideAverageBox | Hide average box | boolean | | |
label | string (Column of dataset expected) | Column containing bar label | | |
averageText | Average legend | string | Enter text to be displayed as the average legend | |
size | Size | number | Enter a proportion of the total screen | Use on multiple charts onlyEnter a number from 0 to 1 |
packs | string (Column of dataset expected) | Column containing grouping of bars | | |
value | string (Column of dataset expected) | Column containing bar value | | |
dataset | string | | | |
average | | Will be used to position bars | ||
comment | string | | | |
packsOrder | Packs Order | | Use it to order packs | |
source | string | | | |
drillOnLabels | Allow drill on labels | boolean | | Users will be able to click on labels to change the view |
legend | | | ||
packsLabelWidthMobile | Packs labels width (Mobile) | number | Enter integer to override the default size for the packs labels in pixels | The option is not used on desktop |
labelsOrder | Labels Order | | Use it to order labels | |
units | object | | | |
tutorial | Tutorial | object | | |
tutorial/alwaysShow | Always show this tutorial | boolean | | By default the tutorial is shown once only |
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. | |
packsLabelWidth | Packs labels width | number | Enter integer (in px) | The option is not used on mobile |