Skip to content

Commit

Permalink
Merge pull request #256 from VisActor/254-data-analysis-pivot-analysis
Browse files Browse the repository at this point in the history
feat: add analysis for pivot table
  • Loading branch information
fangsmile committed Aug 29, 2023
2 parents e076af9 + 36538ca commit 30d46fe
Show file tree
Hide file tree
Showing 22 changed files with 2,133 additions and 598 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "feat: add analysis for pivot table\n\n",
"type": "patch",
"packageName": "@visactor/vtable"
}
],
"packageName": "@visactor/vtable",
"email": "[email protected]"
}
4 changes: 1 addition & 3 deletions packages/vtable/examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ npm i --global @microsoft/rush

3. 启动demo

在根目录下运行:
`rush run -p @visactor/VTable -s demo`
or 进入到项目中
进入到项目中
```shell
cd packages/vtable/
rushx demo
Expand Down
1 change: 1 addition & 0 deletions packages/vtable/examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/jpeg" href="https://lf1-cdn-tos.bytescm.com/obj/static/visactor-site/img/visactor/vtable-icon.svg">
<link rel="stylesheet" href="./style.css">
<title>VTable demos</title>
</head>
Expand Down
37 changes: 33 additions & 4 deletions packages/vtable/examples/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,6 @@ export const menus = [
path: 'pivot',
name: 'trend'
},
{
path: 'pivot',
name: 'pivot-dataset'
},
{
path: 'pivot',
name: 'pivot-indicator-row'
Expand All @@ -224,6 +220,39 @@ export const menus = [
}
]
},
{
menu: 'pivot-analysis',
children: [
{
path: 'pivot-analysis',
name: 'pivot-analysis'
},
{
path: 'pivot-analysis',
name: 'pivot-analysis-total'
},
{
path: 'pivot-analysis',
name: 'pivot-analysis-more-data'
},
{
path: 'pivot-analysis',
name: 'pivot-analysis-filter'
},
{
path: 'pivot-analysis',
name: 'pivot-analysis-mapping'
},
{
path: 'pivot-analysis',
name: 'pivot-analysis-sort'
},
{
path: 'pivot-analysis',
name: 'pivot-analysis-aggregationRules'
}
]
},
{
menu: '交互',
children: [
Expand Down
Loading

0 comments on commit 30d46fe

Please sign in to comment.