[Legacy] Horizontalbarchart reference

[Legacy] Diagramme à barres horizontales

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
sparklines/orderDates   boolean True    
sparklines/datesOrder   oneOf True Select your dataset column  
sparklines/joins   array True    
sparklines/unit   string True    
groupsOrder   oneOf   Select your dataset column  
legend   anyOf      
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)  
style   string      
label   string      
source   string      
variationLegend   string      
showAverage   boolean      
averageText   string      
sort   string     [u’desc’, u’asc’, None]
packs   string      
variation   string      
groups   string      
average          
value   string      

Code mode sample

charts: [
  {
    "chartType": "horizontalBarchart"
  }
]