Skip to content

Commit

Permalink
Merge branch 'master' into ohlc_hover
Browse files Browse the repository at this point in the history
  • Loading branch information
codrut3 committed Sep 27, 2018
2 parents 4622752 + 67a05c7 commit f932f30
Show file tree
Hide file tree
Showing 250 changed files with 47,457 additions and 25,525 deletions.
7 changes: 0 additions & 7 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,6 @@ then simply run,
browserify index.js > bundle.js
```

to trim meta information (and thus save a few bytes), run:


```
browserify -t path/to/plotly.js/tasks/util/compress_attributes.js index.js > bundle.js
```

## Angular CLI

Currently Angular CLI uses Webpack under the hood to bundle and build your Angular application.
Expand Down
84 changes: 84 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,90 @@ 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.41.3] -- 2018-09-25

### Fixed
- Fix handling of hover `text` in `barpolar` traces [#3040]
- Fix `scatterpolar[gl]` `text` placement in hover label [#3040]
- Fix `pie` trace support for individual stroke width values [#3030]
- Fix handling of CSS `max-width` and `max-height` in auto-size routine [#3033]
- Rotate hover labels when `hovermode: 'y'` and a single trace produces multiple
labels [#3043]
- Rotate hover labels when `hovermode: 'closest'` and multiple labels are
generated including one from an horizontal trace [#3043]
- Fix hover label coloring on white bgcolor [#3048]
- Do not coerce nor validate `polar?.bar*` attributes on
subplots w/o visible `barpolar` traces [#3023]
- Fix legacy polar attribute descriptions [#3023]


## [1.41.2] -- 2018-09-19

### Fixed
- Fix two-sided zoombox -> double-click -> one-sided zoombox behavior [#3028]


## [1.41.1] -- 2018-09-18

### Fixed
- Bring back hover labels on "touch" hover (bug introduced in 1.29.0) [#2997]
- Fix MathJax rendering in legends [#3018]
- Fix fill and layering for multiple stack-groups and unstacked `scatter` traces [#3005]
- Fix removal of `scatter` traces with set `stackgroup` [#3005]
- Fix stacked area gap insertion edge case [#3017]
- Fix zeroline logic for `splom`-generated axes [#3015]
- Fix `error_x` and `error_y` on `scatter3d` w/o `error_z` [#3011]
- Fix `scatter3d` error bars on log axes [#2992]
- Fix `Plotly.react` when updating geo axis `dtick` [#3016]
- Fix `polar.hole=1` case [#3021]
- Fix handling of `polar.sector` that span more than 360 degrees [#3021]


## [1.41.0] -- 2018-09-12

### Added
- Enable selection by clicking on points via new layout attribute `clickmode`
and flag `'select'` [#2944]
- Add stacked area charts via new attributes `stackgroup` and `stackgaps` in
`scatter` traces [#2960]
- Add `barpolar` traces - which replace and augment `area` traces [#2954]
- Add `polar.hole` to punch hole at the middle of polar subplot offsetting the
start of the radial range [#2977, #2996]
- Add an 'inner' radial axis drag box on polar subplots [#2977]
- Add `{responsive: true}` plot config option [#2974]
- Emit `plotly_webglcontextlost` event on WebGL context lost [#2986]
- Support all numbered HTML entities (decimal and hex) in text elements [#2932]
- Add Welsh (`cy`) locale [#2945]

### Changed
- Attribute meta information is now stripped be stripped out of bundles (made
with bundlers that support browserify transforms) by default [#1584]
- Draw polar axis ticks above polar axis lines [#2977]
- Improve ordering of trace hover labels for matching positions [#2960]
- Speed polar subplot radial drag interactions [#2954]
- Improve pseudo-html conversion performance [#2932]
- Bump `regl-splom` requirement to `^1.0.4` [#2956]
- Bump `glslify` requirement to `^6.3.1` [#2990]
- Use `gl-text` instead of `@etpinard/gl-text` [#2956]

### Fixed
- Fix `scatter` ordering in inner SVG `<g>` on some restyle calls [#2978]
- Fix cartesian axis autorange edge cases [#2960]
- Fix double-decoding of some HTML entities in text nodes [#2927]
- Fix `scattergl` line traces rendered after non-line traces [#2990]
- Fix legend positioning on graphs with very large margins [#2983]
- Fix rendering of ternary subplots fix with `showticklabels: false` [#2993]
- Fix show/hide updates of tick and tick labels on ternary subplots [#2993]
- Fix handling of multi-selections in ternary subplots [#2944]
- Fix `sankey` hover under `hovermode: false` [#2949]
- Fix `sankey` positioning for non-default `domain.x` values [#2984]
- Fix `type: 'date'` polar radial axes [#2954]
- Fix send-to-cloud modebar buttons on graphs with typed arrays [#2995]
- Fix handling of custom transforms that make their own data arrays in
`Plotly.react`[#2973]
- Fix missing violin and colorbar attributes in `gd._fullData` [#2850]


## [1.40.1] -- 2018-08-22

### Changed
Expand Down
50 changes: 25 additions & 25 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ You can grab the relevant MathJax files in `./dist/extras/mathjax/`.
Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
Many other localizations are available - here is an example using Swiss-German (de-CH),
see the contents of this directory for the full list.
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.40.1.js
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.41.3.js
Note that the file names are all lowercase, even though the region is uppercase when you apply a locale.

*After* the plotly.js script tag, add:
Expand All @@ -61,12 +61,12 @@ 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.40.1.min.js
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.41.3.min.js

or as raw javascript:
- using the `plotly.js-dist` npm package (starting in `v1.39.0`)
- using dist file `dist/plotly.js`
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.40.1.js
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.41.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 @@ -75,7 +75,7 @@ The main plotly.js bundle weights in at:

| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
|-----------|---------------|----------------------|---------------------|
| 5.7 MB | 2.7 MB | 812.5 kB | 5.9 MB |
| 5.8 MB | 2.7 MB | 819.8 kB | 6 MB |

## Partial bundles

Expand All @@ -98,16 +98,16 @@ The `basic` partial bundle contains trace modules `scatter`, `bar` and `pie`.

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.1 MB | 765.1 kB | 250 kB |
| 2.2 MB | 775.4 kB | 254.1 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-basic-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-basic-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-basic-1.40.1.js |
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.40.1.min.js |
| Tagged | https://cdn.plot.ly/plotly-basic-1.41.3.js |
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.41.3.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -144,16 +144,16 @@ The `cartesian` partial bundle contains trace modules `scatter`, `bar`, `box`, `

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.4 MB | 874.9 kB | 284.4 kB |
| 2.5 MB | 885.7 kB | 288.7 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-cartesian-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.40.1.js |
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.40.1.min.js |
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.41.3.js |
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.41.3.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -190,16 +190,16 @@ The `geo` partial bundle contains trace modules `scatter`, `scattergeo` and `cho

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.2 MB | 788.2 kB | 259.1 kB |
| 2.2 MB | 798.5 kB | 263.2 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-geo-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-geo-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-geo-1.40.1.js |
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.40.1.min.js |
| Tagged | https://cdn.plot.ly/plotly-geo-1.41.3.js |
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.41.3.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -236,16 +236,16 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.2 MB | 1.3 MB | 406.6 kB |
| 3.2 MB | 1.3 MB | 411.4 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-gl3d-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.40.1.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.40.1.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.41.3.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.41.3.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -282,16 +282,16 @@ The `gl2d` partial bundle contains trace modules `scatter`, `scattergl`, `splom`

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.2 MB | 1.3 MB | 427.5 kB |
| 3.3 MB | 1.3 MB | 431.3 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-gl2d-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.40.1.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.40.1.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.41.3.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.41.3.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -328,16 +328,16 @@ The `mapbox` partial bundle contains trace modules `scatter` and `scattermapbox`

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.7 MB | 1.3 MB | 396.8 kB |
| 2.7 MB | 1.3 MB | 400.9 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-mapbox-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.40.1.js |
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.40.1.min.js |
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.41.3.js |
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.41.3.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -374,16 +374,16 @@ The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.2 MB | 795.2 kB | 258.9 kB |
| 2.3 MB | 805.5 kB | 263 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-finance-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-finance-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-finance-1.40.1.js |
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.40.1.min.js |
| Tagged | https://cdn.plot.ly/plotly-finance-1.41.3.js |
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.41.3.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down
Loading

0 comments on commit f932f30

Please sign in to comment.