Limiting the Classes for Classification
Cadenza offers the following classification options: unique value classification and interval classification. By default, Cadenza calculates the classes and interval limits dynamically based on the current values of the loaded data. Alternatively, the user can define the classes and interval limits themselves. The maximum number of possible classes is limited and can be adjusted by configuration.
|
Increasing the maximum number of classes can lead to a non-optimized display in the views. |
Adjusting the Configuration
To adjust the limit on the number of classes for unique value and interval classification, attributeValueClassification in the repositoryweb settings must be configured according to the following example:
-
XML
-
YAML
-
Environment Variables
repositoryweb-config.xml configuration file<repositoryWebConfiguration>
<restrictions>
<attributeValueClassification>
<valueClassesLimit>30</valueClassesLimit>
<intervalClassesLimit>12</intervalClassesLimit>
</attributeValueClassification>
</restrictions>
</repositoryWebConfiguration>
myConfig.yamlcadenzaconfig:
...
repositoryweb:
restrictions:
attributeValueClassification:
valueClassesLimit: 15
intervalClassesLimit: 15
...
cadenzaconfig_repositoryweb_restrictions_attributeValueClassification_valueClassesLimit=15
cadenzaconfig_repositoryweb_restrictions_attributeValueClassification_intervalClassesLimit=15