Skip to main content

convertToTimeseries

    The convertToTimeseries function takes a set of Grail records and converts it to Timeseries which can be used for charting.

    Import

    import { convertToTimeseries } from '@dynatrace/strato-components/charts';

    Demo

    Pass an array in the format of RangedFieldTypes and dataset in the format of ResultRecord and receive an array of Timeseries data.

    Exclude fields from being converted

    The parameter hiddenFieldIds provides a way to specify a list of field ids that should not be converted.

    Still have questions?
    Find answers in the Dynatrace Community