ChartDataWidgetDto

Prev Next

Available in Classic and VPC

Get preview chart with metric information.

Syntax

The syntax is as follows:

private Long periodStart;
private Long periodEnd;
private List<WidgetMetricInfoDto> metricsInfo;

Field

The following describes the fields:

Field Type Required Description
periodStart long Required Query start time (milliseconds)
  • 1 hour before the current time (default)
periodEnd long Required Query end time (milliseconds)
  • Current time (default)
metricsInfo List<WidgetMetricInfoDto> Required Metric information for searching data