Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stamen/chartslider

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stamen/chartslider

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
3
Weekly downloads
 
Created
Source

ChartSlider

An interactive overlay that can be applied over other charts, that enables selection along the x-axis.

Part of the @stamen/panorama toolkit.

Usage
import React from 'react';
import ReactDOM from 'react-dom';
import { ChartSlider } from '@panorama/toolkit';

let chartSliderConfig = {
  width: 600,
  height: 200,

  // Optionally specify custom margins
  margin: { top: 10, right: 10, bottom: 10, left: 10 },

  // Optionally specify a custom scale
  scale: d3.scale.linear()
    .domain([minValue, maxValue]),

  selectedValue: currentValue,
  onClickOrMove: this.onValueSelected
};

ReactDOM.render(<ChartSlider {...chartSliderConfig}/>, document.body);

FAQs

Package last updated on 12 Apr 2016

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