@abi-software/plotcomponents

0.2.4 • Public • Published

Plot Components

npm version

This project is for providing plot interface components for Plotly plots.

Project installation

yarn add @abi-software/plotcomponents

Compiles and minifies for production

yarn build-package

How to use

Include the package in your script.

<setup script>
import { ZoomManagement, DataFiltering } from '@abi-software/plotcomponents'
import '@abi-software/plotcomponents/dist/plotcomponents.css'
</setup>

You can now use the plotcomponents in your vue template as followed:

```html
<zoom-management
  v-model="plotly_layout"
  :plotlyPlot="plotly_plot_ref"
  :plotlyPlotReady="plotly_plot_ready"
  :dataReset="dataReset"
></zoom-management>
<data-filtering
  v-model:selection-x="filteredx"
  v-model:selection-y="filteredy"
  :titles="titles"
  @filter-clicked="onFilterClicked"
></data-filtering>

Developer Documentation

The documentation is developed with vitepress and vuese. Documentation pages are in the docs folder.

To run in local development mode

yarn docs:watch

This will start the documentation server with vitepress on port :5173 and watch the components' changes.

Readme

Keywords

none

Package Sidebar

Install

npm i @abi-software/plotcomponents

Weekly Downloads

27

Version

0.2.4

License

none

Unpacked Size

528 kB

Total Files

13

Last publish

Collaborators

  • hsorby
  • alan-wu
  • tehsurfer
  • agarny
  • dbrnz
  • akhuoa
  • ddjnw1yu