Giter Club home page Giter Club logo

flutter_k_chart's People

Contributors

gwhcn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flutter_k_chart's Issues

优化

可以惯性滑动吗?

Bug

涨跌额不对
成交量不对
boll时,左上角标志未改变
wr线有误

数据加载问题

k线往左划可以划到底,有没有方法可以类似于加载更多,划到底了自动加载更早的数据,而不是一次性就把所有数据加载了

Failed assertion: line 21 pos 12: '_current != null'

Hy guys,

How to resolve this issue?

======== Exception caught by widgets library =======================================================
The following assertion was thrown building Container(constraints: BoxConstraints(w=Infinity, h=450.0), margin: EdgeInsets(10.0, 0.0, 10.0, 0.0)):
No instance of S was loaded. Try to initialize the S delegate before accessing S.current.
'package:flutter_k_chart/generated/l10n.dart':
Failed assertion: line 21 pos 12: '_current != null'

问题

您好,大神,请问有没有讨论群什么的,或者有您的什么联系方式,能否给个?

纵坐标会显示 Infinity和NaN

当高开低收的值都相同时,纵坐标会显示Infinity和NaN,而且蜡烛图没有,对比tradingView看,tradingView会显示一根短横线。可以再优化一下!

分时图渐变色问题

我把flutter_k_chart和其它widget组合使用时发现个问题,当切换到分时图时,分时图下面的控件背景受到了分时图背景色影响。假如我把底部控件的颜色设置成白色,实际显示的却是分时图的背景色。

计算BOLL,为什么要判断 < 19

static void calcBOLL(List dataList) {
for (int i = 0; i < dataList.length; i++) {
KLineEntity entity = dataList[i];
if (i < 19) {
entity.mb = 0;
entity.up = 0;
entity.dn = 0;
} else {
int n = 20;
double md = 0;
for (int j = i - n + 1; j <= i; j++) {
double c = dataList[j].close;
double m = entity.MA20Price;
double value = c - m;
md += value * value;
}
md = md / (n - 1);
md = sqrt(md);
entity.mb = entity.MA20Price;
entity.up = entity.mb + 2.0 * md;
entity.dn = entity.mb - 2.0 * md;
}
}
}
为什么要判断 i< 19?

Bug

如果没有交易量、所有的开收盘价格都一样的时候,MA5 等好多数据都是null。报错

Feature Addition Requests

First of all, thanks for sharing a good library.
Could you please add a chart line drawing related function like Tradingview?

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.