A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.npmjs.com/package/vue-plotly below:

vue-plotly - npm

vue-plotly1.1.0 • Public • Published 6 years ago

vue-plotly

Thin vue wrapper for plotly.js
          href="https://plot.ly/javascript/"
          target="_blank"
        >plotly.js</a></h2>

It provides:

Live example

https://david-desmaisons.github.io/vue-plotly/

Usage

<Plotly :data="data" :layout="layout" :display-mode-bar="false"></Plotly>

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"

    }

  }

}

API Props Installation
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

See Configuration Reference.

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