Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

@fluid-topics/ft-chart

Package Overview
Dependencies
Maintainers
3
Versions
410
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluid-topics/ft-chart

Display charts from data

npmnpm
Version
1.3.28
Version published
Maintainers
3
Created
Source

A chart component.

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

Lit

FAQs

Package last updated on 26 Dec 2025

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