https://david-desmaisons.github.io/vue-plotly/
<Plotly :data="data" :layout="layout" :display-mode-bar="false"></Plotly>
import { Plotly } from 'vue-plotly' export default { components: { Plotly }, data() { return { data:[{ x: [1,2,3,4], y: [10,15,13,17], type:"scatter" }], layout:{ title: "My graph" } } } }
data
Array (optional)
Data to be displayed
layout
Object (optional)
Graphic layout
id
String (optional)
Id of the root HTML element of the component.
Others:
Plotly component implements the transparent wrapper pattern:
All other props will be passed as plotly graphic option.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4