Go to file
2023-07-03 12:34:05 +08:00
.github Update update-issue-state.yml 2023-06-29 11:11:31 +08:00
.vscode feat: spark spec update 2023-06-13 15:23:59 +08:00
common Merge remote-tracking branch 'origin/develop' into demo/15-add-vtable-demo 2023-06-27 11:10:53 +08:00
packages/vtable docs: add demo 2023-07-03 12:34:05 +08:00
share feat: Initial commit 2023-06-05 18:48:40 +08:00
tools/bundler chore: bundler add external and globals 2023-06-21 15:04:34 +08:00
.editorconfig feat: Initial commit 2023-06-05 18:48:40 +08:00
.gitattributes feat: Initial commit 2023-06-05 18:48:40 +08:00
.gitignore feat: optimize the performance of large data interaction (#3) 2023-06-07 18:52:22 +08:00
.lintstagedrc feat: Initial commit 2023-06-05 18:48:40 +08:00
.prettierignore feat: Initial commit 2023-06-05 18:48:40 +08:00
.prettierrc.js feat: Initial commit 2023-06-05 18:48:40 +08:00
build.sh feat: Initial commit 2023-06-05 18:48:40 +08:00
CODE_OF_CONDUCT.md feat: Initial commit 2023-06-05 18:48:40 +08:00
CONTRIBUTING.md feat: Initial commit 2023-06-05 18:48:40 +08:00
CONTRIBUTING.zh-CN.md feat: Initial commit 2023-06-05 18:48:40 +08:00
LICENSE feat: Initial commit 2023-06-05 18:48:40 +08:00
README.md chore: update readme add badge 2023-06-20 14:20:34 +08:00
README.zh-CN.md chore: update readme add badge 2023-06-20 14:20:34 +08:00
rush.json feat: Initial commit 2023-06-05 18:48:40 +08:00

VTable

VTable is not just a high-performance multidimensional data analysis table, but also a grid artist that creates art between rows and columns.

Introduction • demo • Tutorial • API•

npm Version npm Download license

English| 简体中文

video

Introduction

VTable is based on visual rendering engine VRender.

The core capabilities are as follows:

  1. Extreme performance: Supports fast computation and rendering of millions of data points.
  2. Multidimensional analysis: Automatically analyzes and presents multidimensional data.
  3. Strong expressiveness: Provides flexible and powerful graphic capabilities, seamlessly integrating with charts of VChart.

Repo Intro

This repository includes the following packages:

  1. vtable: VTable components
  2. vtable-docs: VTable documentation

Usage

Installation

npm package

// npm
npm install @visactor/vtable

// yarn
yarn add @visactor/vtable

Quick Start

import * as VTable from '@visactor/vtable';

const columns =[
    {
        "field": "230517143221027",
        "caption": "Order ID",
    },
    {
        "field": "230517143221030",
        "caption": "Customer ID",
    },
    {
        "field": "230517143221032",
        "caption": "Product Name",
    },
    {
        "field": "230517143221040",
        "caption": "Sales",
    },
    {
        "field": "230517143221041",
        "caption": "Profit",
    }
];

const option = {
  parentElement: document.getElementById(Table_CONTAINER_DOM_ID),
  records:[
      {
      "230517143221027": "CA-2018-156720",
      "230517143221030": "JM-15580",
      "230517143221032": "Bagged Rubber Bands",
      "230517143221040": "3.024",
      "230517143221041": "-0.605"
  },
  {
      "230517143221027": "CA-2018-115427",
      "230517143221030": "EB-13975",
      "230517143221032": "GBC Binding covers",
      "230517143221040": "20.72",
      "230517143221041": "6.475"
  },
  ...
  ],
  columns,
  widthMode:'standard'
};
const tableInstance = new VTable.ListTable(option);




More demos and detailed tutorials

Related Links

Ecosystem

Project Description
AI-generated Components AI-generated table component.

Contribution

If you would like to contribute, please read the Code of Conduct Guide first。

Small streams converge to make great rivers and seas!

License

MIT License