Syncfusion Feedback


Overview

The Flutter HiLo Chart is similar to OHLC, but shows the high and low values of the stock over the given period of time. You can create beautiful, animated, real-time and high-performance hilo chart that also supports the interactive features such as zooming and panning, trackball, crosshair, tooltip and selection.

Beautiful Flutter HiLo Chart


Key features

Plots multiple series in chart

Multi series

Allows you to plot multiple series in a single chart to compare different data sets. Enabling legend and tooltip gives more information about the individual series.

Flutter chart shows the data labels

Data label

Data labels display information about data points. Add a template to display data labels with any custom widgets for more informative data labels. You can rotate a data label by its given angle.

Shows the customizable HiLo chart in Flutter

Customization

Customize the color, thickness, and dash array of the Flutter HiLo Chart using built-in APIs.


Code example

Easily get started with the Flutter High Low (HiLo) Chart using a few simple lines of DART code example as demonstrated below,

  1. import 'package:flutter/material.dart';
  2. import 'package:syncfusion_flutter_charts/charts.dart';
  3.  
  4. @override
  5. Widget build(BuildContext context) {
  6. return Scaffold(
  7. body: Center(
  8. child: Container(
  9. child: SfCartesianChart(
  10. primaryXAxis: DateTimeAxis(),
  11. series: <CartesianSeries>[
  12. // Renders bar chart
  13. HiloSeries<SalesData, DateTime>(
  14. dataSource: chartData,
  15. xValueMapper: (SalesData sales, _) => sales.year,
  16. lowValueMapper: (SalesData sales, _) => sales.low,
  17. highValueMapper: (SalesData sales, _) => sales.high
  18. )
  19. ]
  20. )
  21. )
  22. )
  23. );
  24. }

Learning resources

Navigate to GitHub code used to configure the Flutter HiLo chart

GitHub Code

The Flutter HiLo chart configuration code is available in GitHub.

Navigate to the options available in User Guide to customize the Flutter HiLo chart

Flutter HiLo Chart User Guide

Learn available options to customize the Flutter HiLo Chart.

Navigate to the API references documentation of Flutter HiLo chart

Flutter HiLo Chart API Reference

Explore the Flutter HiLo Chart APIs.

Scroll up icon
Chat with us