Options

Options inherit from higher level. You can use options as an attribute in <discovery-dashboard />, as a field in the dashboard definition, as a field in a tile definition and as a field in execution result.

options

Name Type Default Description
type string Chart type (line, area, scatter, step-area, spline-area, spline, step, step-after, step-before, annotation, bar, display, image, map, gauge, linear-gauge, circle, pie, plot, doughnut, rose, tabular, svg, input:text, input:list, input:secret, input:autocomplete, input:slider, input:date, input:date-range, button)
timeMode string 'date' date, timestamp or custom
timeZone string 'UTC' Timezone, you can set it to 'AUTO' in order to use the browser's timezone
timeUnit string 'us' Warp 10 time unit (us, ms, ns)
timeFormat string 'ddd DD MMM YY HH:mm:ss' Displayed time format, Discovery uses the browser's locale
scheme string 'WARP10' Color scheme (COHESIVE, COHESIVE_2, BELIZE, VIRIDIS, MAGMA, INFERNO, PLASMA, YL_OR_RD, YL_GN_BU, BU_GN, WARP10, NINETEEN_EIGHTY_FOUR, ATLANTIS, DO_ANDROIDS_DREAM, DELOREAN, CTHULHU, ECTOPLASM, T_MAX_400_FILM )
showLegend boolean false Display the chart legend
unit string Unit to be displayed
bgColor string Background color of tiles
datasetColor string Only for the param field in execution result. Color of the trace
fontColor string Font color in tiles
borderColor string Border color in tiles
showLegend boolean false Display chart legend
hideYAxis boolean false Hide Y axis on some charts (the line family)
showRangeSelector boolean false Display the skyline below line or area charts
autoRefresh number -1 if positive value, will refresh with a request each autoRefresh second, in case of WebSockets, it is in milliseconds
showErrors boolean true Display errors if any
showStatus boolean true Display the Warp 10 execution status
expandAnnotation boolean false Expand annotations
scheme string 'WARP10' Color scheme ( COHESIVE, COHESIVE_2, BELIZE, VIRIDIS, MAGMA, INFERNO, PLASMA, YL_OR_RD, YL_GN_BU, BU_GN, WARP10, NINETEEN_EIGHTY_FOUR, ATLANTIS, DO_ANDROIDS_DREAM, DELOREAN, CTHULHU, ECTOPLASM, T_MAX_400_FILM, MATRIX, CHARTANA)
eventHandler string 'type=Regexp,tag=Regexp' Only applies on Tiles and Dashboard. (see Events)
customStyles object Key/value map used to add custom CSS (see Theming)
httpHeaders object Key/value map used to add custom http headers to the request
fullDateDisplay boolean false Only relevant for the line-family charts (line, area, stepped, etc…) and annotations, display dates on axis in ISO format
showLoader boolean false Display a loading indicator while the macro (or Dashboard) is processed
showControls boolean false Display controls icons above the chart

Next steps

Found an issue on this page or something missing?

Tell us onSlack iconThe Lounge, the Warp 10 Community Slack.