Skip to content

keller-mark/vueplotlib

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Build Status Coverage Status npm version

vueplotlib

⚠️ vue-declarative-plots is changing its name to vueplotlib in version 2.0 ⚠️

V

This repository will serve as a place for reusable Vue plot components (built with D3). These components were developed for use in iMuSE.

Features

  • Declarative
  • Interactive: hover and click events. axis brushing.
  • Fast: WebGL and Canvas rendering via pixi
  • History: record interactions for forward/backward navigation, import/export via JSON
  • Composable: axes are separate from plots. subplots via Vue slots.
  • Customizable: extend the scale classes (see our GenomeScale). extend the history events (see iMuSE).

Installation

yarn add vueplotlib

Example Usage

Please see the vueplotlib-examples repository for minimal examples of usage.

Plot Components

  • BarPlot
  • StackedBarPlot
  • ScatterPlot
  • TrackPlot
  • MultiTrackPlot
  • BoxPlot
  • MultiBoxPlot
  • HierarchicalMultiTrackPlot

Stratified Plot Components

  • StratifiedBoxPlot
  • StratifiedScatterPlot
  • StratifiedSinaPlot
  • StratifiedKaplanMeierPlot

Genome Plot Components

  • GenomeScatterPlot
  • GenomeStackedBarPlot
  • GenomeTrackPlot
  • GenomeMultiTrackPlot

Axis Components

  • Axis
  • GenomeAxis
  • DendrogramAxis

Legend Components

  • CategoricalLegend
  • ContinuousLegend

Other Components

  • PlotContainer
  • SortOptions

Future Plans for Components

  • GenomeBarPlot
  • GroupedBarPlot
  • ViolinPlot
  • SinaPlot
  • BeeswarmPlot
  • JitterPlot
  • HorizontalBarPlot
  • HorizontalStackedBarPlot
  • HorizontalBoxPlot
  • HorizontalMultiBoxPlot
  • LinePlot
  • KaryotypePlot
  • GenomeGenePlot

Development

Install dependencies:

yarn

Serve for development at http://localhost:8080:

yarn run serve

Build for production (generates /dist and /examples):

yarn run build

Run tests with jest:

yarn run test

Compile documentation with documentationjs:

yarn run docs



This was inspired by the following projects:

Packages

No packages published

Contributors 3

  •  
  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy