feat(wordcloud): integrate wordcloud in person overview page
This commit is contained in:
@@ -6,7 +6,11 @@ import { combineLatest, distinctUntilChanged, map } from 'rxjs';
|
||||
import { NgxEchartsDirective } from 'ngx-echarts';
|
||||
import type { EChartsOption } from 'echarts';
|
||||
import 'echarts-wordcloud';
|
||||
import { NgxEchartsDirective } from 'ngx-echarts';
|
||||
import type { EChartsOption } from 'echarts';
|
||||
import 'echarts-wordcloud';
|
||||
|
||||
import { TopicCount, TopicsByYear, WorksService } from '../../api';
|
||||
import { TopicCount, TopicsByYear, WorksService } from '../../api';
|
||||
import {
|
||||
ResearchTimelineComponent,
|
||||
@@ -21,6 +25,7 @@ import {
|
||||
selector: 'app-person-overview',
|
||||
standalone: true,
|
||||
imports: [CommonModule, ResearchTimelineComponent, NgxEchartsDirective],
|
||||
imports: [CommonModule, ResearchTimelineComponent, NgxEchartsDirective],
|
||||
templateUrl: './person-overview.component.html',
|
||||
styleUrl: './person-overview.component.scss',
|
||||
})
|
||||
@@ -85,6 +90,7 @@ export class PersonOverviewComponent implements OnInit {
|
||||
.subscribe((authorId) => {
|
||||
this.loadTopicTimeline(authorId);
|
||||
this.loadWordCloud(authorId);
|
||||
this.loadWordCloud(authorId);
|
||||
});
|
||||
|
||||
this.route.queryParamMap
|
||||
|
||||
Reference in New Issue
Block a user