INNER CODE UNIT · Dart

DepthChartPainter

OpenFlutter/k_chart · lib/depth_chart.dart:66

class DepthChartPainter extends CustomPainter {
  //买入//卖出
  List<DepthEntity>? mBuyData, mSellData;
  Offset? pressOffset;
  bool isLongPress;
  int? fixedLength;
  Color? mBuyPathColor, mSellPathColor;
  ChartColors chartColors;

  double mPaddingBottom = 18.0;
  double mWidth = 0.0, mDrawHeight = 0.0, mDrawWidth = 0.0;
  double? mBuyPointWidth, mSellPointWidth;

  //最大的委托量
  double? mMaxVolume, mMultiple;

  //右侧绘制个数
  int mLineCount = 4;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…