Skip to content

Commit

Permalink
feat(fishbone): use reallyy data
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Apr 28, 2020
1 parent a48e3db commit c4e7586
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,8 @@ export class LedgeFishBoneComponent implements OnInit, AfterViewInit {
}

ngAfterViewInit(): void {
const data = {
name: 'Quality',
children: [
{
name: 'Machine',
children: [
{name: 'Mill'},
{name: 'Mixer'},
{name: 'Metal Lathe'}
]
}
]
};

const data = this.data[0];
console.log(data);
const fb = fishbone();
d3.select(this.chart.nativeElement)
.append('svg')
Expand Down
8 changes: 7 additions & 1 deletion src/assets/docs/help.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Ledge 语法帮助

```fishbone
- Path to Production
- Feat
- Design
- Dev
- Build
- Deploy
- Operatino
```

## 读书雷达
Expand Down

0 comments on commit c4e7586

Please sign in to comment.