OBJECT

ChartComparison

link GraphQL Schema definition

  • type ChartComparison {
  • # Whether the chart shows a comparison series.
  • isEnabled: Boolean!
  • # Identifier of the date field used to define the comparison period.
  • dateFieldId: UUID
  • # Period the comparison series covers.
  • period: PeriodOption
  • # Comparison used for Date/Datetime fields
  • yearComparison: ChartYearComparison
  • # When true, the comparison is shown relative to the current series (such as a
  • # difference or percentage) rather than as an independent series.
  • relativeComparison: Boolean!
  • # Identifier of the history comparison date the chart compares against, for
  • # history-based reports.
  • historyComparisonDateId: UUID
  • # Color of the comparison series, given as an RGB color code encoded as an
  • # integer.
  • seriesColor: Int
  • }