Socket
Book a DemoInstallSign in
Socket

@hurumap-ui/charts

Package Overview
Dependencies
Maintainers
7
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hurumap-ui/charts

HURUmap charts.

latest
Source
npmnpm
Version
0.3.5-alpha.42
Version published
Maintainers
7
Created
Source

Charts

This packages includes a library of HURUmap charts and a chart factory.

Installation

Install the module

npm install @hurumap-ui/charts --save

Usage

These components can be accessed by importing from the charts root directory:

/**
 * HURUmap dependencies
 */
import { BarChart } from '@hurumap-ui/charts';

export default function Chart() {
	return (
        <BarChart
            horizontal="horizontal"
            width={350}
            height={350}
            domainPadding={{ x: 15 }}
            data={Array(5)
                .fill(null)
                .map((_, index) => ({
                x: `${index} wrap label`,
                y: 10 * index + 1
                }))}
            parts={{
                axis: {
                dependent: {
                    tickValues: [10, 50, 90],
                    tickFormat: ['10%', '50%', '90%']
                }
                }
            }}
        />
    );
}



Hurumap

Keywords

hurumap

FAQs

Package last updated on 01 Apr 2021

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.