This project is for providing plot interface components for Plotly plots.
yarn add @abi-software/plotcomponents
yarn build-package
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>
The documentation is developed with vitepress
and vuese
. Documentation pages are in the docs
folder.
yarn docs:watch
This will start the documentation server with vitepress
on port :5173
and watch the components' changes.