1.11.8 • Published 4 years ago

vueplotlib v1.11.8

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Build Status Coverage Status npm version

vueplotlib

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

Features

  • Declarative: declare scales, data, and styling options
  • Interactive: hover and click events, axis brushing, downloading (to SVG)
  • Fast: canvas plots
  • Linked: declarative API enables automatic linking of scales across plots
  • History: record interactions for forward/backward navigation, import/export (via JSON)
  • Composable: axes and legends are separate from plots, mix and match
  • Customizable: extend the scale classes (see GenomeScale, BinaryScale). extend the history capabilities.

Installation

yarn add vueplotlib

Example Usage

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

Plot Components

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

Stratified Plot Components

  • StratifiedBoxPlot :white_check_mark:
  • StratifiedScatterPlot :white_check_mark:
  • StratifiedSinaPlot :white_check_mark:
  • StratifiedKaplanMeierPlot :white_check_mark:

Genome Plot Components

  • GenomeScatterPlot :white_check_mark:
  • GenomeStackedBarPlot :white_check_mark:
  • GenomeTrackPlot :white_check_mark:
  • GenomeMultiTrackPlot :white_check_mark:

Axis Components

  • Axis :white_check_mark:
  • GenomeAxis :white_check_mark:
  • DendrogramAxis :white_check_mark:

Legend Components

  • CategoricalLegend :white_check_mark:
  • ContinuousLegend :white_check_mark:

Other Components

  • PlotContainer :white_check_mark:
  • SortOptions :white_check_mark:

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:

1.11.8

4 years ago

1.11.7

4 years ago

1.11.5

4 years ago

1.11.4

4 years ago

1.11.3

4 years ago

1.11.2

4 years ago

1.11.1

4 years ago

1.11.0

4 years ago

1.10.4

4 years ago

1.10.3

4 years ago

1.10.2

4 years ago

1.10.1

4 years ago

1.10.0

4 years ago

1.9.0

4 years ago

1.8.0

4 years ago

1.7.0

4 years ago

1.6.0

5 years ago

1.5.2

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.0

5 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago