How to use @hpcc-js/html - 2 common examples

To help you get started, we’ve selected a few @hpcc-js/html examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hpcc-systems / Visualization / demos / gallery / samples / html / StatsTable.js View on Github external
import { StatsTable } from "@hpcc-js/html";

new StatsTable()
    .theadColumnStyles([
        {"text-align":"left"},
        {"text-align":"right"},
        {"text-align":"right"}
    ])
    .target("target")
    .columns(["Name", "2019 Total net worth", "Year change"])
    .data([
        ["Jeff Bezos", 138000000000, -1880000000],
        ["Bill Gates", 98200000000, -173000000],
        ["Bernard Arnault", 82800000000, -234000000],
        ["Warren Buffett", 82700000000, -333000000],
        ["Amancio Ortega", 68100000000, 262000000],
        ["Mark Zuckerberg", 67800000000, 472000000],
        ["Larry Page", 56600000000, -168000000],
        ["Larry Ellison", 56200000000, 165000000],
github hpcc-systems / Visualization / demos / gallery / samples / html / StyledTable.js View on Github external
import { StyledTable } from "@hpcc-js/html";

new StyledTable()
    .theadColumnStyles([
        {
            "background-color": "black",
            "font-weight":"bold",
            "font-style":"italic",
            "color": "white"
        },
        {
            "background-color": "black",
            "font-weight":"bold",
            "font-style":"italic",
            "color": "white"
        }
    ])
    .evenRowStyles({
        "background-color":"#555",

@hpcc-js/html

hpcc-js - Viz HTML

Apache-2.0
Latest version published 17 days ago

Package Health Score

78 / 100
Full package analysis

Similar packages