HomeLineGraphData

Required access

read_home access scope

All required data to display a single series in a line graph.

Show definition
# All required data to display a single series in a line graph.
type HomeLineGraphData {
  # Color identifier of the line. For example, primary_color.
  color: String!

  # X values representing the line.
  data: [Int!]!

  # Style modifier of the line. For example, solid.
  lineStyle: String!

  # Line label text for graph’s legend.
  title: String!

  # Whether to display labels for the graph on the x-axis.
  useEndLabels: Boolean!
}

Fields

color   (String!)

Color identifier of the line. For example, primary_color.

data   ([Int!]!)

X values representing the line.

lineStyle   (String!)

Style modifier of the line. For example, solid.

title   (String!)

Line label text for graph’s legend.

Deprecated fields

Show/Hide

useEndLabels   (Boolean!) deprecated

Whether to display labels for the graph on the x-axis.

Deprecation warning

End labels are no longer part of the new graph designs.