Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
272 commits
Select commit Hold shift + click to select a range
b1ebcf7
Update test input values
camdecoster Apr 27, 2026
86e48f8
Add default value to setColor
camdecoster Apr 27, 2026
0aaf967
Call alpha instead of opacity because colors default to black for inv…
camdecoster Apr 27, 2026
b3693b4
Use `alpha` in more places
camdecoster Apr 28, 2026
e2633e8
Use correct operator for conditional
camdecoster Apr 29, 2026
fbd5ec7
Update baseline images
camdecoster Apr 29, 2026
51001fd
Linting/formatting
camdecoster Jan 2, 2026
cef04d2
Initial TS set up
camdecoster Dec 30, 2025
412d4b1
Convert a few small files to TS
camdecoster Jan 2, 2026
f704542
Update requires to handle esbuild ESM/CJS interoperability
camdecoster Jan 2, 2026
5f72cf8
Use ts-node for scripts using TS that run outside of esbuild
camdecoster Jan 2, 2026
5ed7da0
Run test script with ts-node
camdecoster Jan 2, 2026
f2622c5
Add additional types and type generation script
camdecoster May 6, 2026
a131cfe
Convert modebar attributes to TS
camdecoster May 6, 2026
de168ca
Add type generation npm scripts
camdecoster May 6, 2026
5f8654c
Add type check steps to CI
camdecoster May 6, 2026
eebf71e
Update TS docs
camdecoster May 6, 2026
c11bca1
Add entry point to types
camdecoster May 6, 2026
04261b2
Update file name case check
camdecoster May 6, 2026
e69463a
Linting/formatting
camdecoster May 7, 2026
134e84f
Remove obsolete types
camdecoster May 8, 2026
6b2a096
Add additional internal props to FullData
camdecoster May 8, 2026
402658c
Refactor type imports
camdecoster May 8, 2026
7ffdd9a
Use better types in CalcData
camdecoster May 8, 2026
07a066c
Change types to Map*, add aliases for Mapbox*, fix typo
camdecoster May 8, 2026
ed5b958
Update description
camdecoster May 8, 2026
3335828
Add type# property key patterns, add additional properties to `FullLa…
camdecoster May 8, 2026
a1cd236
Add reference to CalcData
camdecoster May 8, 2026
0c771d2
Update type documentation
camdecoster May 8, 2026
7acbd19
Make TS config more strict
camdecoster May 11, 2026
27c6acb
Move TemplateFigure type
camdecoster May 11, 2026
dadd651
Fix internal property naming
camdecoster May 11, 2026
b9b2d41
Update type references
camdecoster May 11, 2026
7bbd311
Don't add redundant `| undefined` to generated types
camdecoster May 11, 2026
155bf28
Convert image trace attributes to TS
camdecoster May 11, 2026
ed3cb86
Remove some handwritten types
camdecoster May 13, 2026
b3a5d9e
Remove individual generated types
camdecoster May 13, 2026
a274c86
Remove type exports
camdecoster May 14, 2026
3653348
Add schema based type generator, types
camdecoster May 14, 2026
227122f
Switch to schema generated types
camdecoster May 14, 2026
c345826
Move internal types to separate files
camdecoster May 14, 2026
36ba55c
Tweak public API exemptions logic
camdecoster May 14, 2026
3dbf534
Update TS docs
camdecoster May 14, 2026
994f32f
Update npm scripts
camdecoster May 14, 2026
737935c
Update CI to check for generated types diff
camdecoster May 14, 2026
b0fc049
Merge remote-tracking branch 'origin/master' into cam/7678/enable-typ…
camdecoster May 14, 2026
9716705
Update schema types with latest attributes
camdecoster May 14, 2026
1c0f706
Fix description reference and update schema/types
camdecoster May 18, 2026
0c08ea7
Fix typos in attributes/schema/types
camdecoster May 18, 2026
5ebe107
Generate more types from schema
camdecoster May 21, 2026
63d32ae
Refactor types to use schema generated types; add more type metadata
camdecoster May 26, 2026
379d815
Update TS docs
camdecoster May 26, 2026
d8f9b9f
Generate (most) config type info from schema
camdecoster May 26, 2026
a91fe2f
Add descriptions to hand written types
camdecoster May 26, 2026
6d8db88
Update CI type diff check
camdecoster May 26, 2026
6c73ea3
Clarify docs about source of truth
camdecoster May 26, 2026
504aa33
Update docs per recent changes
camdecoster May 26, 2026
117a8c2
Remove chart studio upload APIs
marthacryan May 28, 2026
2ef7d47
Remove show edit in chart studio button
marthacryan May 28, 2026
f98b2f1
Merge remote-tracking branch 'origin/master' into cam/7678/enable-typ…
camdecoster Jun 1, 2026
25f6b02
Merge pull request #7812 from plotly/remove-chart-studio-api
marthacryan Jun 2, 2026
9e625cc
Linting/formatting
camdecoster Jun 3, 2026
001127b
Fix typos
camdecoster Jun 3, 2026
e0acefe
Improve description
camdecoster Jun 3, 2026
5fa57a9
Update schema and types
camdecoster Jun 3, 2026
292acf8
fix issue with symbols not rendering in legend for scattermap traces
emilykl Jun 3, 2026
c338b60
always fall back to circle icon in legend for scattermap
emilykl Jun 4, 2026
7ae7330
make colors work for scattermap icons, and fetch maki icons from jsde…
emilykl Jun 4, 2026
8bfb336
update baseline image
emilykl Jun 4, 2026
34d1f33
stop adding -15 suffix to icon names
emilykl Jun 4, 2026
f34c663
add draftlog
emilykl Jun 4, 2026
de217ae
Merge pull request #7825 from plotly/fix-7821-v4.0
emilykl Jun 4, 2026
0593acf
Apply suggestions from code review
camdecoster Jun 5, 2026
d26e84c
Update docs
camdecoster Jun 5, 2026
085069c
Remove dead options from tsconfig
camdecoster Jun 5, 2026
d8028ee
Update JSDoc descriptions
camdecoster Jun 5, 2026
044e900
Tighten up a few types
camdecoster Jun 5, 2026
87b6e0e
Minor refactoring
camdecoster Jun 5, 2026
b4dea80
Loosen data_array type and update schema types
camdecoster Jun 5, 2026
606ae93
Rename PlotType to TraceType, add alias
camdecoster Jun 5, 2026
41b43f0
Fix typo
camdecoster Jun 8, 2026
3c2f49a
Merge remote-tracking branch 'origin/master' into v4.0
camdecoster Jun 8, 2026
2e5e84c
Merge remote-tracking branch 'origin/v4.0' into cam/7678/enable-types…
camdecoster Jun 8, 2026
66f4268
Update type docs/generator/schema per removal of Chart Studio code
camdecoster Jun 8, 2026
6031ecb
Merge pull request #7680 from plotly/cam/7678/enable-typescript-type-…
camdecoster Jun 8, 2026
6d907c1
use plot title for download filename, and change fallback to plot-ima…
emilykl Jun 8, 2026
5c96fa4
add tests
emilykl Jun 8, 2026
7cf0e1f
slightly change notifier wording for image download
emilykl Jun 8, 2026
1d8668a
ignore tex titles for filename
emilykl Jun 8, 2026
068e235
remove src attr references
emilykl Jun 8, 2026
c5d2b96
remove src attr handling from typegen step
emilykl Jun 8, 2026
6f0e111
remove src attributes from mock
emilykl Jun 8, 2026
299e8af
remove layout.hidesources attr
emilykl Jun 8, 2026
05501b7
regenerate plot schema
emilykl Jun 8, 2026
eb72222
add draftlogs
emilykl Jun 8, 2026
0a74890
expand forbidden chars
emilykl Jun 9, 2026
6a487f0
update locales files
emilykl Jun 9, 2026
89b4e33
run formatter
emilykl Jan 6, 2026
ee773ca
set default tickmode to 'sync' when axis is overlaying
emilykl Jan 6, 2026
c9aea83
remove duplicate draw call for axes with tickmode: 'sync'
emilykl Jan 8, 2026
3a31aaf
bugfix: if overlaid axis is categorical, default to 'auto' rather tha…
emilykl Jan 19, 2026
e7cd979
explicitly set tickmode auto for mock
emilykl Jan 19, 2026
1f02b3d
update tickmode attribute description
emilykl Jan 20, 2026
5732ff9
update plot-schema
emilykl Jan 20, 2026
5bd782a
Apply suggestions from code review
emilykl Jan 26, 2026
801a109
update plot-schema
emilykl Jan 26, 2026
8c69898
add draftlog
emilykl Jan 26, 2026
99cfed5
update baselines images
emilykl Jun 9, 2026
e31670a
remove now-redundant argument from Plots.graphJson call
emilykl Jun 9, 2026
17ee326
add explicit defaults for graphJson function
emilykl Jun 9, 2026
1c903d2
clean up draftlogs
emilykl Jun 9, 2026
b6132bd
Merge remote-tracking branch 'origin/v4.0' into cam/7523/switch-color…
camdecoster Jun 9, 2026
10997dd
Add more checks to handle bad input
camdecoster Jun 9, 2026
f2a4dd7
Update tests to better catch bad input
camdecoster Jun 9, 2026
36065d3
Update descriptions
camdecoster Jun 9, 2026
93a8217
Add draftlog
camdecoster Jun 9, 2026
6acbf59
Update schema and types
camdecoster Jun 9, 2026
58c2017
Add new mock and baseline
camdecoster Jun 9, 2026
5dc4e64
Update baseline image
camdecoster Jun 9, 2026
79d7d8e
Rename draftlog with correct suffix
camdecoster Jun 9, 2026
d01c5fe
Merge pull request #7829 from plotly/remove-src-attrs
emilykl Jun 10, 2026
96b3de7
remove remaining transforms code (dead)
emilykl Jun 9, 2026
ee14249
remove dead transforms code, part 2
emilykl Jun 9, 2026
aeb8c80
remove dead transforms code, part 3
emilykl Jun 9, 2026
6281778
remove all references to _fullInput
emilykl Jun 10, 2026
21d37d8
update tests to remove _fullInput references
emilykl Jun 10, 2026
b6562d6
remove reference to transforms in trace.contours.operation docstring
emilykl Jun 10, 2026
08ef2f9
remove remaining transforms reference from lib test
emilykl Jun 10, 2026
cd001e4
remove unneeded lib function
emilykl Jun 10, 2026
5f9b34c
remove references to transforms in comments, and some additional unne…
emilykl Jun 11, 2026
ce0443c
add draftlog
emilykl Jun 11, 2026
b1dd513
collapse parcoords fullIndices and inputIndices into a single traceIn…
emilykl Jun 11, 2026
e940e77
Remove debug image
camdecoster Jun 11, 2026
8d9ea4f
Add warning on invalid color string
camdecoster Jun 11, 2026
a62992d
Small refactor
camdecoster Jun 11, 2026
0d6cbd1
Update color syntax mock and image
camdecoster Jun 11, 2026
0b31a8b
Remove unused attribute in mock
camdecoster Jun 11, 2026
ff12874
Fix circular dependency
camdecoster Jun 11, 2026
795d546
Merge pull request #7834 from plotly/remove-fullinput
emilykl Jun 12, 2026
87a1c72
Add function descriptions
camdecoster Jun 15, 2026
c2bcab9
Remove support for rgb fractional specifiers
camdecoster Jun 15, 2026
e48b8cf
Switch to different method for lightening/darkening colors
camdecoster Jun 15, 2026
57acc35
Update .gitignore
camdecoster Jun 15, 2026
4c92031
Add tests for adjustLightness
camdecoster Jun 15, 2026
48bff80
Update tests per color function changes
camdecoster Jun 15, 2026
2624b6d
Update baseline images per recent changes
camdecoster Jun 15, 2026
b52cea3
set splom.axis.matches default to true
emilykl Jun 16, 2026
2ab35b8
add draftlog
emilykl Jun 16, 2026
750936f
update splom baseline images
emilykl Jun 16, 2026
069901b
update splom jasmine tests
emilykl Jun 16, 2026
93599ac
also remove = + ; chars from filenames
emilykl Jun 16, 2026
2cfef6d
Apply suggestion from @camdecoster
emilykl Jun 16, 2026
a415430
Update draftlog
camdecoster Jun 16, 2026
6b143ce
Merge pull request #7536 from plotly/cam/7523/switch-color-library
camdecoster Jun 16, 2026
5777afe
Merge remote-tracking branch 'origin/master' into v4.0
camdecoster Jun 16, 2026
56e92af
feat: Use dashed markers in legend for shape traces
camdecoster Jun 16, 2026
7a48f60
Update baseline image
camdecoster Jun 16, 2026
4cc0a80
Add draftlog
camdecoster Jun 16, 2026
35dafc5
Merge pull request #7845 from plotly/cam/7701/dashed-markers-legend-s…
camdecoster Jun 16, 2026
7b7753f
update translations
emilykl Jun 16, 2026
fc722c3
fall back to plot subtitle if title is not suitable for filename
emilykl Jun 16, 2026
eed1074
Merge pull request #7843 from plotly/set-splom-axis-matches-dflt-true
emilykl Jun 16, 2026
9c1d9a0
exclude ALMOST ALL symbols and punctuation (more aggressive, using Un…
emilykl Jun 16, 2026
be4becb
Bump the npm_and_yarn group across 2 directories with 2 updates
dependabot[bot] Jun 17, 2026
8895c4c
ignore biome rule
emilykl Jun 17, 2026
d8e3bf9
Update src/lib/svg_text_utils.js
emilykl Jun 17, 2026
7b9c347
Merge pull request #7828 from plotly/5124-feature
emilykl Jun 17, 2026
02f4e88
add missing draftlog for PR 7828
emilykl Jun 18, 2026
8ede0f7
fix bug where showexponent 'first'/'last' showed no exponents on over…
emilykl Jun 18, 2026
e78427e
update baseline images
emilykl Jun 18, 2026
f6ef4ed
Merge pull request #7851 from plotly/7828-draftlog
emilykl Jun 18, 2026
5dab66a
changes for merge
emilykl Jun 19, 2026
401e72c
changes for merge, part 2 (remove 'keepdata' argument from plots.grap…
emilykl Jun 19, 2026
d6ee07c
refactor: Remove deprecation warning
camdecoster Jun 19, 2026
734ce03
feat: Replace country-regex with country-iso-search
camdecoster Jun 22, 2026
1555cb5
Add regression tests
camdecoster Jun 22, 2026
0a8f7f6
Add draftlog
camdecoster Jun 22, 2026
48cc7b8
Add description for COUNTRIES_X
camdecoster Jun 22, 2026
fa33793
Merge pull request #7856 from plotly/cam/7026/replace-country-regex
camdecoster Jun 22, 2026
b070ce6
Merge pull request #7684 from plotly/shared-axis-lines-default
emilykl Jun 23, 2026
520bb7f
chore: Update "engines" to specify Node 22
camdecoster Jun 23, 2026
980eb9a
build: Add .nvmrc file, use in workflows
camdecoster Jun 23, 2026
00bc295
Update Node version in npm script
camdecoster Jun 23, 2026
99d880e
Update docs
camdecoster Jun 23, 2026
59e9a9e
Update lock file
camdecoster Jun 23, 2026
0f007c6
Switch to composite action to use .nvmrc specified version of Node
camdecoster Jun 23, 2026
1e83547
Add draftlog
camdecoster Jun 23, 2026
8e8a183
Merge remote-tracking branch 'origin/master' into v4.0
camdecoster Jun 23, 2026
e82d221
Merge pull request #7861 from plotly/cam/7858/bump-minimum-node-version
camdecoster Jun 23, 2026
7c74abe
Add scatterquiver trace type
degzhaus Oct 21, 2025
100bd88
Ensure no-gl-jasmine tests pass
degzhaus Oct 22, 2025
3f24d4a
Name plot type quiver not scatterquiver
degzhaus Nov 2, 2025
ec6a266
Model quiver api closer to 3d cone trace
degzhaus Nov 3, 2025
68a7608
Match arrowhead attributes for annotations
degzhaus Nov 11, 2025
1d8d74e
Derive scaling from axes
degzhaus Nov 11, 2025
3dd208d
Remove angle attribute
degzhaus Nov 11, 2025
ec5f850
Include colorscale attributes in quiver
degzhaus Nov 11, 2025
5534667
Add support for coloring by an independent scalar array
degzhaus Nov 11, 2025
5302654
Run npm run schema
degzhaus Nov 11, 2025
9d8fa14
Use isArrayOrTypedArray
degzhaus Nov 19, 2025
7c2055f
Add quiver jasmine and image tests
degzhaus Nov 17, 2025
00638de
Generate baseline images for quiver tests
degzhaus Nov 17, 2025
df33638
Run npm run schema
degzhaus Nov 30, 2025
a1c40a6
Improve code readability
degzhaus Dec 18, 2025
4d9f656
Reuse scatter selectPoints for quiver instead of duplicating selectio…
degzhaus Feb 16, 2026
452ba9d
Use hasColorscale() to conditionally enable colorscale instead of har…
degzhaus Feb 16, 2026
3c42def
Reuse scatter handleXYDefaults() for quiver x/y coercion, validation,…
degzhaus Feb 16, 2026
36cab21
Move colorscale attrs under marker and replace custom c attribute wit…
degzhaus Feb 16, 2026
b8e2aa8
Fix axis autorange to include arrow tips, not just base positions; re…
degzhaus Feb 16, 2026
13bb96a
Add legend line icon for quiver traces by including quiver in getStyl…
degzhaus Feb 16, 2026
d4ad7ba
Add marker_colorbar config to quiver module so colorbars render corre…
degzhaus Feb 16, 2026
7556092
Implement visual text label rendering for quiver using shared Drawing…
degzhaus Feb 16, 2026
fa078c2
Implement per-arrow selected/unselected styling with opacity dimming …
degzhaus Feb 16, 2026
9cb41db
Run npm run schema
degzhaus Feb 16, 2026
7f634ed
Fix colorbar crash by ensuring traceOut.marker exists before colorsca…
degzhaus Feb 16, 2026
37c2a8d
Regenerate image baselines
degzhaus Mar 9, 2026
6d613d7
Nest line options under marker.line
degzhaus Mar 9, 2026
37a6cd2
Move arrowheadsize under marker
degzhaus Mar 9, 2026
c40a5e0
Run npm run schema
degzhaus Mar 9, 2026
fcb5701
Regenerate quiver custom colorscale
degzhaus Mar 9, 2026
73f0338
Import scatter attributes for x, y coercion
degzhaus Mar 9, 2026
e46104b
Run npm run schema
degzhaus Mar 9, 2026
48e4e7e
Passing tests
degzhaus Apr 6, 2026
a2799e2
Adjust axis ranges automatically to include full length of arrows
degzhaus Jun 24, 2026
3344864
Honor colorscale
degzhaus Jun 24, 2026
94dc00d
Use center, Remove redundant anchor value options
degzhaus Jun 24, 2026
2e214c7
Idiomatic extendFlat usage
degzhaus Jun 24, 2026
f3789e6
Fallback to arrow color with opacity
degzhaus Jun 24, 2026
dd71b94
Guard against infinite values
degzhaus Jun 24, 2026
eba15eb
Remove unused imports
degzhaus Jun 24, 2026
2d3bdfc
Merge remote-tracking branch 'origin/v4.0' into dependabot/npm_and_ya…
camdecoster Jun 24, 2026
5460a35
Update the stackgl bundle
camdecoster Jun 24, 2026
065bab3
Merge pull request #7846 from plotly/dependabot/npm_and_yarn/stackgl_…
camdecoster Jun 24, 2026
5d3e198
Merge remote-tracking branch 'origin/v4.0' into degzhaus/add_quiver
camdecoster Jun 24, 2026
813ab71
Update schema and types
camdecoster Jun 24, 2026
0a76daf
Regenerate image baselines
degzhaus Jun 24, 2026
c694a02
Add quiver mock to svgMockList
degzhaus Jun 24, 2026
601ca45
Add draftlog/7710_add.md for quiver trace type
degzhaus Jun 24, 2026
1f1898e
refactor: Generate data type union instead of hand writing
camdecoster Jun 25, 2026
f11b667
Update docs
camdecoster Jun 25, 2026
ed11c35
Merge pull request #7868 from plotly/cam/7867/generate-data-union-type
camdecoster Jun 25, 2026
86030c3
Merge remote-tracking branch 'origin/v4.0' into degzhaus/add_quiver
camdecoster Jun 25, 2026
d92fd9b
Update types
camdecoster Jun 25, 2026
8f2e3c6
ensure selection buttons are shown in modebar for quiver trace
emilykl Jun 29, 2026
8245afd
fix selection styling logic for quiver trace
emilykl Jun 29, 2026
131c00c
update selected and unselected attrs to mirror normal styling attrs
emilykl Jun 29, 2026
e51e23e
ensure arrowhead size remains constant in pixel coordinates, and cap …
emilykl Jun 30, 2026
f256c63
enable x0/dx and y0/dx attributes for quiver
emilykl Jun 30, 2026
8d627ea
show hover tooltip when cursor is anywhere near arrow, not just base …
emilykl Jul 2, 2026
ec854d8
remove trace-level hoverdistance attr from schema
emilykl Jul 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update schema and types
  • Loading branch information
camdecoster committed Jun 24, 2026
commit 813ab714bce3e06326f0a984afeb323ef5ff6ea4
2 changes: 2 additions & 0 deletions src/types/core/data.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import type {
ParcoordsData,
PieData,
PlotType,
QuiverData,
SankeyData,
Scatter3dData,
ScattercarpetData,
Expand Down Expand Up @@ -101,6 +102,7 @@ export type Data =
| Partial<ParcatsData>
| Partial<ParcoordsData>
| Partial<PieData>
| Partial<QuiverData>
| Partial<SankeyData>
| Partial<Scatter3dData>
| Partial<ScattercarpetData>
Expand Down
209 changes: 208 additions & 1 deletion src/types/generated/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export type PatternShape = '' | '/' | '\\' | 'x' | '-' | '|' | '+' | '.';

export type TransitionEasing = 'linear' | 'quad' | 'cubic' | 'sin' | 'exp' | 'circle' | 'elastic' | 'back' | 'bounce' | 'linear-in' | 'quad-in' | 'cubic-in' | 'sin-in' | 'exp-in' | 'circle-in' | 'elastic-in' | 'back-in' | 'bounce-in' | 'linear-out' | 'quad-out' | 'cubic-out' | 'sin-out' | 'exp-out' | 'circle-out' | 'elastic-out' | 'back-out' | 'bounce-out' | 'linear-in-out' | 'quad-in-out' | 'cubic-in-out' | 'sin-in-out' | 'exp-in-out' | 'circle-in-out' | 'elastic-in-out' | 'back-in-out' | 'bounce-in-out';

export type TraceType = 'bar' | 'barpolar' | 'box' | 'candlestick' | 'carpet' | 'choropleth' | 'choroplethmap' | 'choroplethmapbox' | 'cone' | 'contour' | 'contourcarpet' | 'densitymap' | 'densitymapbox' | 'funnel' | 'funnelarea' | 'heatmap' | 'histogram' | 'histogram2d' | 'histogram2dcontour' | 'icicle' | 'image' | 'indicator' | 'isosurface' | 'mesh3d' | 'ohlc' | 'parcats' | 'parcoords' | 'pie' | 'sankey' | 'scatter' | 'scatter3d' | 'scattercarpet' | 'scattergeo' | 'scattergl' | 'scattermap' | 'scattermapbox' | 'scatterpolar' | 'scatterpolargl' | 'scattersmith' | 'scatterternary' | 'splom' | 'streamtube' | 'sunburst' | 'surface' | 'table' | 'treemap' | 'violin' | 'volume' | 'waterfall';
export type TraceType = 'bar' | 'barpolar' | 'box' | 'candlestick' | 'carpet' | 'choropleth' | 'choroplethmap' | 'choroplethmapbox' | 'cone' | 'contour' | 'contourcarpet' | 'densitymap' | 'densitymapbox' | 'funnel' | 'funnelarea' | 'heatmap' | 'histogram' | 'histogram2d' | 'histogram2dcontour' | 'icicle' | 'image' | 'indicator' | 'isosurface' | 'mesh3d' | 'ohlc' | 'parcats' | 'parcoords' | 'pie' | 'quiver' | 'sankey' | 'scatter' | 'scatter3d' | 'scattercarpet' | 'scattergeo' | 'scattergl' | 'scattermap' | 'scattermapbox' | 'scatterpolar' | 'scatterpolargl' | 'scattersmith' | 'scatterternary' | 'splom' | 'streamtube' | 'sunburst' | 'surface' | 'table' | 'treemap' | 'violin' | 'volume' | 'waterfall';

/** @deprecated Renamed to TraceType. */
export type PlotType = TraceType;
Expand Down Expand Up @@ -6959,6 +6959,213 @@ export interface PieData {
visible?: true | false | 'legendonly';
}

export interface QuiverData {
/**
* Sets the arrows' anchor with respect to their (x,y) positions. Use *tail* to place (x,y) at the base, *tip* to place (x,y) at the head, or *center* to center the arrow on (x,y).
* @default 'tail'
*/
anchor?: 'tip' | 'tail' | 'center';
/** 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 */
customdata?: Datum[] | Datum[][] | TypedArray;
/**
* Sets the x coordinate step. See `x0` for more info.
* @default 1
*/
dx?: number;
/**
* Sets the y coordinate step. See `y0` for more info.
* @default 1
*/
dy?: number;
/**
* Maximum distance (in pixels) to look for nearby arrows on hover.
* @default 20
* Minimum: -1
*/
hoverdistance?: number;
/**
* 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.
* @default 'all'
*/
hoverinfo?: 'x' | 'y' | 'u' | 'v' | 'text' | 'name' | 'all' | 'none' | 'skip' | (string & {}) | ('x' | 'y' | 'u' | 'v' | 'text' | 'name' | 'all' | 'none' | 'skip' | (string & {}))[];
hoverlabel?: HoverLabel;
/** Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example "y: %{y}" as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, *xother* will be added to those with different x positions from the first point. An underscore before or after *(x|y)other* will add a space on that side, only when this field is shown. Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. Variables that can't be found will be replaced with the specifier. For example, a template of "data: %{x}, %{y}" will result in a value of "data: 1, %{y}" if x is 1 and y is missing. Variables with an undefined value will be replaced with the fallback value. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, all attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Finally, the template string has access to variables `x`, `y`, `u`, `v`, `text` and `name`. Anything contained in tag `<extra>` is displayed in the secondary box, for example `<extra>%{fullData.name}</extra>`. To hide the secondary box completely, use an empty tag `<extra></extra>`. */
hovertemplate?: string | string[];
/** 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. */
ids?: Datum[] | Datum[][] | TypedArray;
/**
* Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc.
* @default 'legend'
*/
legend?: string;
/** Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. */
legendgroup?: string;
legendgrouptitle?: LegendGroupTitle;
/**
* Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with *reversed* `legend.traceorder` they are on bottom/right side. The default legendrank is 1000, so that you can use ranks less than 1000 to place certain items before all unranked items, and ranks greater than 1000 to go after all unranked items. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout.
* @default 1000
*/
legendrank?: number;
/**
* Sets the width (in px or fraction) of the legend for this trace.
* Minimum: 0
*/
legendwidth?: number;
marker?: {
/**
* Sets the size of the arrow head relative to `marker.line.width`. A value of 1 (default) gives a head about 3x as wide as the line.
* @default 1
* Minimum: 0.3
*/
arrowsize?: number;
/**
* Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.color` is set to a numerical array. In case `colorscale` is unspecified or `autocolorscale` is true, the default palette will be chosen according to whether numbers in the `color` array are all positive, all negative or mixed.
* @default true
*/
autocolorscale?: boolean;
/**
* Determines whether or not the color domain is computed with respect to the input data (here in `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user.
* @default true
*/
cauto?: boolean;
/**
* Sets the upper bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well.
* Setting this also sets: cauto = false
*/
cmax?: number;
/** Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. */
cmid?: number;
/**
* Sets the lower bound of the color domain. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well.
* Setting this also sets: cauto = false
*/
cmin?: number;
/** Sets the marker color. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to `marker.cmin` and `marker.cmax` if set. */
color?: Color | Color[];
/** Sets a reference to a shared color axis. References to these shared color axes are *coloraxis*, *coloraxis2*, *coloraxis3*, etc. Settings for these shared color axes are set in the layout, under `layout.coloraxis`, `layout.coloraxis2`, etc. Note that multiple color scales can be linked to the same color axis. */
coloraxis?: string;
colorbar?: ColorBar;
/**
* Sets the colorscale. Has an effect only if in `marker.color` is set to a numerical array. The colorscale must be an array containing arrays mapping a normalized value to an rgb, rgba, hex, hsl, hsla, hwb, or named color string. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`. To control the bounds of the colorscale in color space, use `marker.cmin` and `marker.cmax`. Alternatively, `colorscale` may be a palette name string of the following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,YlGnBu,YlOrRd.
* Setting this also sets: autocolorscale = false
*/
colorscale?: ColorScale;
line?: {
/**
* 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*).
* @default 'solid'
*/
dash?: Dash;
/**
* Sets the width (in px) of the arrow lines.
* @default 1
* Minimum: 0
*/
width?: number;
};
/**
* Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color.
* @default false
*/
reversescale?: boolean;
/**
* Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array.
* @default true
*/
showscale?: boolean;
};
/** Assigns extra meta information associated with this trace that can be used in various text attributes. Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text` `rangeselector`, `updatemenues` and `sliders` `label` text all support `meta`. To access the trace `meta` values in an attribute in the same trace, simply use `%{meta[i]}` where `i` is the index or key of the `meta` item in question. To access trace `meta` in layout attributes, use `%{data[n[.meta[i]}` where `i` is the index or key of the `meta` and `n` is the trace index. */
meta?: any;
/** Sets the trace name. The trace name appears as the legend item and on hover. */
name?: string;
/**
* Sets the opacity of the trace.
* @default 1
* Range: [0, 1]
*/
opacity?: number;
selected?: {
line?: _internal.ErrorY;
textfont?: Font;
};
/** 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. */
selectedpoints?: any;
/**
* Determines whether or not an item corresponding to this trace is shown in the legend.
* @default true
*/
showlegend?: boolean;
/**
* Determines whether `sizeref` is set as a *scaled* (unitless) scalar (normalized by the max u/v norm in the vector field), as an *absolute* value (in the same units as the vector field), or *raw* to use the raw vector lengths.
* @default 'scaled'
*/
sizemode?: 'scaled' | 'absolute' | 'raw';
/**
* Adjusts the arrow size scaling. The arrow length is determined by the vector norm multiplied by `sizeref`, optionally normalized when `sizemode` is *scaled*.
* Minimum: 0
*/
sizeref?: number;
/** Sets text elements associated with each (x,y) pair. */
text?: Datum[] | Datum[][] | TypedArray;
/** Sets the text font. */
textfont?: FontArray;
/**
* Sets the positions of the `text` elements with respects to the (x,y) coordinates.
* @default 'middle center'
*/
textposition?: 'top left' | 'top center' | 'top right' | 'middle left' | 'middle center' | 'middle right' | 'bottom left' | 'bottom center' | 'bottom right';
type?: 'quiver';
/** Sets the x components of the arrow vectors. */
u?: Datum[] | Datum[][] | TypedArray;
/** Sets the hover text formatting rule for `u` using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format.By default the values are formatted using generic number format. */
uhoverformat?: string;
/** Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. */
uid?: string;
/** Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. */
uirevision?: any;
unselected?: {
line?: _internal.ErrorY;
textfont?: Font;
};
/** Sets the y components of the arrow vectors. */
v?: Datum[] | Datum[][] | TypedArray;
/** Sets the hover text formatting rule for `v` using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format.By default the values are formatted using generic number format. */
vhoverformat?: string;
/**
* 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).
* @default true
*/
visible?: true | false | 'legendonly';
/** Sets the x coordinates of the arrow locations. */
x?: Datum[] | Datum[][] | TypedArray;
/**
* Alternate to `x`. Builds a linear space of x coordinates. Use with `dx` where `x0` is the starting coordinate and `dx` the step.
* @default 0
*/
x0?: any;
/**
* Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If *x* (the default value), the x coordinates refer to `layout.xaxis`. If *x2*, the x coordinates refer to `layout.xaxis2`, and so on.
* @default 'x'
*/
xaxis?: string;
/** Sets the hover text formatting rule for `x` using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3's date formatter: *%h* for half of the year as a decimal number as well as *%{n}f* for fractional seconds with n digits. For example, *2016-10-13 09:15:23.456* with tickformat *%H~%M~%S.%2f* would display *09~15~23.46*By default the values are formatted using `xaxis.hoverformat`. */
xhoverformat?: string;
/** Sets the y coordinates of the arrow locations. */
y?: Datum[] | Datum[][] | TypedArray;
/**
* Alternate to `y`. Builds a linear space of y coordinates. Use with `dy` where `y0` is the starting coordinate and `dy` the step.
* @default 0
*/
y0?: any;
/**
* Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If *y* (the default value), the y coordinates refer to `layout.yaxis`. If *y2*, the y coordinates refer to `layout.yaxis2`, and so on.
* @default 'y'
*/
yaxis?: string;
/** Sets the hover text formatting rule for `y` using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3's date formatter: *%h* for half of the year as a decimal number as well as *%{n}f* for fractional seconds with n digits. For example, *2016-10-13 09:15:23.456* with tickformat *%H~%M~%S.%2f* would display *09~15~23.46*By default the values are formatted using `yaxis.hoverformat`. */
yhoverformat?: string;
}

export interface SankeyData {
/**
* If value is `snap` (the default), the node arrangement is assisted by automatic snapping of elements to preserve space between nodes specified via `nodepad`. If value is `perpendicular`, the nodes can only move along a line perpendicular to the flow. If value is `freeform`, the nodes can freely move on the plane. If value is `fixed`, the nodes are stationary.
Expand Down
Loading
Loading