diff --git a/src/components/Plotly.vue b/src/components/Plotly.vue index ab9b337..3d9a6e5 100644 --- a/src/components/Plotly.vue +++ b/src/components/Plotly.vue @@ -22,6 +22,9 @@ export default { layout: { type: Object }, + config: { + type: Object + }, id: { type: String, required: false, @@ -69,6 +72,7 @@ export default { }, {}); return { responsive: false, + ...(this.config || {}), ...optionsFromAttrs }; }