Skip to content

Parcoords: ellipsize long labels; show full text in tooltip #1

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
wants to merge 404 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
404 commits
Select commit Hold shift + click to select a range
3a30ae1
don't try to remove selection elements when zoomlayer does not exist
etpinard Jun 6, 2017
1c61a47
fixup 'scatter' -> addTraces 'scattergl' test
etpinard Jun 6, 2017
9f57eff
Ignore overcalculating snap-points
dy Jun 6, 2017
c60fb1d
bring back scattergl marker colorscale
etpinard Jun 6, 2017
3921fdd
:hocho: hoveron in scattergl
etpinard Jun 6, 2017
07b4c7c
Fix scatter-fancy lasso
dy Jun 7, 2017
6ac722d
fill scattergl calcdata only when dragmode is set to select/lasso
etpinard Jun 7, 2017
2ceede1
don't try to style plot bg in gl2d case
etpinard Jun 7, 2017
33dda89
don't try to style grid lines either
etpinard Jun 7, 2017
baabafe
don't draw cartesian framework on top of gl2d subplots in staticPlot
etpinard Jun 7, 2017
d63578b
[tmp] replace 'scattergl' traces w/ 'scatter'
etpinard Jun 8, 2017
fbeb5e9
[tmp] generate 'scattergl' -> 'scatter' baselines
etpinard Jun 8, 2017
7e79eb1
Revert "[tmp] replace 'scattergl' traces w/ 'scatter'"
etpinard Jun 8, 2017
3d67177
use ax._length from setScale in gl2d
etpinard Jun 8, 2017
32efccd
generate gl2d baselines with better ticks
etpinard Jun 8, 2017
d0af01b
axis.constrain and axis.constraintoward
alexcjohnson Jun 1, 2017
cc705c3
robustify plot_test
alexcjohnson Jun 1, 2017
b3a3bb7
simplify plot_test
alexcjohnson Jun 1, 2017
27fc2a9
robustify plot_api_test
alexcjohnson Jun 1, 2017
d937732
simplify hover_label_test
alexcjohnson Jun 2, 2017
1570274
no really, initInteractions! fix #1044... again
alexcjohnson Jun 2, 2017
72896ec
robustify drawing_test
alexcjohnson Jun 2, 2017
ee3211a
robustify gl_plot_interact_test
alexcjohnson Jun 2, 2017
f12ff73
streamline gl2d_click_test
alexcjohnson Jun 2, 2017
5f5214e
fix bug with unhover in gl2d
alexcjohnson Jun 2, 2017
9df6903
robustify mapbox_test
alexcjohnson Jun 2, 2017
d0b15c8
tests of axis domain constraints
alexcjohnson Jun 2, 2017
d67829e
create constraints.clean to get it out of the main Plotly.plot code
alexcjohnson Jun 8, 2017
b1c6b24
more robust way to generate relayout args during axis drag
alexcjohnson Jun 8, 2017
59a092a
update constraints.js to handle some more editing edge cases
alexcjohnson Jun 8, 2017
51fc2c6
put range 0,1 parts separately into GUI relayout calls
alexcjohnson Jun 8, 2017
3931973
rm unused `attrs` variable
alexcjohnson Jun 8, 2017
1271382
axes.expand: ensure domain constraint before adjusting extrappad
alexcjohnson Jun 8, 2017
6d3a48a
add special validateFunction for enumerated valType
etpinard Jun 8, 2017
3b0d829
add special handler in Plotly.validate for enumerated w/ dynamic values
etpinard Jun 8, 2017
9575ab6
simplify equal open/close fix
alexcjohnson Jun 8, 2017
597adf9
ensure o, h, l, and c are all numeric - or drop the whole point
alexcjohnson Jun 8, 2017
0b898e9
append *all* values inside array attr in event data
etpinard Jun 8, 2017
f17367f
implement appendArrayPointValue in gl3d and gl2d
etpinard Jun 8, 2017
dd1f770
fixed baseline images for correct numeric comparison in candlestick
alexcjohnson Jun 8, 2017
1c2e71e
add a few usefull TODOs
etpinard Jun 8, 2017
4002fc1
Merge pull request #1769 from plotly/validate-dynamic-enumerated
etpinard Jun 8, 2017
2b831a0
Merge pull request #1655 from plotly/pr-1619-ohlc-equal-open-close
alexcjohnson Jun 8, 2017
032cf7c
get rid of Lib.getPlotDiv
alexcjohnson Jun 7, 2017
c02204f
short-circuit title draw if there's no title
alexcjohnson Jun 7, 2017
b4a2f4d
drop the unneeded initial draw of axes
alexcjohnson Jun 7, 2017
b9c33c9
add perf tester to global scope in test dashboard
alexcjohnson Jun 9, 2017
ea883e6
cache bounding boxes by node contents instead of by data-bb attr
alexcjohnson Jun 9, 2017
fa78376
:hocho: debug cruft
alexcjohnson Jun 9, 2017
67ea3a8
test axis constraints (range & domain) with log and category axes
alexcjohnson Jun 9, 2017
51a479b
Merge pull request #1767 from plotly/constrain-domain
alexcjohnson Jun 9, 2017
11f4a0e
Merge branch 'master' into misc-perf
alexcjohnson Jun 9, 2017
a511bd2
clear bbox cache to fix bar test
alexcjohnson Jun 9, 2017
434dc0e
standardize fail logic in bar test
alexcjohnson Jun 9, 2017
d077e32
more failure info in cartesian_interact_test
alexcjohnson Jun 9, 2017
0b7a924
fixup gl2d dramode logic (:lock: it with tests)
etpinard Jun 9, 2017
d76d64d
call updateFx on doModeBar restyle calls
etpinard Jun 9, 2017
724c25d
Merge branch 'master' into gl2d-better-ticks
etpinard Jun 9, 2017
3132624
cleanup cartesian_interact_test a little
alexcjohnson Jun 9, 2017
f3478b7
update gl2d jasmine test the used old (bad) range values
etpinard Jun 9, 2017
a6db253
Merge pull request #1766 from plotly/gl2d-better-ticks
etpinard Jun 9, 2017
58b3654
rm useless PR diffs
etpinard Jun 9, 2017
bbda3e7
Merge branch 'master' into scattergl-lasso
etpinard Jun 9, 2017
00c7ad5
remove unused dragElement.init option 'doubleclick'
alexcjohnson Jun 10, 2017
2da3544
cleaner delay pattern in pan tester
alexcjohnson Jun 10, 2017
dc4fc32
robustify cartesian_interact_test doubleclicker
alexcjohnson Jun 10, 2017
0129d5a
simplify dragElement cursor handling & remove redundant initInteractions
alexcjohnson Jun 11, 2017
85e8770
Merge pull request #1772 from plotly/misc-perf
alexcjohnson Jun 11, 2017
2ab37c7
Add 49 more unicode symbols for scattergl symbol types
Mar 15, 2017
6bfbd83
Ignore resnapping for scatter-fancy
dy Jun 12, 2017
6c08dc3
Lintify
dy Jun 12, 2017
9890966
revert devtools folder to master
Mar 16, 2017
ee67e23
Changed gl_marker 'cross' back to original symbol and ran npm lint-fix
Mar 21, 2017
083b00a
add 'scatter' marker symbol mock
etpinard Jun 12, 2017
151b986
update gl symbol list so that they all render in `imagetest` container
etpinard Jun 12, 2017
70fe756
split gl markers into gl2d and gl3d lists
etpinard Jun 12, 2017
fe4cbe0
add gl3d marker symbols mock
etpinard Jun 12, 2017
b1bccdc
improve scattergl symbol coloring and border width
etpinard Jun 12, 2017
b4db0ef
update gl2d marker symbols mock
etpinard Jun 12, 2017
5b89cf2
new scattergl baselines (w/ gl-scatter2d-sdf#4)
etpinard Jun 12, 2017
cbbb2d6
buildSVGText: convert pseudo-html directly to elements instead of to …
alexcjohnson Jun 12, 2017
bb9a46c
AJ-proof gl2d marker symbols
etpinard Jun 13, 2017
612921f
bump gl-scatter2d-sdf to ^1.3.10
etpinard Jun 13, 2017
e905b5d
remove *all* text conversion testers
alexcjohnson Jun 13, 2017
cb8c331
test close/reopen multiple unclosed tags at breaks
alexcjohnson Jun 13, 2017
f15db4b
add non-white bg to marker symbols mock
etpinard Jun 13, 2017
c35fcb3
check in font-atlas-sdf in dependencies
etpinard Jun 13, 2017
9c9346a
add back 'x' and add 'cross-open' & 'x-open'
etpinard Jun 13, 2017
5ceec1d
precalculate a few more regexps in svg_text_utils
alexcjohnson Jun 13, 2017
3113795
regexp match -> test where we only care about truthiness
alexcjohnson Jun 13, 2017
39618de
update gl2d baselines for font-atlas-sdf@1.3.3
etpinard Jun 13, 2017
fffc702
simplify scattergl per-symbol logic
etpinard Jun 13, 2017
a17165f
Merge pull request #1783 from plotly/build-svg-text
alexcjohnson Jun 13, 2017
e5d45a2
hide off-plot annotations
alexcjohnson Jun 14, 2017
52271e9
Merge pull request #1786 from plotly/hidden-annotations
alexcjohnson Jun 14, 2017
801fb47
fix and test annotations with mathjax
alexcjohnson Jun 14, 2017
033bee3
short-circuit missing MathJax in convertToTspans
alexcjohnson Jun 14, 2017
471197e
take MathJax out of annotations mock - but still test the fallback in…
alexcjohnson Jun 14, 2017
c7a49eb
replace bwFactor logic with minBorderWidth
etpinard Jun 14, 2017
4444c36
add svg and gl2d mocks for marker line width scaling
etpinard Jun 14, 2017
b0d1af2
oops tex regexp match has to come last
alexcjohnson Jun 14, 2017
b831cbc
misc. fixups for appendArrayPointValue
etpinard Jun 14, 2017
129ad6c
make 'ids' and 'customdata' base trace attributes
etpinard Jun 14, 2017
ee1adf8
call PlotSchema.findArrayAttributes in doCalcdata
etpinard Jun 14, 2017
d9373aa
update tests for improved event data
etpinard Jun 14, 2017
3399a58
fill selection event data in data, fullData and array values
etpinard Jun 14, 2017
35d0699
clear mathjax promises in dragtail
alexcjohnson Jun 14, 2017
1beda28
previousPromises may *not* return a promise itself - use syncOrAsync
alexcjohnson Jun 14, 2017
91c0b8d
Merge pull request #1781 from plotly/gl2d-more-symbols
etpinard Jun 14, 2017
b6843a6
Merge pull request #1788 from plotly/annotations-mathjax
alexcjohnson Jun 14, 2017
1e4e25d
Merge branch 'master' into scattergl-lasso
etpinard Jun 14, 2017
b92059a
add isDimmed option to fillColor util
etpinard Jun 14, 2017
d4aad3f
add gl2d select/lasso tests
etpinard Jun 14, 2017
c7b551c
try adding delay after first Plotly.plot before gl2d select/lasso tests
etpinard Jun 14, 2017
3ad11f6
standardize on attr over style for text-anchor
alexcjohnson Jun 15, 2017
9949092
centralize data-unformatted and use it for bBox cache key
alexcjohnson Jun 15, 2017
ffb3791
Merge pull request #1770 from plotly/all-array-attrs-in-event-data
etpinard Jun 15, 2017
27811d6
bump gl-scatter2d-sdf to ^1.3.11
etpinard Jun 15, 2017
ab30f93
Merge branch 'master' into scattergl-lasso
etpinard Jun 15, 2017
951a75e
let Drawing.bBox handle tspan.line position reset
alexcjohnson Jun 15, 2017
639878e
fix pseudo-html rendering in rangeselectors and updatemenus
alexcjohnson Jun 15, 2017
debdd46
swap 'id' for 'pointNumber' in scattergl selection data
etpinard Jun 15, 2017
16d7515
call bBox on text node when possible
alexcjohnson Jun 15, 2017
0b2a7b2
clean up legend sizing and fallback on missing node
alexcjohnson Jun 15, 2017
a5a578f
minor lint to bar text
alexcjohnson Jun 15, 2017
5d3648c
cleaner data-math usage
alexcjohnson Jun 15, 2017
d29159a
fix sliders with pseudo-HTML line breaks
alexcjohnson Jun 15, 2017
f5c0382
add category autorange mock for annotations and shapes
etpinard Jun 15, 2017
d411262
make category r2c handle strings values
etpinard Jun 15, 2017
9d5d411
skip gl2d lasso/select for now
etpinard Jun 15, 2017
6eedaa5
make `positionText` and `lineCount` fns
alexcjohnson Jun 16, 2017
76fc8b8
linting related to tspan.line centralization
alexcjohnson Jun 16, 2017
61dd3b1
use display:none instead of visibility:hidden
alexcjohnson Jun 16, 2017
936936b
remove Drawing.measureText and support pseudo-HTML in carpets
alexcjohnson Jun 16, 2017
4ae49f5
prohibit Math.sign and .innerHTML in syntax test
alexcjohnson Jun 16, 2017
9f4ec66
remove Math.sign
alexcjohnson Jun 16, 2017
1a5679e
fix title alignment
alexcjohnson Jun 16, 2017
af5b7f2
update snapshot test
alexcjohnson Jun 16, 2017
4886985
oops, we need y=0 on tspan.line after all
alexcjohnson Jun 16, 2017
717c7d8
hover labels need explicit position reset for proper positioning later
alexcjohnson Jun 16, 2017
2940d95
Merge pull request #1646 from plotly/recompute-hover-on-click
rreusser Jun 16, 2017
e4aa7a3
improve category autorange mock
etpinard Jun 16, 2017
aaf12ba
use r2c in shapes calc autorange
etpinard Jun 16, 2017
0758b3b
convert invalid categories coords to middle of axis range
etpinard Jun 16, 2017
6f03e6b
Rework transform style into array syntax
rreusser Jun 16, 2017
7c3dc3b
get correct bbox for carpet tick labels
alexcjohnson Jun 16, 2017
378c805
fixed range selector mocks
alexcjohnson Jun 16, 2017
cb27969
:lock: handling of isLinkedToArray attrs in transforms
etpinard Jun 16, 2017
f8101b0
update binding mock - new label positions are slightly different
alexcjohnson Jun 16, 2017
6e4f7c0
Fix multi test to use styles instead of style
rreusser Jun 16, 2017
836f412
Merge branch 'transform-style-rework-2' of github.com:plotly/plotly.j…
rreusser Jun 16, 2017
3b293ac
update updatemenus test
alexcjohnson Jun 16, 2017
b53197b
Merge pull request #1794 from plotly/transform-style-rework-2
rreusser Jun 16, 2017
c908ed4
lint axes.js
alexcjohnson Jun 16, 2017
0bb38e9
reorder sliders findDimensions so dummy calculations always succeed
alexcjohnson Jun 16, 2017
6c72c77
test #984 - ensure we never override visibility
alexcjohnson Jun 16, 2017
30b9fa5
remove some obsolete code and comments from sliders/draw
alexcjohnson Jun 16, 2017
930e58e
updatemenus point in the direction they'll open
alexcjohnson Jun 16, 2017
301fba7
update updatemenus_positioning mock for new arrows
alexcjohnson Jun 16, 2017
4b87b2e
fix #1782 (second half: arrowheads broken) - :hocho: parentElement
alexcjohnson Jun 16, 2017
a68f861
note about innerHTML prohibition
alexcjohnson Jun 16, 2017
c5fa44b
pull 1.3 out into alignment constants
alexcjohnson Jun 16, 2017
82ba7ee
null transform, rather than empty string
alexcjohnson Jun 16, 2017
27b4be3
selectAll -> select because it can only be one node
alexcjohnson Jun 16, 2017
46d6e44
lint titles var statements
alexcjohnson Jun 17, 2017
8305c02
let drawing.bBox cache simple nested elements
alexcjohnson Jun 17, 2017
8e3d4fa
don't recalculate nodehash for recursive bBox
alexcjohnson Jun 17, 2017
1c38597
Merge pull request #1791 from plotly/fix-category-autorange2
etpinard Jun 19, 2017
a227ae1
Merge pull request #1657 from dfcreative/scattergl-lasso
etpinard Jun 19, 2017
3e83252
Merge pull request #1792 from plotly/no-innerHTML
alexcjohnson Jun 19, 2017
deb1a27
update changelog for 1.28.0
etpinard Jun 19, 2017
960c8da
1.28.0
etpinard Jun 19, 2017
389cb25
update links to `/create` and to support plans
chriddyp Jun 19, 2017
02ca92b
Bumg gl-scatter2d
dy Jun 19, 2017
7f33db5
Merge pull request #1800 from dfcreative/bump-gl-scatter2d
etpinard Jun 20, 2017
edfa5f5
Merge pull request #1799 from plotly/chriddyp-patch-1
etpinard Jun 20, 2017
8cc0d24
update changelog for 1.28.1
etpinard Jun 20, 2017
cb026fe
1.28.1
etpinard Jun 20, 2017
a7afbb1
:hocho: node.children
alexcjohnson Jun 20, 2017
092890f
Merge pull request #1803 from plotly/childnodes
alexcjohnson Jun 20, 2017
b44c266
update changelog for `1.28.2`
etpinard Jun 21, 2017
5e70d3b
1.28.2
etpinard Jun 21, 2017
468ef5d
put all contour lines into one group (so we can clip it later)
alexcjohnson Jun 21, 2017
88cc33c
collect contour clipPath in the main <defs>
alexcjohnson Jun 21, 2017
b24906e
Fix hover error in appendArrayPointValue
rreusser Jun 21, 2017
ee7a839
more standard format for contour constants
alexcjohnson Jun 22, 2017
b56f4ea
move lineIntersect -> Lib.geometry2d
alexcjohnson Jun 22, 2017
d534fb2
segmentDistance and tests of geometry2d
alexcjohnson Jun 22, 2017
3a76cd0
Reset selection by doubleclick
dy Jun 22, 2017
6cc5eae
Reset selection for fancy scatter
dy Jun 23, 2017
d1e3448
contour line label basic functionality
alexcjohnson Jun 22, 2017
b8c75c0
better test of alternate Drawing.font syntax
alexcjohnson Jun 23, 2017
2f3a712
use contour/attributes in contourcarpet/attributes
alexcjohnson Jun 23, 2017
6299303
pull path measurement routines out into Lib
alexcjohnson Jun 23, 2017
99f39f8
allow contour labels even without lines
alexcjohnson Jun 23, 2017
d518c83
simple contour label position optimization
alexcjohnson Jun 23, 2017
27f8cfe
use axis formatting for contour labels
alexcjohnson Jun 23, 2017
221b124
include label attrs in contourcarpet to avoid errors but they're noops
alexcjohnson Jun 23, 2017
cb9e329
Merge pull request #1811 from dfcreative/dblclick-deselect
etpinard Jun 26, 2017
64a87f9
test ohlc + hover
rreusser Jun 26, 2017
4b6fe4e
Fix hover label test
rreusser Jun 26, 2017
96767d8
Add assertion to test
rreusser Jun 26, 2017
09181b1
Merge pull request #1808 from plotly/fix-append-array-point-value
rreusser Jun 26, 2017
c17e62c
fix geo event data
etpinard Jun 26, 2017
ca1cced
location -> loc (window global potential confusion)
alexcjohnson Jun 26, 2017
234801d
Unbind some event listeners for camera2d
dy Jun 26, 2017
d52cfba
scale min path length for contour labels to width + height
alexcjohnson Jun 26, 2017
0f37648
:cow2: remove obsolete regexp
alexcjohnson Jun 26, 2017
887beb0
decode HTML entity numbers corresponding set of supported codes
etpinard Jun 26, 2017
45bd22a
:hocho: unused unicodeToEntity list
etpinard Jun 26, 2017
888ee1b
Remove scene3d camera listeners
dy Jun 26, 2017
f3697a8
Merge pull request #1819 from plotly/fixup-scattergeo-event-data
etpinard Jun 26, 2017
a1b4dd2
Merge pull request #1821 from dfcreative/mem-unleak
etpinard Jun 26, 2017
cace50d
Merge pull request #1820 from plotly/fixup-html-entity-number
etpinard Jun 26, 2017
9624d88
update changelog for 1.28.3
etpinard Jun 26, 2017
e4c1c8c
1.28.3
etpinard Jun 26, 2017
62156dd
:hocho: long-obsolete cache object
alexcjohnson Jun 27, 2017
539ca22
Drawing.bBox "inTester" mode for quicker testing of dummy elements
alexcjohnson Jun 27, 2017
2116a12
contours.font -> contours.labelfont
alexcjohnson Jun 27, 2017
e1880c1
more permissive Drawing.bBox test
alexcjohnson Jun 27, 2017
14c832e
image tests of contour labels
alexcjohnson Jun 27, 2017
1bbdf59
contour line-colored label test
alexcjohnson Jun 27, 2017
e5a2f91
use `editTypes` for contour/contourcarpet-specific attributes
alexcjohnson Jun 27, 2017
cbdf795
no editType nesting - just docalc on editing full containers
alexcjohnson Jun 27, 2017
4db549c
:hocho: obsolete import
alexcjohnson Jun 27, 2017
ebfae8f
Accept empty transforms
rreusser Jun 28, 2017
dd4554f
Fix test names
rreusser Jun 28, 2017
d47ace6
Merge pull request #1829 from plotly/accept-empty-transform
rreusser Jun 28, 2017
14ae77c
rename variable `plot` to more appropriate `zoomLayer`
etpinard Jun 28, 2017
ec6e360
rm ternary-only zoom layer
etpinard Jun 28, 2017
e3a2c84
DRY up select_test.js
etpinard Jun 28, 2017
4bbbe5c
fix select/lasso on ternary subplots
etpinard Jun 28, 2017
5a48568
add select/lasso for scattercarpet traces
etpinard Jun 28, 2017
70de159
Merge pull request #1831 from plotly/fix-scatterternary-lasso
etpinard Jun 28, 2017
fb4b690
refactor contour/plot for smaller functions
alexcjohnson Jun 29, 2017
b0f9bb2
updated contour_edge_cases baseline
alexcjohnson Jun 29, 2017
e1caa9e
unify contour.style and contourcarpet.style
alexcjohnson Jun 29, 2017
0ff2dc4
cover contour edge cases with contourcarpet
alexcjohnson Jun 29, 2017
f5873f1
fix contour style when coloring=none
alexcjohnson Jun 29, 2017
b5a674f
a little more stuff contourcarpet can inherit from contour
alexcjohnson Jun 29, 2017
1f85a6f
fix carpet plot clip path
alexcjohnson Jun 30, 2017
6c2043e
:hocho: some obsolete code in carpet/plot
alexcjohnson Jun 30, 2017
bbb9574
update histogram2dcontour for contour.plot API change
alexcjohnson Jun 30, 2017
9495dee
nest scattercontour lines inside a contourlines group
alexcjohnson Jun 30, 2017
7f086e0
fixup font->labelfont in contourcarpet
alexcjohnson Jun 30, 2017
49b8141
labels on contourcarpet
alexcjohnson Jun 30, 2017
8934038
update comment on contourcarpet label bounds
alexcjohnson Jun 30, 2017
dbeecd0
update baselines for findBestTextLocation bugfix
alexcjohnson Jun 30, 2017
fbc0296
Merge pull request #1815 from plotly/contour-labels
alexcjohnson Jun 30, 2017
a28e116
Parcoords: ellipsize long labels; show full text in tooltip
kernc May 18, 2017
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
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"Uint8Array": true,
"Int16Array": true,
"Int32Array": true,
"ArrayBuffer": true
"ArrayBuffer": true,
"SVGElement": false
},
"rules": {
"no-trailing-spaces": [2],
Expand Down
72 changes: 72 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,78 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
where X.Y.Z is the semver of most recent plotly.js release.


## [1.28.3] -- 2017-06-26

### Fixed
- Fix deselect on double-clicking for gl2d traces [#1811]
- Fix `Plotly.purge` for gl2d and gl3d subplots
(bug introduced in 1.28.0, leading to memory leaks) [#1821]
- Fix hover labels for `ohlc` and `candlestick` traces
(bug introduced in 1.28.0) [#1808]
- Fix event data for `scattergeo` traces [#1819]
- Fix support of HTML entity number in pseudo-html inputs [#1820]


## [1.28.2] -- 2017-06-21

### Fixed
- Fix IE rendering error (`node.children` doesn't work on SVG nodes in IE) [#1803]


## [1.28.1] -- 2017-06-20

### Fixed
- Fix `scattergl` selected points. Points do not disappear after zoom any more
in fast mode [#1800]


## [1.28.0] -- 2017-06-19

### Added
- Allow constraints by domain on cartesian axes using new axis attributes:
`contrain: 'domain'` and `contraintoward` [#1767]
- Add gl3d annotations [#1638, #1786]
- Add support for lasso and select `dragmode` on `scattergl` traces [#1657]
- Add 48 new `scattergl` marker symbols (for total of 56) [#1781]
- Add array support for `hoverinfo` [#1761]
- Add animation support for `fillcolor` attribute [#1722]
- Add `colorscale` attributes to `mesh3d` traces [#1719]
- Add support for target and popup attributes pseudo-html text links [#1726]
- Add per-`direction` updatemenu dropdown arrows [#1792]
- Add `execute` attribute to sliders and updatemenus to skip method calls while
still triggering associated events [#1700]
- Add `skip` value to the `method` attribute for sliders and updatemenus which
acts as a no-op [#1699]

### Changed
- Include values of all array attributes in hover/click/select event data
including `ids` and `customdata` [#1770]
- Make gl2d axis tick labels on-par with SVG versions [#1766]
- Build SVG text nodes directly instead of using `DOMParser` [#1783]
- Rework transform style into array syntax [#1794]
- Recompute hover on click to increase click robustness [#1646]
- Miscellaneous performance improvements including improved bounding box caching
and adding a few short-circuit [#1772, #1792]

### Fixed
- Fix pan/zoom for layout component linked to `category` axes [#1748, #1791]
- Fix non-`linear` gl3d axis range settings [#1730]
- Fix `ohlc` and `candlestick` when open value equals close value [#1655]
- Fix annotations positioning when MathJax symbols are present [#1788]
- Fix array values in event data for transformed traces [#1717, #1727, #1737]
- Fix relayout event data for gl3d camera interactions [#1732]
- Fix scatter markers and text nodes linked to `ids` ordering on updates [#1709]
- Fix `Plotly.validate` for dynamic enumerated attribute
(e.g. axis `anchor`, `overlaying`) [#1769]
- Fix pseudo-html handling in sliders, updatemenus, range-sliders,
range-selectors and carpet traces [#1792]
- Fix annotation bounding box and arrow heads in IE [#1782]
- Fix svg exports in IE for graphs with multiple clip paths [#1740]
- Fix `sankey` positioning in IE [#1723, #1731, #1729, #1735]
- Fix relative links in IE [#1715]
- Suppress render warning in gl3d graphs with error bars [#1718]


## [1.27.1] -- 2017-05-17

### Fixed
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Please read through our [contributing guidelines](https://github.com/plotly/plot
* Implementation help may be found on community.plot.ly (tagged [`plotly-js`](http://community.plot.ly/c/plotly-js)) or
on Stack Overflow (tagged [`plotly`](https://stackoverflow.com/questions/tagged/plotly)).
* Developers should use the keyword `plotly` on packages which modify or add to the functionality of plotly.js when distributing through [npm](https://www.npmjs.com/browse/keyword/plotly).
* Direct developer email support can be purchased through a [Plotly Pro](https://plot.ly/products/cloud/) plan.
* Direct developer email support can be purchased through a [Plotly Support Plan](https://support.plot.ly/libraries/javascript).

## Versioning

Expand All @@ -152,15 +152,18 @@ Open-source clients to the plotly.js APIs are available at these links:
|**node.js cloud client**| [plotly/plotly-nodejs](https://github.com/plotly/plotly-nodejs) | [plot.ly/nodejs/getting-started](https://plot.ly/nodejs/getting-started) |
|**Julia**| [plotly/Plotly.jl](https://github.com/plotly/Plotly.jl) | [plot.ly/julia/getting-started](https://plot.ly/julia/getting-started) |

plotly.js charts can also be created and saved online for free at [plot.ly/plot](https://plot.ly/plot).
plotly.js charts can also be created and saved online for free at [plot.ly/create](https://plot.ly/create).

## Creators

| | Github | Twitter |
|---|--------|---------|
|**Alex C. Johnson**| [@alexcjohnson](https://github.com/alexcjohnson) | |
|**Étienne Tétreault-Pinard**| [@etpinard](https://github.com/etpinard) | [@etpinard](https://twitter.com/etpinard) |
|**Mikola Lysenko**| [@mikolalysenko](https://github.com/mikolalysenko) | [@MikolaLysenko](https://twitter.com/MikolaLysenko) | |
|**Mikola Lysenko**| [@mikolalysenko](https://github.com/mikolalysenko) | [@MikolaLysenko](https://twitter.com/MikolaLysenko) |
|**Ricky Reusser**| [@rreusser](https://github.com/rreusser) | [@rickyreusser](https://twitter.com/rickyreusser) |
|**Robert Monfera**| [@monfera](https://github.com/monfera) | [@monfera](https://twitter.com/monfera) |
|**Nicolas Riesco**| [@n-riesco](https://github.com/n-riesco) | |
|**Miklós Tusz**| [@mdtusz](https://github.com/mdtusz) | [@mdtusz](https://twitter.com/mdtusz)|
|**Chelsea Douglas**| [@cldougl](https://github.com/cldougl) | |
|**Ben Postlethwaite**| [@bpostlethwaite](https://github.com/bpostlethwaite) | |
Expand Down
2 changes: 2 additions & 0 deletions devtools/test_dashboard/devtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ var credentials = require('../../build/credentials.json');
var Lib = require('@src/lib');
var d3 = Plotly.d3;

require('./perf');

// Our gracious testing object
var Tabs = {

Expand Down
54 changes: 54 additions & 0 deletions devtools/test_dashboard/perf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
'use strict';

/*
* timeit: tool for performance testing
* f: function to be tested
* n: number of timing runs
* nchunk: optional number of repetitions per timing run - useful if
* the function is very fast. Note though that if arg is a function
* it will not be re-evaluated within the chunk, only before each chunk.
* arg: optional argument to the function. Can be a function itself
* to provide a changing input to f
*/
window.timeit = function(f, n, nchunk, arg) {
var times = new Array(n);
var totalTime = 0;
var _arg;
var t0, t1, dt;

for(var i = 0; i < n; i++) {
if(typeof arg === 'function') _arg = arg();
else _arg = arg;

if(nchunk) {
t0 = performance.now();
for(var j = 0; j < nchunk; j++) { f(_arg); }
t1 = performance.now();
dt = (t1 - t0) / nchunk;
}
else {
t0 = performance.now();
f(_arg);
t1 = performance.now();
dt = t1 - t0;
}

times[i] = dt;
totalTime += dt;
}

var first = (times[0]).toFixed(4);
var last = (times[n - 1]).toFixed(4);
times.sort();
var min = (times[0]).toFixed(4);
var max = (times[n - 1]).toFixed(4);
var median = (times[Math.ceil(n / 2)]).toFixed(4);
var mean = (totalTime / n).toFixed(4);
console.log((f.name || 'function') + ' timing (ms) - min: ' + min +
' max: ' + max +
' median: ' + median +
' mean: ' + mean +
' first: ' + first +
' last: ' + last
);
};
48 changes: 24 additions & 24 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.

It be can imported as minified javascript
- using dist file `dist/plotly.min.js`
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.27.1.min.js
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.28.3.min.js

or as raw javascript:
- using dist file `dist/plotly.js`
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.27.1.js
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.28.3.js
- using CommonJS with `require('plotly.js')`

If you would like to have access to the attribute meta information (including attribute descriptions as on the [schema reference page](https://plot.ly/javascript/reference/)), use dist file `dist/plotly-with-meta.js`
Expand All @@ -50,7 +50,7 @@ The main plotly.js bundle weights in at:

| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
|-----------|---------------|----------------------|---------------------|
| 5.3 MB | 2.1 MB | 655.3 kB | 5.5 MB |
| 5.4 MB | 2.2 MB | 662.1 kB | 5.5 MB |

## Partial bundles

Expand All @@ -74,13 +74,13 @@ The `basic` partial bundle contains the `scatter`, `bar` and `pie` trace modules
| dist bundle (minified) | `dist/plotly-basic.min.js` |
| CDN URL (latest) | https://cdn.plot.ly/plotly-basic-latest.js |
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-basic-latest.min.js |
| CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.27.1.js |
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.27.1.min.js |
| CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.28.3.js |
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.28.3.min.js |
| CommonJS | `require('plotly.js/lib/index-basic')` |

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 1.7 MB | 653.8 kB | 212.1 kB |
| 1.8 MB | 664.4 kB | 215.7 kB |

### plotly.js cartesian

Expand All @@ -92,13 +92,13 @@ The `cartesian` partial bundle contains the `scatter`, `bar`, `box`, `heatmap`,
| dist bundle (minified) | `dist/plotly-cartesian.min.js` |
| CDN URL (latest) | https://cdn.plot.ly/plotly-cartesian-latest.js |
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
| CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.27.1.js |
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.27.1.min.js |
| CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.28.3.js |
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.28.3.min.js |
| CommonJS | `require('plotly.js/lib/index-cartesian')` |

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 1.9 MB | 728.9 kB | 234.7 kB |
| 2 MB | 739.4 kB | 238.2 kB |

### plotly.js geo

Expand All @@ -110,13 +110,13 @@ The `geo` partial bundle contains the `scatter`, `scattergeo` and `choropleth` t
| dist bundle (minified) | `dist/plotly-geo.min.js` |
| CDN URL (latest) | https://cdn.plot.ly/plotly-geo-latest.js |
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-geo-latest.min.js |
| CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.27.1.js |
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.27.1.min.js |
| CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.28.3.js |
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.28.3.min.js |
| CommonJS | `require('plotly.js/lib/index-geo')` |

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 1.8 MB | 676.7 kB | 220.6 kB |
| 1.8 MB | 687.3 kB | 224.1 kB |

### plotly.js gl3d

Expand All @@ -128,13 +128,13 @@ The `gl3d` partial bundle contains the `scatter`, `scatter3d`, `surface` and `me
| dist bundle (minified) | `dist/plotly-gl3d.min.js` |
| CDN URL (latest) | https://cdn.plot.ly/plotly-gl3d-latest.js |
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.27.1.js |
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.27.1.min.js |
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.28.3.js |
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.28.3.min.js |
| CommonJS | `require('plotly.js/lib/index-gl3d')` |

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.7 MB | 1.1 MB | 349.9 kB |
| 2.7 MB | 1.1 MB | 354 kB |

### plotly.js gl2d

Expand All @@ -146,13 +146,13 @@ The `gl2d` partial bundle contains the `scatter`, `scattergl`, `pointcloud`, `he
| dist bundle (minified) | `dist/plotly-gl2d.min.js` |
| CDN URL (latest) | https://cdn.plot.ly/plotly-gl2d-latest.js |
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.27.1.js |
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.27.1.min.js |
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.28.3.js |
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.28.3.min.js |
| CommonJS | `require('plotly.js/lib/index-gl2d')` |

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.8 MB | 1.1 MB | 356.9 kB |
| 2.8 MB | 1.1 MB | 362.9 kB |

### plotly.js mapbox

Expand All @@ -164,13 +164,13 @@ The `mapbox` partial bundle contains the `scatter` and `scattermapbox` trace mod
| dist bundle (minified) | `dist/plotly-mapbox.min.js` |
| CDN URL (latest) | https://cdn.plot.ly/plotly-mapbox-latest.js |
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
| CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.27.1.js |
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.27.1.min.js |
| CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.28.3.js |
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.28.3.min.js |
| CommonJS | `require('plotly.js/lib/index-mapbox')` |

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.8 MB | 1.1 MB | 325 kB |
| 2.8 MB | 1.1 MB | 328.6 kB |

### plotly.js finance

Expand All @@ -182,13 +182,13 @@ The `finance` partial bundle contains the `scatter`, `bar`, `histogram`, `pie`,
| dist bundle (minified) | `dist/plotly-finance.min.js` |
| CDN URL (latest) | https://cdn.plot.ly/plotly-finance-latest.js |
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-finance-latest.min.js |
| CDN URL (tagged) | https://cdn.plot.ly/plotly-finance-1.27.1.js |
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.27.1.min.js |
| CDN URL (tagged) | https://cdn.plot.ly/plotly-finance-1.28.3.js |
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.28.3.min.js |
| CommonJS | `require('plotly.js/lib/index-finance')` |

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 1.8 MB | 680.7 kB | 219.7 kB |
| 1.8 MB | 691.5 kB | 223.2 kB |

----------------

Expand Down
Loading