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

bd2-ngx-heatmap

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bd2-ngx-heatmap

Bd2NgxHeatmap

  • 18.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
Maintainers
1
Weekly downloads
 
Created
Source

Bd2NgxHeatmap

Bd2NgxHeatmap

An angular component used by BioDare2 to display data on HeatMap chart.

The component uses only svg elements and angular directives *ngIf, *ngFor, [attr.x] to render and manage the plots. The d3 libraries like d3-scales are used only for computations of coordinates or colors not for rendering.

How to use it

Installation

npm install bd2-ngx-heatmap --save

Using

  1. Import the Bd2NgxHeatmapModule module
@NgModule({
...
  imports: [
    ...
    Bd2NgxHeatmapModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }
  1. Include heatmap component in your template:
      <bd2-num-heatmap [data]="data" class="customized">
      </bd2-num-heatmap>
  1. Inputs:

  2. Styling can be customized overriding component css.

For example:

::ng-deep bd2-num-heatmap.customized .bd2hm-axisWrapper line {
  stroke: red;
}

Check the demo app, and Bd2NumHeatmapComponent embeded css for classes.

Demo

Interactive demo

Keywords

FAQs

Package last updated on 12 Jun 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