@clalarco/vue3-plotly
@clalarco/vue3-plotly
Thin Vue 3 wrapper for plotly.js
Based on project fromVanOord.
- Typescript support
- Improves Vue implementation based on
<script setup> - Using Vite for building process
Also, the documentation and the demo page (source code) are published at GitHub.
Usage
Usage with Single-file Component (SFC)
Usage from another component:
<Template>
<VuePlotly :data="data" :layout="layout"></VuePlotly>
</Template>
<script setup>
import { VuePlotly } from 'vue3-plotly';
const data = [ ... ];
const layout = { ... };
</script>
More documentation at https://clalarco.github.io/vue3-plotly/
Related Packages
vue3-detect-browser
Plugin for Vue3 (Option API and Composition API) that detects browser name, vers...
20,678
Version History
| Version | Released | License |
|---|---|---|
| 0.1.5 | MIT | |
| 0.1.3 | MIT | |
| 0.1.2 | MIT | |
| 0.1.1 | ||
| 0.1.0 | ||
| 0.0.8 | MIT | |
| 0.0.7 | MIT | |
| 0.0.6 | MIT | |
| 0.0.5 | MIT | |
| 0.0.4 | MIT | |
| 0.0.2 | MIT | |
| 0.0.1 | MIT |