INNER CODE UNIT · Dart
_KChartWidgetState
OpenFlutter/k_chart · lib/k_chart_widget.dart:92
class _KChartWidgetState extends State<KChartWidget>
with TickerProviderStateMixin {
double mScaleX = 1.0, mScrollX = 0.0, mSelectX = 0.0;
StreamController<InfoWindowEntity?>? mInfoWindowStream;
double mHeight = 0, mWidth = 0;
AnimationController? _controller;
Animation<double>? aniX;
//For TrendLine
List<TrendLine> lines = [];
double? changeinXposition;
double? changeinYposition;
double mSelectY = 0.0;
bool waitingForOtherPairofCords = false;
bool enableCordRecord = false;
double getMinScrollX() {
return mScaleX;