DatumDetails<D>.from constructor
DatumDetails<D>.from (
- DatumDetails<
D> other, { - D? datum,
- int? index,
- D? domain,
- D? domainLowerBound,
- D? domainUpperBound,
- num? measure,
- MeasureFormatter? measureFormatter,
- num? measureLowerBound,
- num? measureUpperBound,
- num? measureOffset,
- num? rawMeasure,
- num? rawMeasureLowerBound,
- num? rawMeasureUpperBound,
- ImmutableSeries<
D> ? series, - Color? color,
- Color? fillColor,
- FillPatternType? fillPattern,
- Color? areaColor,
- List<
int> ? dashPattern, - NullablePoint? chartPosition,
- NullablePoint? chartPositionLower,
- NullablePoint? chartPositionUpper,
- Rectangle<
int> ? bounds, - DomainFormatter<
D> ? domainFormatter, - double? domainDistance,
- double? measureDistance,
- double? radiusPx,
- SymbolRenderer? symbolRenderer,
Implementation
factory DatumDetails.from(
DatumDetails<D> other, {
D? datum,
int? index,
D? domain,
D? domainLowerBound,
D? domainUpperBound,
num? measure,
MeasureFormatter? measureFormatter,
num? measureLowerBound,
num? measureUpperBound,
num? measureOffset,
num? rawMeasure,
num? rawMeasureLowerBound,
num? rawMeasureUpperBound,
ImmutableSeries<D>? series,
Color? color,
Color? fillColor,
FillPatternType? fillPattern,
Color? areaColor,
List<int>? dashPattern,
NullablePoint? chartPosition,
NullablePoint? chartPositionLower,
NullablePoint? chartPositionUpper,
Rectangle<int>? bounds,
DomainFormatter<D>? domainFormatter,
double? domainDistance,
double? measureDistance,
double? radiusPx,
SymbolRenderer? symbolRenderer,
}) =>
DatumDetails<D>(
datum: datum ?? other.datum,
index: index ?? other.index,
domain: domain ?? other.domain,
domainFormatter: domainFormatter ?? other.domainFormatter,
domainLowerBound: domainLowerBound ?? other.domainLowerBound,
domainUpperBound: domainUpperBound ?? other.domainUpperBound,
measure: measure ?? other.measure,
measureFormatter: measureFormatter ?? other.measureFormatter,
measureLowerBound: measureLowerBound ?? other.measureLowerBound,
measureUpperBound: measureUpperBound ?? other.measureUpperBound,
measureOffset: measureOffset ?? other.measureOffset,
rawMeasure: rawMeasure ?? other.rawMeasure,
rawMeasureLowerBound:
rawMeasureLowerBound ?? other.rawMeasureLowerBound,
rawMeasureUpperBound:
rawMeasureUpperBound ?? other.rawMeasureUpperBound,
series: series ?? other.series,
color: color ?? other.color,
fillColor: fillColor ?? other.fillColor,
fillPattern: fillPattern ?? other.fillPattern,
areaColor: areaColor ?? other.areaColor,
dashPattern: dashPattern ?? other.dashPattern,
chartPosition: chartPosition ?? other.chartPosition,
chartPositionLower: chartPositionLower ?? other.chartPositionLower,
chartPositionUpper: chartPositionUpper ?? other.chartPositionUpper,
bounds: bounds ?? other.bounds,
domainDistance: domainDistance ?? other.domainDistance,
measureDistance: measureDistance ?? other.measureDistance,
radiusPx: radiusPx ?? other.radiusPx,
symbolRenderer: symbolRenderer ?? other.symbolRenderer,
strokeWidthPx: radiusPx ?? other.strokeWidthPx,
);