Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c26e6c

Browse files
committed
updated default json schema
1 parent ee7b976 commit 9c26e6c

File tree

1 file changed

+57
-17
lines changed

1 file changed

+57
-17
lines changed

plotly/graph_reference/default-schema.json

Lines changed: 57 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"description": "Any type.",
2020
"otherOpts": [
2121
"dflt",
22-
"values"
22+
"values",
23+
"arrayOk"
2324
],
2425
"requiredOpts": []
2526
},
@@ -415,14 +416,10 @@
415416
"role": "object"
416417
},
417418
"autosize": {
418-
"description": "Determines whether or not the dimensions of the figure are computed as a function of the display size.",
419+
"description": "Determines whether or not a layout width or height that has been left undefined by the user is initialized on each relayout. Note that, regardless of this attribute, an undefined layout width or height is always initialized on the first call to plot.",
420+
"dflt": false,
419421
"role": "info",
420-
"valType": "enumerated",
421-
"values": [
422-
true,
423-
false,
424-
"initial"
425-
]
422+
"valType": "boolean"
426423
},
427424
"direction": {
428425
"description": "For polar plots only. Sets the direction corresponding to positive angles.",
@@ -3014,7 +3011,7 @@
30143011
"active": {
30153012
"description": "Determines which button (by index starting from 0) is considered active.",
30163013
"dflt": 0,
3017-
"min": -10,
3014+
"min": 0,
30183015
"role": "info",
30193016
"valType": "number"
30203017
},
@@ -6148,6 +6145,18 @@
61486145
]
61496146
}
61506147
},
6148+
"base": {
6149+
"arrayOk": true,
6150+
"description": "Sets where the bar base is drawn (in position axis units). In *stack* or *relative* barmode, traces that set *base* will be excluded and drawn in *overlay* mode instead.",
6151+
"dflt": null,
6152+
"role": "info",
6153+
"valType": "any"
6154+
},
6155+
"basesrc": {
6156+
"description": "Sets the source reference on plot.ly for base .",
6157+
"role": "info",
6158+
"valType": "string"
6159+
},
61516160
"dx": {
61526161
"description": "Sets the x coordinate step. See `x0` for more info.",
61536162
"dflt": 1,
@@ -6856,6 +6865,18 @@
68566865
"role": "info",
68576866
"valType": "string"
68586867
},
6868+
"offset": {
6869+
"arrayOk": true,
6870+
"description": "Shifts the position where the bar is drawn (in position axis units). In *group* barmode, traces that set *offset* will be excluded and drawn in *overlay* mode instead.",
6871+
"dflt": null,
6872+
"role": "info",
6873+
"valType": "number"
6874+
},
6875+
"offsetsrc": {
6876+
"description": "Sets the source reference on plot.ly for offset .",
6877+
"role": "info",
6878+
"valType": "string"
6879+
},
68596880
"opacity": {
68606881
"description": "Sets the opacity of the trace.",
68616882
"dflt": 1,
@@ -6946,6 +6967,19 @@
69466967
"legendonly"
69476968
]
69486969
},
6970+
"width": {
6971+
"arrayOk": true,
6972+
"description": "Sets the bar width (in position axis units).",
6973+
"dflt": null,
6974+
"min": 0,
6975+
"role": "info",
6976+
"valType": "number"
6977+
},
6978+
"widthsrc": {
6979+
"description": "Sets the source reference on plot.ly for width .",
6980+
"role": "info",
6981+
"valType": "string"
6982+
},
69496983
"x": {
69506984
"description": "Sets the x coordinates.",
69516985
"role": "data",
@@ -20745,13 +20779,6 @@
2074520779
"dflt": true,
2074620780
"valType": "boolean"
2074720781
},
20748-
"filtersrc": {
20749-
"description": "Sets the variable in the parent trace object by which the filter will be applied. To filter about nested variables, use *.* to access them. For example, set `filtersrc` to *marker.color* to filter about the marker color array.",
20750-
"dflt": "x",
20751-
"noBlank": true,
20752-
"strict": true,
20753-
"valType": "string"
20754-
},
2075520782
"operation": {
2075620783
"description": "Sets the filter operation. *=* keeps items equal to `value` *<* keeps items less than `value` *<=* keeps items less than or equal to `value` *>* keeps items greater than `value` *>=* keeps items greater than or equal to `value` *[]* keeps items inside `value[0]` to value[1]` including both bounds` *()* keeps items inside `value[0]` to value[1]` excluding both bounds` *[)* keeps items inside `value[0]` to value[1]` including `value[0]` but excluding `value[1] *(]* keeps items inside `value[0]` to value[1]` excluding `value[0]` but including `value[1] *][* keeps items outside `value[0]` to value[1]` and equal to both bounds` *)(* keeps items outside `value[0]` to value[1]` *](* keeps items outside `value[0]` to value[1]` and equal to `value[0]` *)[* keeps items outside `value[0]` to value[1]` and equal to `value[1]` *{}* keeps items present in a set of values *}{* keeps items not present in a set of values",
2075720784
"dflt": "=",
@@ -20774,8 +20801,21 @@
2077420801
"}{"
2077520802
]
2077620803
},
20804+
"target": {
20805+
"arrayOk": true,
20806+
"description": "Sets the filter target by which the filter is applied. If a string, *target* is assumed to be a reference to a data array in the parent trace object. To filter about nested variables, use *.* to access them. For example, set `target` to *marker.color* to filter about the marker color array. If an array, *target* is then the data array by which the filter is applied.",
20807+
"dflt": "x",
20808+
"noBlank": true,
20809+
"strict": true,
20810+
"valType": "string"
20811+
},
20812+
"targetsrc": {
20813+
"description": "Sets the source reference on plot.ly for target .",
20814+
"role": "info",
20815+
"valType": "string"
20816+
},
2077720817
"value": {
20778-
"description": "Sets the value or values by which to filter by. Values are expected to be in the same type as the data linked to *filtersrc*. When `operation` is set to one of the inequality values (=,<,>=,>,<=) *value* is expected to be a number or a string. When `operation` is set to one of the interval value ([],(),[),(],][,)(,](,)[) *value* is expected to be 2-item array where the first item is the lower bound and the second item is the upper bound. When `operation`, is set to one of the set value ({},}{) *value* is expected to be an array with as many items as the desired set elements.",
20818+
"description": "Sets the value or values by which to filter by. Values are expected to be in the same type as the data linked to *target*. When `operation` is set to one of the inequality values (=,<,>=,>,<=) *value* is expected to be a number or a string. When `operation` is set to one of the interval value ([],(),[),(],][,)(,](,)[) *value* is expected to be 2-item array where the first item is the lower bound and the second item is the upper bound. When `operation`, is set to one of the set value ({},}{) *value* is expected to be an array with as many items as the desired set elements.",
2077920819
"dflt": 0,
2078020820
"valType": "any"
2078120821
}

0 commit comments

Comments
 (0)