k_chart 0.7.1 k_chart: ^0.7.1 copied to clipboard
A Flutter K Chart.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add k_chart
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
k_chart: ^0.7.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:k_chart/chart_style.dart';
import 'package:k_chart/chart_translations.dart';
import 'package:k_chart/depth_chart.dart';
import 'package:k_chart/entity/candle_entity.dart';
import 'package:k_chart/entity/cci_entity.dart';
import 'package:k_chart/entity/depth_entity.dart';
import 'package:k_chart/entity/index.dart';
import 'package:k_chart/entity/info_window_entity.dart';
import 'package:k_chart/entity/k_entity.dart';
import 'package:k_chart/entity/k_line_entity.dart';
import 'package:k_chart/entity/kdj_entity.dart';
import 'package:k_chart/entity/macd_entity.dart';
import 'package:k_chart/entity/rsi_entity.dart';
import 'package:k_chart/entity/rw_entity.dart';
import 'package:k_chart/entity/volume_entity.dart';
import 'package:k_chart/extension/map_ext.dart';
import 'package:k_chart/extension/num_ext.dart';
import 'package:k_chart/flutter_k_chart.dart';
import 'package:k_chart/k_chart_widget.dart';
import 'package:k_chart/renderer/base_chart_painter.dart';
import 'package:k_chart/renderer/base_chart_renderer.dart';
import 'package:k_chart/renderer/chart_painter.dart';
import 'package:k_chart/renderer/index.dart';
import 'package:k_chart/renderer/main_renderer.dart';
import 'package:k_chart/renderer/secondary_renderer.dart';
import 'package:k_chart/renderer/vol_renderer.dart';
import 'package:k_chart/utils/data_util.dart';
import 'package:k_chart/utils/date_format_util.dart';
import 'package:k_chart/utils/index.dart';
import 'package:k_chart/utils/number_util.dart';