RecommendVisualizations
The recommendVisualizations
function takes a dataset and suggests suitable
visualization types for the given records. The return value is an array of zero
or more visualizations sorted in descending order (most recommended first).
Import
import { recommendVisualizations } from '@dynatrace/strato-components-preview/conversion-utilities';
Use cases
With the help of recommendVisualizations
it is possible to programmatically
determine the most suitable visualization for a certain dataset.
Get a visualization that fits your data
Pass a dataset in the format of ResultRecord
and array of types in the format
of RangedFieldTypes
. Afterwards, receive an array of recommended visualization
types sorted in descending order.
Still have questions?
Find answers in the Dynatrace Community