HiloSeries<T, D> class
Renders the Hilo series.
HiLo series illustrates the price movements in stock using the high and low values.
To render a HiLo chart, create an instance of HiloSeries, and add it to the series collection property of SfCartesianChart.
- Inheritance
- Object
- ChartSeries<
T, D> - CartesianSeries<
T, D> - XyDataSeries<
T, D> - HiloSeries
Constructors
-
HiloSeries({ValueKey<
String> key, ChartSeriesRendererFactory<T, D> onCreateRenderer, @required List<T> dataSource, @required ChartValueMapper<T, D> xValueMapper, @required ChartValueMapper<T, num> lowValueMapper, @required ChartValueMapper<T, num> highValueMapper, ChartValueMapper<T, dynamic> sortFieldValueMapper, ChartValueMapper<T, Color> pointColorMapper, ChartValueMapper<T, String> dataLabelMapper, SortingOrder sortingOrder, String xAxisName, String yAxisName, String name, Color color, MarkerSettings markerSettings, EmptyPointSettings emptyPointSettings, DataLabelSettings dataLabelSettings, bool isVisible, bool enableTooltip, double animationDuration, double borderWidth, SelectionSettings selectionSettings, SelectionBehavior selectionBehavior, bool isVisibleInLegend, LegendIconType legendIconType, String legendItemText, List<double> dashArray, double opacity, double spacing, List<int> initialSelectedDataIndexes, bool showIndicationForSameValues, List<Trendline> trendlines, SeriesRendererCreatedCallback onRendererCreated}) - Creating an argument constructor of HiloSeries class.
Properties
- animationDuration → double
-
Duration of the series animation. It takes millisecond value as input. [...]
final, inherited
- bearColor → Color
-
final, inherited
- borderColor → Color
-
Border color of the series. [...]
final, inherited
- borderGradient → LinearGradient
-
Fills the border of the chart series with gradient color. [...]
final, inherited
- borderWidth → double
-
Border width of the series. [...]
final, inherited
- bullColor → Color
-
final, inherited
-
closeValueMapper
→ ChartIndexedValueMapper<
num> -
final, inherited
- color → Color
-
Color of the series. [...]
final, inherited
-
dashArray
→ List<
double> -
Dashes of the series. [...]
final, inherited
-
dataLabelMapper
→ ChartIndexedValueMapper<
String> -
Field in the data source, which is considered as text for the data points. [...]
final, inherited
- dataLabelSettings → DataLabelSettings
-
Customizes the data labels in a series. Data label is a text, which displays
the details about the data point. [...]
final, inherited
-
dataSource
→ List<
T> -
Data required for rendering the series. [...]
final, inherited
- emptyPointSettings → EmptyPointSettings
-
Customizes the empty points, i.e. null data points in a series. [...]
final, inherited
- enableSolidCandles → bool
-
final, inherited
- enableTooltip → bool
-
Enables or disables the tooltip for this series. [...]
final, inherited
- gradient → LinearGradient
-
Fills the chart series with gradient color. [...]
final, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
highValueMapper
→ ChartIndexedValueMapper<
num> -
Field in the data source, which is considered as high value for the data points. [...]
final, inherited
-
initialSelectedDataIndexes
→ List<
int> -
List of data indexes to initially be selected [...]
final, inherited
-
intermediateSumPredicate
→ ChartIndexedValueMapper<
bool> -
A boolean value, based on which the data point will be considered as intermediate sum or not. [...]
final, inherited
- isVisible → bool
-
Toggles the visibility of the series. [...]
final, inherited
- isVisibleInLegend → bool
-
Toggles the visibility of the legend item of this specific series in the legend. [...]
final, inherited
-
key
→ ValueKey<
String> -
Key to identify a series in a collection. [...]
final, inherited
- legendIconType → LegendIconType
-
Shape of the legend icon. [...]
final, inherited
- legendItemText → String
-
Text to be displayed in legend. [...]
final, inherited
-
lowValueMapper
→ ChartIndexedValueMapper<
num> -
Field in the data source, which is considered as low value for the data points. [...]
final, inherited
- markerSettings → MarkerSettings
-
Indication of data points. [...]
final, inherited
- name → String
-
Name of the series. [...]
final, inherited
-
onCreateRenderer
→ ChartSeriesRendererFactory<
T, D> -
Used to create the renderer for custom series. [...]
final, inherited
- onRendererCreated → SeriesRendererCreatedCallback
-
Triggers when the series renderer is created. [...]
final, inherited
- opacity → double
-
Opacity of the series. [...]
final, inherited
-
openValueMapper
→ ChartIndexedValueMapper<
num> -
final, inherited
-
pointColorMapper
→ ChartIndexedValueMapper<
Color> -
Field in the data source, which is considered as fill color for the data points. [...]
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- selectionBehavior → SelectionBehavior
-
Customizes the data points or series on selection. [...]
final, inherited
- selectionSettings → SelectionSettings
-
Customizes the data points or series on selection. [...]
final, inherited
- showIndicationForSameValues → bool
-
If it is set to true, a small vertical line will be rendered. Else nothing will
be rendered for that specific data point and left as a blank area. [...]
final, inherited
-
sizeValueMapper
→ ChartIndexedValueMapper<
num> -
Field in the data source, which is considered as size of the bubble for
all the data points. [...]
final, inherited
- sortFieldValueMapper → ChartIndexedValueMapper
-
Field in the data source, which is considered for sorting the data points. [...]
final, inherited
- sortingOrder → SortingOrder
-
The data points in the series can be sorted in ascending or descending order. [...]
final, inherited
- spacing → double
-
Spacing between the columns. The value ranges from 0 to 1.
1 represents 100% and 0 represents 0% of the available space. [...]
final, inherited
-
totalSumPredicate
→ ChartIndexedValueMapper<
bool> -
A boolean value, based on which the data point will be considered as total sum or not. [...]
final, inherited
-
trendlines
→ List<
Trendline> -
Customizes the trendlines. [...]
final, inherited
-
volumeValueMapper
→ ChartIndexedValueMapper<
num> -
final, inherited
- width → double
-
Width of the series. [...]
final, inherited
- xAxisName → String
-
Name of the x-axis to bind the series. [...]
final, inherited
-
xValueMapper
→ ChartIndexedValueMapper<
D> -
Field in the data source, which is considered as x-value. [...]
final, inherited
- yAxisName → String
-
Name of the y-axis to bind the series. [...]
final, inherited
- yValueMapper → ChartIndexedValueMapper
-
Field in the data source, which is considered as y-value. [...]
final, inherited
Methods
-
createRenderer(
ChartSeries< T, D> series) → HiloSeriesRenderer - Create the hilo series renderer.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited