New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nightingale-linegraph-track

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nightingale-linegraph-track

Nightingale Line Graph

  • 3.8.22
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
23
decreased by-30.3%
Maintainers
0
Weekly downloads
 
Created
Source

nightingale-linegraph-track

Published on NPM

Nightingale line graph track component is used to display multiple line graphs (either linear or d3 curves). It inherits from Protvista-track.

Usage

<nightingale-linegraph-track></nightingale-linegraph-track>

API Reference

Properties

length: number

The protein or nucleic acid sequence length.

height: number (optional)

The height of the track.

data: Array

The data expects the following structure.

{
    name: String,
    range:[min, max],
    colour?: Line colour,
        (Colour will be assigned if not provided. Use "none" for no line colour)
    fill?: Create area plot using given fill colour (default "none"),
    lineCurve?: 'curveLinear'(default)|'curveBasis'|'curveCardinal'|'curveStep'|'curveNatural',
        (More curves - https://github.com/d3/d3-shape/blob/v2.0.0/README.md#curves)
    values: [
        {
            position: Number,
            value: Number
        }
    ]
}
also see protvista-track

Keywords

FAQs

Package last updated on 04 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc