Set groupData and showPercentages to false by default on graph views

This commit is contained in:
Stedoss 2024-11-15 22:33:32 +00:00
parent b4440528cc
commit 2a0b290211
2 changed files with 4 additions and 4 deletions

View File

@ -23,8 +23,8 @@ export class ChartHitDistributionComponent implements OnInit, OnChanges {
@Input() mods!: string[];
removeOutliers = true;
groupData = true;
showPercentages = true;
groupData = false;
showPercentages = false;
public barChartLegend = true;
public barChartPlugins = [];

View File

@ -43,8 +43,8 @@ export class ChartComponent implements OnChanges {
@Input() data!: number[];
removeOutliers = true;
groupData = true;
showPercentages = true;
groupData = false;
showPercentages = false;
calculateStatistics(): Array<{ name: string, value: number }> {
if (this.data.length === 0) {