Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add fill gradients for scatter traces #6905

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Mar 6, 2024
Prev Previous commit
Next Next commit
added generated plot-schema for scatter gradient fills.
  • Loading branch information
lumip committed Feb 24, 2024
commit 45e2cda92741e38593bbda027e7ec21dc620ae7a
59 changes: 46 additions & 13 deletions 59 test/plot-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -16238,7 +16238,7 @@
"valType": "number"
},
"fillcolor": {
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.",
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. If fillgradient is specified, fillcolor is ignored except for setting the background color of the hover label, if any.",
archmoj marked this conversation as resolved.
Show resolved Hide resolved
"editType": "style",
"valType": "color"
},
Expand Down Expand Up @@ -17578,7 +17578,7 @@
"decreasing": {
"editType": "style",
"fillcolor": {
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.",
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. If fillgradient is specified, fillcolor is ignored except for setting the background color of the hover label, if any.",
archmoj marked this conversation as resolved.
Show resolved Hide resolved
"editType": "style",
"valType": "color"
},
Expand Down Expand Up @@ -17761,7 +17761,7 @@
"increasing": {
"editType": "style",
"fillcolor": {
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.",
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. If fillgradient is specified, fillcolor is ignored except for setting the background color of the hover label, if any.",
archmoj marked this conversation as resolved.
Show resolved Hide resolved
"editType": "style",
"valType": "color"
},
Expand Down Expand Up @@ -45035,10 +45035,43 @@
},
"fillcolor": {
"anim": true,
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.",
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. If fillgradient is specified, fillcolor is ignored except for setting the background color of the hover label, if any.",
archmoj marked this conversation as resolved.
Show resolved Hide resolved
"editType": "style",
"valType": "color"
},
"fillgradient": {
"colorscale": {
"anim": true,
"description": "Sets the fill gradient colors as a color scale. The color scale is interpreted as a gradient applied in the direction specified by *orientation*, from the lowest to the highest value of the scatter plot along that axis, or from the center to the most distant point from it, if orientation is *radial*.",
"editType": "style",
"valType": "colorscale"
},
"description": "Sets a fill gradient. If not specified, the fillcolor is used instead.",
"editType": "style",
"orientation": {
"description": "Sets the orientation of the color gradient. Defaults to *none*.",
"dflt": "none",
"editType": "style",
"valType": "enumerated",
"values": [
"radial",
"horizontal",
"vertical",
"none"
]
},
"role": "object",
"start": {
"description": "Sets the gradient start value. It is given as the absolute position on the axis determined by the orientiation. E.g., if orientation is *horizontal*, the gradient will be horizontal and start from the x-position given by start. If omitted, the gradient starts at the lowest value of the trace along the respective axis. Ignored if orientation is *radial*.",
"editType": "calc",
"valType": "number"
},
"stop": {
"description": "Sets the gradient end value. It is given as the absolute position on the axis determined by the orientiation. E.g., if orientation is *horizontal*, the gradient will be horizontal and end at the x-position given by end. If omitted, the gradient ends at the highest value of the trace along the respective axis. Ignored if orientation is *radial*.",
"editType": "calc",
"valType": "number"
}
},
"fillpattern": {
"bgcolor": {
"arrayOk": true,
Expand Down Expand Up @@ -49559,7 +49592,7 @@
]
},
"fillcolor": {
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.",
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. If fillgradient is specified, fillcolor is ignored except for setting the background color of the hover label, if any.",
archmoj marked this conversation as resolved.
Show resolved Hide resolved
"editType": "style",
"valType": "color"
},
Expand Down Expand Up @@ -51461,7 +51494,7 @@
]
},
"fillcolor": {
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.",
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. If fillgradient is specified, fillcolor is ignored except for setting the background color of the hover label, if any.",
archmoj marked this conversation as resolved.
Show resolved Hide resolved
"editType": "calc",
"valType": "color"
},
Expand Down Expand Up @@ -53564,7 +53597,7 @@
]
},
"fillcolor": {
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.",
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. If fillgradient is specified, fillcolor is ignored except for setting the background color of the hover label, if any.",
archmoj marked this conversation as resolved.
Show resolved Hide resolved
"editType": "calc",
"valType": "color"
},
Expand Down Expand Up @@ -55580,7 +55613,7 @@
]
},
"fillcolor": {
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.",
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. If fillgradient is specified, fillcolor is ignored except for setting the background color of the hover label, if any.",
archmoj marked this conversation as resolved.
Show resolved Hide resolved
"editType": "calc",
"valType": "color"
},
Expand Down Expand Up @@ -56780,7 +56813,7 @@
]
},
"fillcolor": {
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.",
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. If fillgradient is specified, fillcolor is ignored except for setting the background color of the hover label, if any.",
archmoj marked this conversation as resolved.
Show resolved Hide resolved
"editType": "style",
"valType": "color"
},
Expand Down Expand Up @@ -58726,7 +58759,7 @@
]
},
"fillcolor": {
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.",
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. If fillgradient is specified, fillcolor is ignored except for setting the background color of the hover label, if any.",
archmoj marked this conversation as resolved.
Show resolved Hide resolved
"editType": "calc",
"valType": "color"
},
Expand Down Expand Up @@ -60562,7 +60595,7 @@
]
},
"fillcolor": {
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.",
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. If fillgradient is specified, fillcolor is ignored except for setting the background color of the hover label, if any.",
archmoj marked this conversation as resolved.
Show resolved Hide resolved
"editType": "style",
"valType": "color"
},
Expand Down Expand Up @@ -62506,7 +62539,7 @@
]
},
"fillcolor": {
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.",
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. If fillgradient is specified, fillcolor is ignored except for setting the background color of the hover label, if any.",
archmoj marked this conversation as resolved.
Show resolved Hide resolved
"editType": "style",
"valType": "color"
},
Expand Down Expand Up @@ -72214,7 +72247,7 @@
"valType": "string"
},
"fillcolor": {
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.",
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. If fillgradient is specified, fillcolor is ignored except for setting the background color of the hover label, if any.",
archmoj marked this conversation as resolved.
Show resolved Hide resolved
"editType": "style",
"valType": "color"
},
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.