UNPKG

dash-devextreme

Version:

Wrapper of DevExtreme components for Plotly Dash

1,002 lines (1,001 loc) 2.75 MB
{ "defs": { "valObjects": { "data_array": { "description": "An {array} of data. The value MUST be an {array}, or we ignore it. Note that typed arrays (e.g. Float32Array) are supported.", "requiredOpts": [], "otherOpts": [ "dflt" ] }, "enumerated": { "description": "Enumerated value type. The available values are listed in `values`.", "requiredOpts": [ "values" ], "otherOpts": [ "dflt", "coerceNumber", "arrayOk" ] }, "boolean": { "description": "A boolean (true/false) value.", "requiredOpts": [], "otherOpts": [ "dflt" ] }, "number": { "description": "A number or a numeric value (e.g. a number inside a string). When applicable, values greater (less) than `max` (`min`) are coerced to the `dflt`.", "requiredOpts": [], "otherOpts": [ "dflt", "min", "max", "arrayOk" ] }, "integer": { "description": "An integer or an integer inside a string. When applicable, values greater (less) than `max` (`min`) are coerced to the `dflt`.", "requiredOpts": [], "otherOpts": [ "dflt", "min", "max", "arrayOk" ] }, "string": { "description": "A string value. Numbers are converted to strings except for attributes with `strict` set to true.", "requiredOpts": [], "otherOpts": [ "dflt", "noBlank", "strict", "arrayOk", "values" ] }, "color": { "description": "A string describing color. Supported formats: - hex (e.g. '#d3d3d3') - rgb (e.g. 'rgb(255, 0, 0)') - rgba (e.g. 'rgb(255, 0, 0, 0.5)') - hsl (e.g. 'hsl(0, 100%, 50%)') - hsv (e.g. 'hsv(0, 100%, 100%)') - named colors (full list: http://www.w3.org/TR/css3-color/#svg-color)", "requiredOpts": [], "otherOpts": [ "dflt", "arrayOk" ] }, "colorlist": { "description": "A list of colors. Must be an {array} containing valid colors.", "requiredOpts": [], "otherOpts": [ "dflt" ] }, "colorscale": { "description": "A Plotly colorscale either picked by a name: (any of Greys, YlGnBu, Greens, YlOrRd, Bluered, RdBu, Reds, Blues, Picnic, Rainbow, Portland, Jet, Hot, Blackbody, Earth, Electric, Viridis, Cividis ) customized as an {array} of 2-element {arrays} where the first element is the normalized color level value (starting at *0* and ending at *1*), and the second item is a valid color string.", "requiredOpts": [], "otherOpts": [ "dflt" ] }, "angle": { "description": "A number (in degree) between -180 and 180.", "requiredOpts": [], "otherOpts": [ "dflt" ] }, "subplotid": { "description": "An id string of a subplot type (given by dflt), optionally followed by an integer >1. e.g. if dflt='geo', we can have 'geo', 'geo2', 'geo3', ...", "requiredOpts": [ "dflt" ], "otherOpts": [ "regex" ] }, "flaglist": { "description": "A string representing a combination of flags (order does not matter here). Combine any of the available `flags` with *+*. (e.g. ('lines+markers')). Values in `extras` cannot be combined.", "requiredOpts": [ "flags" ], "otherOpts": [ "dflt", "extras", "arrayOk" ] }, "any": { "description": "Any type.", "requiredOpts": [], "otherOpts": [ "dflt", "values", "arrayOk" ] }, "info_array": { "description": "An {array} of plot information.", "requiredOpts": [ "items" ], "otherOpts": [ "dflt", "freeLength", "dimensions" ] } }, "metaKeys": [ "_isSubplotObj", "_isLinkedToArray", "_arrayAttrRegexps", "_deprecated", "description", "role", "editType", "impliedEdits" ], "editType": { "traces": { "valType": "flaglist", "extras": [ "none" ], "flags": [ "calc", "clearAxisTypes", "plot", "style", "markerSize", "colorbars" ], "description": "trace attributes should include an `editType` string matching this flaglist. *calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata` to force it to be regenerated *clearAxisTypes* resets the types of the axes this trace is on, because new data could cause the automatic axis type detection to change. Log type will not be cleared, as that is never automatically chosen so must have been user-specified. *plot* calls `Plotly.plot` but without first clearing `gd.calcdata`. *style* only calls `module.style` (or module.editStyle) for all trace modules and redraws the legend. *markerSize* is like *style*, but propagate axis-range changes due to scatter `marker.size` *colorbars* only redraws colorbars." }, "layout": { "valType": "flaglist", "extras": [ "none" ], "flags": [ "calc", "plot", "legend", "ticks", "axrange", "layoutstyle", "modebar", "camera", "arraydraw" ], "description": "layout attributes should include an `editType` string matching this flaglist. *calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata` to force it to be regenerated *plot* calls `Plotly.plot` but without first clearing `gd.calcdata`. *legend* only redraws the legend. *ticks* only redraws axis ticks, labels, and gridlines. *axrange* minimal sequence when updating axis ranges. *layoutstyle* reapplies global and SVG cartesian axis styles. *modebar* just updates the modebar. *camera* just updates the camera settings for gl3d scenes. *arraydraw* allows component arrays to invoke the redraw routines just for the component(s) that changed." } }, "impliedEdits": { "description": "Sometimes when an attribute is changed, other attributes must be altered as well in order to achieve the intended result. For example, when `range` is specified, it is important to set `autorange` to `false` or the new `range` value would be lost in the redraw. `impliedEdits` is the mechanism to do this: `impliedEdits: {autorange: false}`. Each key is a relative paths to the attribute string to change, using *^* to ascend into the parent container, for example `range[0]` has `impliedEdits: {*^autorange*: false}`. A value of `undefined` means that the attribute will not be changed, but its previous value should be recorded in case we want to reverse this change later. For example, `autorange` has `impliedEdits: {*range[0]*: undefined, *range[1]*:undefined} because the range will likely be changed by redraw." } }, "traces": { "scatter": { "meta": { "description": "The scatter trace type encompasses line charts, scatter charts, text charts, and bubble charts. The data visualized as scatter point or lines is set in `x` and `y`. Text (appearing either on the chart or on hover only) is via `text`. Bubble charts are achieved by setting `marker.size` and/or `marker.color` to numerical arrays." }, "attributes": { "type": "scatter", "visible": { "valType": "enumerated", "values": [ true, false, "legendonly" ], "role": "info", "dflt": true, "editType": "calc", "description": "Determines whether or not this trace is visible. If *legendonly*, the trace is not drawn, but can appear as a legend item (provided that the legend itself is visible)." }, "showlegend": { "valType": "boolean", "role": "info", "dflt": true, "editType": "style", "description": "Determines whether or not an item corresponding to this trace is shown in the legend." }, "legendgroup": { "valType": "string", "role": "info", "dflt": "", "editType": "style", "description": "Sets the legend group for this trace. Traces part of the same legend group hide/show at the same time when toggling legend items." }, "opacity": { "valType": "number", "role": "style", "min": 0, "max": 1, "dflt": 1, "editType": "style", "description": "Sets the opacity of the trace." }, "name": { "valType": "string", "role": "info", "editType": "style", "description": "Sets the trace name. The trace name appear as the legend item and on hover." }, "uid": { "valType": "string", "role": "info", "editType": "plot" }, "ids": { "valType": "data_array", "editType": "calc", "description": "Assigns id labels to each datum. These ids for object constancy of data points during animation. Should be an array of strings, not numbers or any other type.", "role": "data" }, "customdata": { "valType": "data_array", "editType": "calc", "description": "Assigns extra data each datum. This may be useful when listening to hover, click and selection events. Note that, *scatter* traces also appends customdata items in the markers DOM elements", "role": "data" }, "selectedpoints": { "valType": "any", "role": "info", "editType": "calc", "description": "Array containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect." }, "hoverinfo": { "valType": "flaglist", "role": "info", "flags": [ "x", "y", "z", "text", "name" ], "extras": [ "all", "none", "skip" ], "arrayOk": true, "dflt": "all", "editType": "none", "description": "Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired." }, "hoverlabel": { "bgcolor": { "valType": "color", "role": "style", "arrayOk": true, "editType": "none", "description": "Sets the background color of the hover labels for this trace" }, "bordercolor": { "valType": "color", "role": "style", "arrayOk": true, "editType": "none", "description": "Sets the border color of the hover labels for this trace." }, "font": { "family": { "valType": "string", "role": "style", "noBlank": true, "strict": true, "editType": "none", "description": "HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The plotly service (at https://plot.ly or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*, *Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*, *PT Sans Narrow*, *Raleway*, *Times New Roman*.", "arrayOk": true }, "size": { "valType": "number", "role": "style", "min": 1, "editType": "none", "arrayOk": true }, "color": { "valType": "color", "role": "style", "editType": "none", "arrayOk": true }, "editType": "none", "description": "Sets the font used in hover labels.", "role": "object", "familysrc": { "valType": "string", "role": "info", "description": "Sets the source reference on plot.ly for family .", "editType": "none" }, "sizesrc": { "valType": "string", "role": "info", "description": "Sets the source reference on plot.ly for size .", "editType": "none" }, "colorsrc": { "valType": "string", "role": "info", "description": "Sets the source reference on plot.ly for color .", "editType": "none" } }, "namelength": { "valType": "integer", "min": -1, "arrayOk": true, "role": "style", "editType": "none", "description": "Sets the length (in number of characters) of the trace name in the hover labels for this trace. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis." }, "editType": "calc", "role": "object", "bgcolorsrc": { "valType": "string", "role": "info", "description": "Sets the source reference on plot.ly for bgcolor .", "editType": "none" }, "bordercolorsrc": { "valType": "string", "role": "info", "description": "Sets the source reference on plot.ly for bordercolor .", "editType": "none" }, "namelengthsrc": { "valType": "string", "role": "info", "description": "Sets the source reference on plot.ly for namelength .", "editType": "none" } }, "stream": { "token": { "valType": "string", "noBlank": true, "strict": true, "role": "info", "editType": "calc", "description": "The stream id number links a data trace on a plot with a stream. See https://plot.ly/settings for more details." }, "maxpoints": { "valType": "number", "min": 0, "max": 10000, "dflt": 500, "role": "info", "editType": "calc", "description": "Sets the maximum number of points to keep on the plots from an incoming stream. If `maxpoints` is set to *50*, only the newest 50 points will be displayed on the plot." }, "editType": "calc", "role": "object" }, "transforms": { "items": { "transform": { "editType": "calc", "description": "An array of operations that manipulate the trace data, for example filtering or sorting the data arrays.", "role": "object" } }, "role": "object" }, "x": { "valType": "data_array", "editType": "calc+clearAxisTypes", "description": "Sets the x coordinates.", "role": "data" }, "x0": { "valType": "any", "dflt": 0, "role": "info", "editType": "calc+clearAxisTypes", "description": "Alternate to `x`. Builds a linear space of x coordinates. Use with `dx` where `x0` is the starting coordinate and `dx` the step." }, "dx": { "valType": "number", "dflt": 1, "role": "info", "editType": "calc", "description": "Sets the x coordinate step. See `x0` for more info." }, "y": { "valType": "data_array", "editType": "calc+clearAxisTypes", "description": "Sets the y coordinates.", "role": "data" }, "y0": { "valType": "any", "dflt": 0, "role": "info", "editType": "calc+clearAxisTypes", "description": "Alternate to `y`. Builds a linear space of y coordinates. Use with `dy` where `y0` is the starting coordinate and `dy` the step." }, "dy": { "valType": "number", "dflt": 1, "role": "info", "editType": "calc", "description": "Sets the y coordinate step. See `y0` for more info." }, "stackgroup": { "valType": "string", "role": "info", "dflt": "", "editType": "calc", "description": "Set several scatter traces (on the same subplot) to the same stackgroup in order to add their y values (or their x values if `orientation` is *h*). If blank or omitted this trace will not be stacked. Stacking also turns `fill` on by default, using *tonexty* (*tonextx*) if `orientation` is *h* (*v*) and sets the default `mode` to *lines* irrespective of point count. You can only stack on a numeric (linear or log) axis. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order." }, "orientation": { "valType": "enumerated", "role": "info", "values": [ "v", "h" ], "editType": "calc", "description": "Only relevant when `stackgroup` is used, and only the first `orientation` found in the `stackgroup` will be used - including if `visible` is *legendonly* but not if it is `false`. Sets the stacking direction. With *v* (*h*), the y (x) values of subsequent traces are added. Also affects the default value of `fill`." }, "groupnorm": { "valType": "enumerated", "values": [ "", "fraction", "percent" ], "dflt": "", "role": "info", "editType": "calc", "description": "Only relevant when `stackgroup` is used, and only the first `groupnorm` found in the `stackgroup` will be used - including if `visible` is *legendonly* but not if it is `false`. Sets the normalization for the sum of this `stackgroup`. With *fraction*, the value of each trace at each location is divided by the sum of all trace values at that location. *percent* is the same but multiplied by 100 to show percentages. If there are multiple subplots, or multiple `stackgroup`s on one subplot, each will be normalized within its own set." }, "stackgaps": { "valType": "enumerated", "values": [ "infer zero", "interpolate" ], "dflt": "infer zero", "role": "info", "editType": "calc", "description": "Only relevant when `stackgroup` is used, and only the first `stackgaps` found in the `stackgroup` will be used - including if `visible` is *legendonly* but not if it is `false`. Determines how we handle locations at which other traces in this group have data but this one does not. With *infer zero* we insert a zero at these locations. With *interpolate* we linearly interpolate between existing values, and extrapolate a constant beyond the existing values." }, "text": { "valType": "string", "role": "info", "dflt": "", "arrayOk": true, "editType": "calc", "description": "Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels." }, "hovertext": { "valType": "string", "role": "info", "dflt": "", "arrayOk": true, "editType": "style", "description": "Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag." }, "mode": { "valType": "flaglist", "flags": [ "lines", "markers", "text" ], "extras": [ "none" ], "role": "info", "editType": "calc", "description": "Determines the drawing mode for this scatter trace. If the provided `mode` includes *text* then the `text` elements appear at the coordinates. Otherwise, the `text` elements appear on hover. If there are less than 20 points and the trace is not stacked then the default is *lines+markers*. Otherwise, *lines*." }, "hoveron": { "valType": "flaglist", "flags": [ "points", "fills" ], "role": "info", "editType": "style", "description": "Do the hover effects highlight individual points (markers or line points) or do they highlight filled regions? If the fill is *toself* or *tonext* and there are no markers or text, then the default is *fills*, otherwise it is *points*." }, "line": { "color": { "valType": "color", "role": "style", "editType": "style", "description": "Sets the line color." }, "width": { "valType": "number", "min": 0, "dflt": 2, "role": "style", "editType": "style", "description": "Sets the line width (in px)." }, "shape": { "valType": "enumerated", "values": [ "linear", "spline", "hv", "vh", "hvh", "vhv" ], "dflt": "linear", "role": "style", "editType": "plot", "description": "Determines the line shape. With *spline* the lines are drawn using spline interpolation. The other available values correspond to step-wise line shapes." }, "smoothing": { "valType": "number", "min": 0, "max": 1.3, "dflt": 1, "role": "style", "editType": "plot", "description": "Has an effect only if `shape` is set to *spline* Sets the amount of smoothing. *0* corresponds to no smoothing (equivalent to a *linear* shape)." }, "dash": { "valType": "string", "values": [ "solid", "dot", "dash", "longdash", "dashdot", "longdashdot" ], "dflt": "solid", "role": "style", "editType": "style", "description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*)." }, "simplify": { "valType": "boolean", "dflt": true, "role": "info", "editType": "plot", "description": "Simplifies lines by removing nearly-collinear points. When transitioning lines, it may be desirable to disable this so that the number of points along the resulting SVG path is unaffected." }, "editType": "plot", "role": "object" }, "connectgaps": { "valType": "boolean", "dflt": false, "role": "info", "editType": "calc", "description": "Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected." }, "cliponaxis": { "valType": "boolean", "dflt": true, "role": "info", "editType": "plot", "description": "Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*." }, "fill": { "valType": "enumerated", "values": [ "none", "tozeroy", "tozerox", "tonexty", "tonextx", "toself", "tonext" ], "role": "style", "editType": "calc", "description": "Sets the area to fill with a solid color. Defaults to *none* unless this trace is stacked, then it gets *tonexty* (*tonextx*) if `orientation` is *v* (*h*) Use with `fillcolor` if not *none*. *tozerox* and *tozeroy* fill to x=0 and y=0 respectively. *tonextx* and *tonexty* fill between the endpoints of this trace and the endpoints of the trace before it, connecting those endpoints with straight lines (to make a stacked area graph); if there is no trace before it, they behave like *tozerox* and *tozeroy*. *toself* connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. *tonext* fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like *toself* if there is no trace before it. *tonext* should not be used if one trace does not enclose the other. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order." }, "fillcolor": { "valType": "color", "role": "style", "editType": "style", "description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available." }, "marker": { "symbol": { "valType": "enumerated", "values": [ 0, "circle", 100, "circle-open", 200, "circle-dot", 300, "circle-open-dot", 1, "square", 101, "square-open", 201, "square-dot", 301, "square-open-dot", 2, "diamond", 102, "diamond-open", 202, "diamond-dot", 302, "diamond-open-dot", 3, "cross", 103, "cross-open", 203, "cross-dot", 303, "cross-open-dot", 4, "x", 104, "x-open", 204, "x-dot", 304, "x-open-dot", 5, "triangle-up", 105, "triangle-up-open", 205, "triangle-up-dot", 305, "triangle-up-open-dot", 6, "triangle-down", 106, "triangle-down-open", 206, "triangle-down-dot", 306, "triangle-down-open-dot", 7, "triangle-left", 107, "triangle-left-open", 207, "triangle-left-dot", 307, "triangle-left-open-dot", 8, "triangle-right", 108, "triangle-right-open", 208, "triangle-right-dot", 308, "triangle-right-open-dot", 9, "triangle-ne", 109, "triangle-ne-open", 209, "triangle-ne-dot", 309, "triangle-ne-open-dot", 10, "triangle-se", 110, "triangle-se-open", 210, "triangle-se-dot", 310, "triangle-se-open-dot", 11, "triangle-sw", 111, "triangle-sw-open", 211, "triangle-sw-dot", 311, "triangle-sw-open-dot", 12, "triangle-nw", 112, "triangle-nw-open", 212, "triangle-nw-dot", 312, "triangle-nw-open-dot", 13, "pentagon", 113, "pentagon-open", 213, "pentagon-dot", 313, "pentagon-open-dot", 14, "hexagon", 114, "hexagon-open", 214, "hexagon-dot", 314, "hexagon-open-dot", 15, "hexagon2", 115, "hexagon2-open", 215, "hexagon2-dot", 315, "hexagon2-open-dot", 16, "octagon", 116, "octagon-open", 216, "octagon-dot", 316, "octagon-open-dot", 17, "star", 117, "star-open", 217, "star-dot", 317, "star-open-dot", 18, "hexagram", 118, "hexagram-open", 218, "hexagram-dot", 318, "hexagram-open-dot", 19, "star-triangle-up", 119, "star-triangle-up-open", 219, "star-triangle-up-dot", 319, "star-triangle-up-open-dot", 20, "star-triangle-down", 120, "star-triangle-down-open", 220, "star-triangle-down-dot", 320, "star-triangle-down-open-dot", 21, "star-square", 121, "star-square-open", 221, "star-square-dot", 321, "star-square-open-dot", 22, "star-diamond", 122, "star-diamond-open", 222, "star-diamond-dot", 322, "star-diamond-open-dot", 23, "diamond-tall", 123, "diamond-tall-open", 223, "diamond-tall-dot", 323, "diamond-tall-open-dot", 24, "diamond-wide", 124, "diamond-wide-open", 224, "diamond-wide-dot", 324, "diamond-wide-open-dot", 25, "hourglass", 125, "hourglass-open", 26, "bowtie", 126, "bowtie-open", 27, "circle-cross", 127, "circle-cross-open", 28, "circle-x", 128, "circle-x-open", 29, "square-cross", 129, "square-cross-open", 30, "square-x", 130, "square-x-open", 31, "diamond-cross", 131, "diamond-cross-open", 32, "diamond-x", 132, "diamond-x-open", 33, "cross-thin", 133, "cross-thin-open", 34, "x-thin", 134, "x-thin-open", 35, "asterisk", 135, "asterisk-open", 36, "hash", 136, "hash-open", 236, "hash-dot", 336, "hash-open-dot", 37, "y-up", 137, "y-up-open", 38, "y-down", 138, "y-down-open", 39, "y-left", 139, "y-left-open", 40, "y-right", 140, "y-right-open", 41, "line-ew", 141, "line-ew-open", 42, "line-ns", 142, "line-ns-open", 43, "line-ne", 143, "line-ne-open", 44, "line-nw", 144, "line-nw-open" ], "dflt": "circle", "arrayOk": true, "role": "style", "editType": "style", "description": "Sets the marker symbol type. Adding 100 is equivalent to appending *-open* to a symbol name. Adding 200 is equivalent to appending *-dot* to a symbol name. Adding 300 is equivalent to appending *-open-dot* or *dot-open* to a symbol name." }, "opacity": { "valType": "number", "min": 0, "max": 1, "arrayOk": true, "role": "style", "editType": "style", "description": "Sets the marker opacity." }, "size": { "valType": "number", "min": 0, "dflt": 6, "arrayOk": true, "role": "style", "editType": "calc", "description": "Sets the marker size (in px)." }, "maxdisplayed": { "valType": "number", "min": 0, "dflt": 0, "role": "style", "editType": "plot", "description": "Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit." }, "sizeref": { "valType": "number", "dflt": 1, "role": "style", "editType": "calc", "description": "Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`." }, "sizemin": { "valType": "number", "min": 0, "dflt": 0, "role": "style", "editType": "calc", "description": "Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points." }, "sizemode": { "valType": "enumerated", "values": [ "diameter", "area" ], "dflt": "diameter", "role": "info", "editType": "calc", "description": "Has an effect only if `marker.size` is set to a numerical array. Sets the rule for which the data in `size` is converted to pixels." }, "colorbar": { "thicknessmode": { "valType": "enumerated", "values": [ "fraction", "pixels" ], "role": "style", "dflt": "pixels", "description": "Determines whether this color bar's thickness (i.e. the measure in the constant color direction) is set in units of plot *fraction* or in *pixels*. Use `thickness` to set the value.", "editType": "colorbars" }, "thickness": { "valType": "number", "role": "style", "min": 0, "dflt": 30, "description": "Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels.", "editType": "colorbars" }, "lenmode": { "valType": "enumerated", "values": [ "fraction", "pixels" ], "role": "info", "dflt": "fraction", "description": "Determines whether this color bar's length (i.e. the measure in the color variation direction) is set in units of plot *fraction* or in *pixels. Use `len` to set the value.", "editType": "colorbars" }, "len": { "valType": "number", "min": 0, "dflt": 1, "role": "style", "description": "Sets the length of the color bar This measure excludes the padding of both ends. That is, the color bar length is this length minus the padding on both ends.", "editType": "colorbars" }, "x": { "valType": "number", "dflt": 1.02, "min": -2, "max": 3, "role": "style", "description": "Sets the x position of the color bar (in plot fraction).",