-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add cluster features to scattermapbox trace #5147
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
672 commits
Select commit
Hold shift + click to select a range
01115cd
Update src/plots/layout_attributes.js
archmoj 8e64281
888: changed transformPlot fn, added dragzoom test
alexhartstone fb67c82
revise new attribute names and val types
archmoj aad34f1
Merge pull request #5232 from thierryVergult/treemapDrilldown
archmoj 03ea08d
handle rootcolor and adopt tests
archmoj b5caa8f
Merge pull request #5245 from plotly/rootcolor-tests
archmoj f1c0e31
add early return for empty arrays to test category case and a bit of …
archmoj 1977f12
Fix based on review comments
s417-lama 837761c
maintain detecting dates using strict mode
archmoj ff0b32e
Merge pull request #5212 from s417-lama/legend_itemwidth
archmoj b73d395
pass convertNumeric to linearOK and category
archmoj 0224fa0
store type of
archmoj d218bab
add early return for dates - remove unnecessary early return in linea…
archmoj b800a65
add early returns - array of arrays is not relevant to date, category…
archmoj f6d8c39
flat input array before passing to autoType functions
archmoj 560405c
revert description change
archmoj 4697f9c
flat 2d arrays before passing to autotypes
archmoj dbc5232
888: select test
alexhartstone 07b934b
888: more flexible transform testing
alexhartstone 96d7511
Merge pull request #5237 from plotly/fix4459-labels-disappear
archmoj 688438c
handle typed arrays inside a 2d array - plus a bit of optimization
archmoj e02deaf
add tests for autotype - case of 2d arrays
archmoj 4b5bfcc
correct keys in description
archmoj 08aa300
drop unused option in ternary
archmoj 1198e56
add noMultiCategory option for polar
archmoj 99a2015
apply layout.calnedar and layout.autotypenumbers in box defaults
archmoj 6fdf559
fixup box plot test to have a layout object
archmoj 4e09ad3
Merge pull request #5240 from plotly/disable-convertnumeric-in-autotype
archmoj d75c018
888: polar hover test
alexhartstone 24530b2
Fix broken link
ChaosEx c638fd6
Merge pull request #5253 from TeeVenDick/master
archmoj 89666f8
centralize functions for adding 2d translate, uniform scale and simpl…
archmoj 15c4fa0
remove unused condition check
archmoj c09fe29
Merge pull request #5254 from plotly/lib-transform-funcs
archmoj 807de62
Fix typo in Czech locale file
helb e62219a
Merge pull request #5255 from helb/cs-locale-typo
archmoj d31244a
888: fix polar dragzoom
alexhartstone 894a2eb
Support opacity
fcb9800
Fix role
5cd1157
Fix mock
1715133
Fix edittype
6b234f1
Reuse maxzoom from mapbox plot
9b38fa2
Fix syntax error
13ce0f0
update flaky list
archmoj 11df3f6
more mock validation
archmoj a232c90
Merge pull request #5257 from plotly/fixup-image-tests
archmoj 52d6e67
bump some dev deps
archmoj 98dfdb8
Merge pull request #5258 from plotly/bump-dev-deps-Nov09-20
archmoj 94f685f
888: fixed cartesian pan
alexhartstone 435945b
888: use scale factors in polar too for performance
alexhartstone 0d1db3f
Refactor to extract lookupBelow and findFollowingMapboxLayerId functions
jonmmease 0f5e491
fix issue 5267 - pick correct categories and values pluse a bit of op…
archmoj 82fbdcd
Reorder layer in updateImage to match what updateLayer would do
jonmmease e240ce6
Handle layer.source as arrays in equality check
jonmmease b95a0a5
add test to lock issue 5267
archmoj a51b91f
Merge pull request #5268 from plotly/fix5267-cartesian-category-values
archmoj 4054735
Extend the updateImage mapbox test to check layer order
jonmmease a382098
Merge pull request #5269 from plotly/mapbox_layer_order
archmoj 4da7e58
declare calcBreaksLength once
archmoj 3ea0bb7
refactor inside and outside ticks
archmoj c7a23b4
fix issue 5262
archmoj a9d9140
rename axes.makeTransFn to makeTransTickFn
archmoj ee2d648
rename transFn function in cartesian axes
archmoj fa07cc5
create makeTransTickLabelFn and handle period case inside it
archmoj 9e63c04
implement ticklabelposition for cartesian axes
archmoj 7a6fd0f
add image tests
archmoj c5ff836
- Fix array support for opacity
1f42ee2
Remove scatter cluster mapbox
4b083e1
Fix syntax error
f3c03cd
888: assign scales at makePlotFramework
alexhartstone 23b4d3c
888: fix polar plot rotation
alexhartstone 84ede31
888: fix alignHTMLWith
archmoj 4b1bf62
888: various syntax fixes
archmoj d3b548f
888: adjust scatter mapbox hover when css transition is present
archmoj 4e1fd5f
drop unused argument
archmoj 76afc6c
a bit of optimization in choropleth/hover - avoid creating the same a…
archmoj 0117b41
888: fixup scattermapbox both select and hover
archmoj 4980e24
return correct latitude and longitude from mapbox p2c
archmoj 88b24f6
offsetX and offsetY are now implemented in FireFox - remove from blac…
archmoj 42aabe1
rework matching & scaleanchor so they work together
alexcjohnson b2eed52
888: added polar drag and select tests
alexhartstone 8cc496c
fixup polar test
archmoj 1dee019
expand and fix tests
archmoj 02b6f79
removed hacky clientX and clientY from scattermaobox events
archmoj 805d97b
add scattermapbox tests when css transform is present
archmoj 127f171
expand choropleth hover tests to cover css transform
archmoj 12a57c9
expand choroplethmapbox hover tests to cover css transform
archmoj 34845ec
expand select tests for various traces to cover css transform
archmoj 29e772d
expand ternary hover and drag zoom tests to cover css transform
archmoj 28a9178
remove dirty matrix validation - take care of matrix3d form instead
archmoj a2f34c9
adjust hover positions on parcats category bands in respect to css tr…
archmoj 9fe42b6
adjust hover positions on sankey nodes in respect to css transforms
archmoj d76a304
compounding aspect ratios edge case test, and minor scale/match inter…
alexcjohnson 5681a34
bypass test
archmoj e94ef47
bapass on more flaky test to pass on the CI
archmoj 9cc0a15
integrate fullLayout inverseTransform and m shorthand
archmoj 95a81fc
refactor polar fix
archmoj 4afc441
Merge pull request #5193 from Displayr/888-style-transforms
archmoj c262d4b
store and use ticklabel bounding boxes to increase pad for inside labels
archmoj 74f594d
autorange call to account extra pad for inside tick labels
archmoj 5ca95d3
save initial ranges after insideticklabel is done
archmoj 8a34a95
better fit based on tick angle - increase pad only when text does not…
archmoj 13acf8a
baseline images altered by improved matching axes autorange
alexcjohnson 22e9519
ensure plotinfo in axes redraw
archmoj 95751cb
reset autorange flag for inside tick labels during GUI edits
archmoj ab37122
fixup interactions
archmoj 52b5051
address issue 5289 - set false locale
archmoj 0a21710
address issue 5289 - use if block instead of loop
archmoj aa6f442
Merge pull request #5293 from plotly/fix5289-gcc
archmoj ba58472
bump events to v3 in glslify
archmoj b1632b7
In staticPlot, do not draw zero length bars
antoinerg 6a0ecd2
Merge pull request #5294 from plotly/remove-zero-length-bar-static-plot
antoinerg d9f4641
remove autorange duplication for matching axes
alexcjohnson b707c0f
fix tests & some edge cases uncovered by them
alexcjohnson bb70db7
fix a few baselines for updated matching autorange
alexcjohnson 0f5c33c
update splom tests
alexcjohnson 6d291c9
Merge branch 'master' into match-scale-aj
alexcjohnson 1de111d
matches + scale interaction tests
alexcjohnson f78b46e
fix matches + rangebreaks, with a mock
alexcjohnson aaf33d3
remove TODO about rangebreaks - done :)
alexcjohnson f7baf5d
Merge pull request #5287 from plotly/match-scale-aj
alexcjohnson 432e448
Merge remote-tracking branch 'origin/master' into ticklabelposition
archmoj e840f8f
update attribute description
archmoj 2361958
revise ticklabelposition supply defaults
archmoj 91ea2f6
validate new scaleanchor matches mocks
archmoj 47c5773
hide out of range inside text labels during redraws
archmoj 591b321
adjust padding for inside tick labels
archmoj bd379f8
improve overlap detection for aligned tick labels
archmoj 05893b3
use lib function to convert from deg to rad
archmoj b5f09fb
revisit ticklabelposition logic
archmoj 6e80dc9
fix issue 5301
archmoj 21b59e4
fixups u and v
archmoj e01dc32
correct linewidth effect
archmoj b46327c
fixup tickangle for inside tick labels
archmoj aa57518
handle multi-line dates on x-axis
archmoj fe912ae
5291: recalculation of transforms on hover
alexhartstone 70e708a
adjust pad for inside labels and make more room for end labels to appear
archmoj fa0f3b2
validate new mocks
archmoj 26eb86a
reinstall glslify so that events bump to v3
archmoj c87cda6
add jsamine tests for ticklabelposition defaults
archmoj c59fcd9
clear function to hide inside tick labels and ensure subplot
archmoj d2c656d
simplify reading axis end positions to hide inside tick labels
archmoj d7423af
ensure ax._rl in hide function
archmoj cfd8e36
5291: make transform update func in fullLayout
alexhartstone 2217f7c
5291: add transform recalc to prep funcs for various plots
alexhartstone 60addca
compute linear range if not defined
archmoj a83d5af
add ticklabelposition option to colorbar
archmoj 01efcf5
add inside and outside ticklabelposition options to mocks
archmoj 5244a09
use fresh linear range in the hide function
archmoj a7518ec
add image test for issue 5301 - and before fixing another bug on the …
archmoj 8efa7bd
adjust vertical ticklabels on x axes
archmoj 2ff6cfb
revisit positioning of inside tick labels after bug fix
archmoj 2108c8d
test another angle on the mock
archmoj a1d021b
adjustment for vertical tick labels inside
archmoj 6f575a3
adjustment for vertical labels on the x axis and update baselines
archmoj 0403aa7
5291: simplify recalculate fn name
alexhartstone 3b9071f
5291: fixed syntax
alexhartstone 8796f1b
5291: changed tests to do dynamic transforms
alexhartstone 648c3c9
5291: fix syntax errors
alexhartstone 0cf2a7f
add mock for reversed image that uses source
almarklein fb8d995
Reverse images as needed with css
almarklein fbaf868
fixup jasmine tests
archmoj 3a5ca3a
ensure gd
archmoj 189243f
formatting
almarklein 0b2397a
fixup calcInverseTransform function and rename domRectsAreEqual
archmoj fe5ee9b
use shorter inverse keys for css transforms in gd._fullLayout
archmoj b97895f
remove unnecessary call at the end of makePlotFramework and call reca…
archmoj cdd836c
Merge pull request #5302 from Displayr/5291-dynamic-transforms
archmoj 24c7699
remove jasmine tests that are no longer valid
almarklein 0f0ca1f
Add jasmine test to validate that hover tool shows correct color rega…
almarklein 2470532
Use strTranslate for cleaner code
almarklein 7895727
Bit of suggested code refactoring
almarklein 4d98780
fix test
almarklein a19b05b
remove mock
almarklein 8ebfa71
improve test code
almarklein db00dea
also put autorange tests in
almarklein d4eadbd
correct style
archmoj e351d9b
simplify transform
almarklein 632532f
fix transform, use linear ranges, fix tests, add mock
archmoj 6d87753
Merge pull request #5307 from almarklein/reverse-y
archmoj 5700db2
Merge pull request #5297 from plotly/bump-events-in-glslify
archmoj 0e52adb
remove duplicate pad functions
archmoj 999f877
revert guiEdit and fixup autorange interactions for inside tick labels
archmoj 7b22175
revise axId scope
archmoj 445eee4
fixup autorange on interactions
archmoj 5f252f5
consider some offset from top of the bounding box when hiding a horiz…
archmoj 90c3097
adjust position on bar_multiline_labels mock
archmoj 40c09b7
add comment about U and V
archmoj 08f3f04
Merge pull request #5275 from plotly/ticklabelposition
archmoj 7527d55
update changelog for v1.58.0
archmoj 4492a37
1.58.0
archmoj 8c7a526
Fix contributer's name in CHANGELOG
s417-lama fa781ed
Merge pull request #5313 from s417-lama/changelog_typo
archmoj 4a5a92c
Add scatterclustermapbox trace
7b1d507
Fix syntax error
54be4ae
Fix roles
7f1e699
Fix syntax
18eca7d
Format mock
fbc5666
Fix attributes
ee836ff
rename new mock, generate baseline and append new trace mock to the list
archmoj 677f7c8
Share option functionality in scattermapbox and scatterclustermapbox
f07cae9
Fix linting
705468b
Add id to geojson and fix lines
e786754
Fix hover bug.
d00475a
Add clustering options to scattermapbox
0a345e3
Remove mock
0cbb4b5
Add hover functionality
75c1c39
Fix lint
43c219c
Remove legacy tests
0bc0328
Fix to old version
752060a
Fix legend selection/unselection
6e83a1c
Add test sample
5016156
Fix linting
43bb8f0
Add test
85b727f
Rewrite plot function
b16a694
Fix linting
4939d3b
Fix whitespace
0e61ce1
Fix whitespacae
1faa5b7
Fix linting
c5d67b6
Fix whitespace
95aedef
Add custom colors and sizes
eb799bc
lowercase attribute
4a37e2c
Fix default
97b8472
Update src/traces/scattermapbox/plot.js
elben10 f889df1
Add enabled to api
ed639f4
Fix addSource prototype
c902830
use indexOf instead of includes
0fe6ba2
Fix naming
de1dc20
Import core lib + update mock
c2f1ed4
Update src/traces/scattermapbox/convert.js
elben10 26e7791
Fix linting + remove comments
2ae0f1b
Fix typo
d23c597
Make code more readable + reuse marker attributes
9fc6f3c
Fix baseline
69d1589
Fix color and sizes
b03a18b
Fix typo
22abfa8
Change attributes to singular name + Refactor code
da9e6ec
Support opacity
68eea5c
Fix role
c6cfa77
Fix mock
ba7e38f
Fix edittype
ae93bf5
Reuse maxzoom from mapbox plot
3b1f0da
Fix syntax error
9d82a40
- Fix array support for opacity
6faf7b3
Remove scatter cluster mapbox
aeb2d7c
Fix syntax error
4c9eaeb
- Add tests
6a3ce4f
Merge branch 'master' of github.com:elben10/plotly.js
e1236a2
Remove radius attribute coercion
f536972
Fix linting errors
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Support opacity
- Loading branch information
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.