href="https://plot.ly/javascript/"
target="_blank"
>plotly.js</a></h2>
It provides:
https://david-desmaisons.github.io/vue-plotly/
Usage<Plotly :data="data" :layout="layout" :display-mode-bar="false"></Plotly>
API Propsimport { 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"
    }
  }
}
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.
npm install vue-plotly
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your tests
npm run test
Lints and fixes files
npm run lint
Run your unit tests
npm run test:unit
Customize configuration
Package Sidebar Install Downloads Weekly Downloads Collaborators
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