RangeAnnotationSegment<D> constructor

RangeAnnotationSegment<D>(
  1. D startValue,
  2. D endValue,
  3. RangeAnnotationAxisType axisType, {
  4. String? axisId,
  5. Color? color,
  6. String? startLabel,
  7. String? endLabel,
  8. String? middleLabel,
  9. AnnotationLabelAnchor? labelAnchor,
  10. AnnotationLabelDirection? labelDirection,
  11. AnnotationLabelPosition? labelPosition,
  12. TextStyleSpec? labelStyleSpec,
})

Implementation

RangeAnnotationSegment(
    this.startValue, this.endValue, RangeAnnotationAxisType axisType,
    {String? axisId,
    Color? color,
    String? startLabel,
    String? endLabel,
    String? middleLabel,
    AnnotationLabelAnchor? labelAnchor,
    AnnotationLabelDirection? labelDirection,
    AnnotationLabelPosition? labelPosition,
    TextStyleSpec? labelStyleSpec})
    : super(axisType,
          axisId: axisId,
          color: color,
          startLabel: startLabel,
          endLabel: endLabel,
          middleLabel: middleLabel,
          labelAnchor: labelAnchor,
          labelDirection: labelDirection,
          labelPosition: labelPosition,
          labelStyleSpec: labelStyleSpec);