kline_flutter library

Classes

DeepChart<T>
深度图组件。
DeepChartContext<T>
深度图布局、绘制和覆盖层构建时传递给 delegate 的上下文。
DeepChartDataAdapter<T>
深度图数据适配器。
DeepChartDefaultDelegate<T>
深度图默认绘制代理。
DeepChartDefaultLayoutUtils
默认深度图布局工具。
DeepChartDelegate<T>
深度图绘制代理。
DeepChartGridLine
深度图线段布局结果。
DeepChartLayoutConfig
深度图默认布局配置。
DeepChartTextLayout
深度图文本布局结果。
DeepChartTheme
深度图默认 UI 的颜色和线宽配置。
DeepDepthEntry
单个盘口深度档位。
DeepDepthEntryAdapter
DeepDepthEntry 自身的默认适配器。
DeepDepthNode
深度图绘制节点。
DeepDepthNodes
买盘和卖盘的深度图节点集合。
KLineBehaviorConfig
K 线图交互行为配置。
KLineChart<T>
K 线图核心组件。
KLineChartContext<T>
图表上下文。
KLineChartDelegate<T>
图表代理,负责尺寸、布局节点、绘制、选中 UI 和交互回调。
KLineChartLayoutUtils
K 线图表默认布局工具。
KLineController
K 线图公开控制器。
KLineDataAdapter<T>
将业务 K 线模型适配为默认绘制实现需要的字段。
KLineDefaultDelegateImpl<T>
默认 K 线 delegate 的基础实现。
KLineDefaultIndicators
默认 K 线指标 id 与定义工厂。
KLineDefaultLayoutNode<T>
默认实现使用的布局节点。
KLineDetailEntry
默认详情面板中的一行展示数据。
KLineIndicatorEntry
默认指标标签中的一个展示项。
KLineIndicatorSeries<T>
一条指标线的数据定义。
KLineIndicatorSpec<T>
一个可选择、可绘制的指标定义。
KLineLayoutConfig
K 线图布局配置。
KLineLayoutNode<T>
绘制布局节点。
KLineScrollMetrics
用户滚动时传给 delegate 的滚动位置信息。
KLineTheme
K 线图默认主题配置。
KLineVisibleRange
当前图表可见数据区间。
KLineWidget<T>
默认 K 线 UI 组件。

Enums

KLineScrollAlignment
滚动到指定 K 线时,目标 K 线在视口中的对齐位置。

Functions

kLineDefaultDrawableClipRect(Rect rect, {required double scrollOffset}) Rect
将固定视口坐标系中的裁剪区域转换为横向滚动内容坐标系。
kLineDefaultSecondaryContentRect(Rect rect, {required KLineLayoutConfig layout}) Rect
计算副图参与数值映射的内容区域。

Typedefs

KLineIndicatorHeightGetter<T> = double Function(KLineChartContext<T> context, KLineIndicatorSpec<T> indicator)
KLineIndicatorRenderer<T> = void Function(Canvas canvas, Rect rect, KLineChartContext<T> context, KLineDataAdapter<T> adapter, KLineIndicatorSpec<T> indicator)
KLineIndicatorValueGetter<T> = double? Function(T item)