Any FiglinQ chart can be embedded in online media (blogs, webpages, journal pages). When you embed a FiglinQ chart, you are in fact publicly sharing the chart, the underlying data and the code that describes the chart. Anyone who visits a webpage with embedded chart will be able to access it (and the underlying data). When you update the chart, it will be automatically updated wherever you have embedded it!
At present you can embed charts and data grids. Embedding figures is not supported.
You can embed a chart or data grid in any website using a HTML code or an iframe code, from "My Files" area or from Chart Editor. You must then paste it into the source code of the target website; the way to do this will depend on the website, and you will have to ask the webmaster for further instructions.
Note: the status of embedded plots must be public, otherwise only logged-in FiglinQ users will be able to view them. Check this document for more information on content accessibility status in FiglinQ (and how to change it).
Note: You can embed any public content, not just your own!
The chart below has been embedded in this page using the following iframe code. You can modify the code to see the results in real-time: for instance change the ID of the chart from 7 to 9 in line 6 to embed another chart!
You can add a number of parameters to the embed code to customize the embedded chart; these parameters are listed in the following table. You can play with the live code editor above to add different parameters to the src attribute in the embed code, like so:
|autosize||true, false||Determines whether the embedded chart will be automatically resized to fit the external container.|
|modebar||true, false||Determines whether to show the interactive modebar.|
|logo||true, false||Determines whether to show Plotly logo.|
|width||0 - 100%||Set chart width within the iframe.|
|height||0 - 100%||Set chart height within the iframe.|
The embedding code associated with each chart and data grid can be accessed from the "My Files" area and from the Chart Editor area.