Skip to content

Commit

Permalink
docs(export): Add styling note
Browse files Browse the repository at this point in the history
For correct styling, the basic css file should stay at same domain as API call context.

Fix #418
Close #419
  • Loading branch information
netil committed May 23, 2018
1 parent 0e14330 commit 106e5f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/api/api.export.js
Expand Up @@ -51,8 +51,9 @@ const nodeToSvgDataUrl = node => {
extend(Chart.prototype, {
/**
* Export chart as an image.
* - **NOTE:** IE11 and below not work properly due to the lack of the feature(<a href="https://msdn.microsoft.com/en-us/library/hh834675(v=vs.85).aspx">foreignObject</a>) support
*
* - **NOTE:**
* - IE11 and below not work properly due to the lack of the feature(<a href="https://msdn.microsoft.com/en-us/library/hh834675(v=vs.85).aspx">foreignObject</a>) support
* - The basic CSS file(ex. billboard.css) should be at same domain as API call context to get correct styled export image.
* @method export
* @instance
* @memberOf Chart
Expand Down

0 comments on commit 106e5f8

Please sign in to comment.