SYNC: hard limit for pie chart

This commit is contained in:
SPRINX0\prochazka
2025-07-16 13:42:50 +02:00
committed by Diflow
parent 47d20928e0
commit 6304610713
2 changed files with 8 additions and 4 deletions

View File

@@ -25,6 +25,7 @@ export const ChartLimits = {
VALID_VALUE_RATIO_LIMIT: 0.5, // limit for valid value ratio, y defs below this will not be used in auto-detect
PIE_RATIO_LIMIT: 0.05, // limit for other values in pie chart, if the value is below this, it will be grouped into "Other"
PIE_COUNT_LIMIT: 10, // limit for number of pie chart slices, if the number of slices is above this, it will be grouped into "Other"
MAX_PIE_COUNT_LIMIT: 50, // max pie limit
CHART_FILL_LIMIT: 10000, // limit for filled charts (time intervals), to avoid too many points
CHART_GROUP_LIMIT: 32, // limit for number of groups in a chart
};