Skip to content

Document #147 #148

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [unreleased] - YYYY-MM-DD
### Changed
- Enhanced integration with Angular CSS classes handling (See https://github.com/plotly/angular-plotly.js/pull/147)
- Allow user content inside plotly plot *div* element (See https://github.com/plotly/angular-plotly.js/pull/147)

## [3.0.0] - 2020-08-27
### Changed
Expand All @@ -12,4 +16,4 @@
### Changed
- Upgraded to angular 9.0 (See https://github.com/plotly/angular-plotly.js/issues/101)
- Adding `@angular/core^9.0.0` as a peer dependency
- Adding `treemapclick` and `sunburstclick` events (See https://github.com/plotly/angular-plotly.js/issues/105)
- Adding `treemapclick` and `sunburstclick` events (See https://github.com/plotly/angular-plotly.js/issues/105)
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,16 @@ Event handlers for specific [`plotly.js` events](https://plot.ly/javascript/plot
| `(treemapclick)` | `Function` | `plotly_treemapclick` | |
| `(sunburstclick)` | `Function` | `plotly_sunburstclick` | |

### Customizing \<plotly-plot\> component

*\<plotly-plot\>* component supports injection of user-defined contents:
```html
<plotly-plot>
user-defined Angular template
</plotly-plot>
```
will put the user template into the root *\<div\>* of the resulting *plotly.js* plot,
in front of any plotly-generated elements. This could be useful for implementing plot overlays.

## Customizing the `plotly.js` bundle

Expand Down