GrammarSpecException.unboundAxis constructor

GrammarSpecException.unboundAxis(
  1. String axisId
)

A declared axis that no mark measures against.

Implementation

factory GrammarSpecException.unboundAxis(String axisId) =>
    GrammarSpecException(
      GrammarDiagnosticCode.unboundAxis,
      'No mark measures against the axis "$axisId". An axis derives its '
      'scale from the series bound to it, so an unbound axis would never '
      'reach the chart. Bind a mark with yAxisId: "$axisId", or remove the '
      'axis.',
    );