Closed AleksKamb closed 3 years ago
import { Plotly } from 'vue-plotly' export default { components: { Plotly }, data:{ data:[{ x: [1,2,3,4], y: [10,15,13,17], type:"scatter" }], layout:{ title: "My graph" } } }
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" } } } }
Current readme example:
Changed "data"