FinancialSeriesBase<T, D> constructor
const
FinancialSeriesBase<T, D> ({
- ValueKey<
String> ? key, - ChartSeriesRendererFactory<
T, D> ? onCreateRenderer, - List<
T> ? dataSource, - required ChartValueMapper<
T, D> ? xValueMapper, - ChartValueMapper<
T, num> ? lowValueMapper, - ChartValueMapper<
T, num> ? highValueMapper, - ChartValueMapper<
T, num> ? openValueMapper, - ChartValueMapper<
T, num> ? closeValueMapper, - ChartValueMapper<
T, num> ? volumeValueMapper, - ChartValueMapper<
T, dynamic> ? sortFieldValueMapper, - ChartValueMapper<
T, Color> ? pointColorMapper, - ChartValueMapper<
T, String> ? dataLabelMapper, - SortingOrder sortingOrder = SortingOrder.none,
- List<
double> ? dashArray, - String? xAxisName,
- String? yAxisName,
- String? name,
- Color? color,
- double width = 0.7,
- double spacing = 0,
- MarkerSettings markerSettings = const MarkerSettings(),
- EmptyPointSettings emptyPointSettings = const EmptyPointSettings(),
- DataLabelSettings dataLabelSettings = const DataLabelSettings(),
- bool initialIsVisible = true,
- LinearGradient? gradient,
- bool enableTooltip = true,
- double animationDuration = 1500,
- double borderWidth = 2,
- SelectionBehavior? selectionBehavior,
- List<
int> ? initialSelectedDataIndexes, - bool isVisibleInLegend = true,
- LegendIconType legendIconType = LegendIconType.seriesType,
- String? legendItemText,
- bool enableSolidCandles = false,
- Color bearColor = Colors.red,
- Color bullColor = Colors.green,
- double opacity = 1.0,
- double animationDelay = 0,
- bool showIndicationForSameValues = false,
- List<
Trendline> ? trendlines, - SeriesRendererCreatedCallback<
T, D> ? onRendererCreated, - ChartPointInteractionCallback? onPointTap,
- ChartPointInteractionCallback? onPointDoubleTap,
- ChartPointInteractionCallback? onPointLongPress,
- CartesianShaderCallback? onCreateShader,
Creates an instance of financial series base.
Implementation
const FinancialSeriesBase({
super.key,
super.onCreateRenderer,
super.dataSource,
required super.xValueMapper,
this.lowValueMapper,
this.highValueMapper,
this.openValueMapper,
this.closeValueMapper,
this.volumeValueMapper,
super.sortFieldValueMapper,
super.pointColorMapper,
super.dataLabelMapper,
super.sortingOrder,
super.dashArray,
super.xAxisName,
super.yAxisName,
super.name,
super.color,
this.width = 0.7,
this.spacing = 0,
super.markerSettings,
super.emptyPointSettings,
super.dataLabelSettings,
super.initialIsVisible,
super.gradient,
super.enableTooltip = true,
super.animationDuration,
super.borderWidth = 2,
super.selectionBehavior,
super.initialSelectedDataIndexes,
super.isVisibleInLegend,
super.legendIconType,
super.legendItemText,
this.enableSolidCandles = false,
this.bearColor = Colors.red,
this.bullColor = Colors.green,
super.opacity,
super.animationDelay,
this.showIndicationForSameValues = false,
super.trendlines,
super.onRendererCreated,
super.onPointTap,
super.onPointDoubleTap,
super.onPointLongPress,
super.onCreateShader,
});