Socket
Socket
Sign inDemoInstall

@fluid-topics/ft-chart

Package Overview
Dependencies
525
Maintainers
2
Versions
207
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @fluid-topics/ft-chart

Display charts from data


Version published
Weekly downloads
137
increased by50.55%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

Display charts from datas.

Install

npm install @fluid-topics/ft-chart
yarn add @fluid-topics/ft-chart

Usage

import { html } from "lit"
import "@fluid-topics/ft-chart"

function render() {
    return html` <ft-chart 
        xAxisName="date"
        yAxisName="items" 
        valueLabels="['items', 'errors']",
        valueSingular="['item', 'error']",
        barChart
        period="DAY"
        data="[[1643673600, 120, 1], [1643760000, 1, 32], [1643846400, 150, 42],
         [1643932800, 80, 61], [1644019200, 70, 69], [1644105600, 110, 98], 
         [1644192000, 130, 123]]" >
    </ft-chart> `
}

Keywords

FAQs

Last updated on 02 May 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc