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