LabelModeGraph constructor

const LabelModeGraph({
  1. Key? key,
  2. required Map<String, dynamic> variable,
  3. required Color color,
  4. required MBTimeWindow timeWindow,
  5. required MBTickerType tickerType,
  6. required MBGraphSize graphSize,
  7. required double height,
  8. required DateTime referenceTime,
})

Implementation

const LabelModeGraph({
  super.key,
  required Map<String, dynamic> variable,
  required Color color,
  required MBTimeWindow timeWindow,
  required MBTickerType tickerType,
  required MBGraphSize graphSize,
  required double height,
  required DateTime referenceTime,
}) : super(
        timeWindow: timeWindow,
        tickerType: tickerType,
        graphSize: graphSize,
        variable: variable,
        color: color,
        height: height,
        referenceTime: referenceTime,
        allowedSizes: const [MBGraphSize.quarter, MBGraphSize.half],
        allowedVariableTypes: const [MBVariableType.string],
        allowedVariableForms: const [MBVariableForm.array],
      );