Coder Social home page Coder Social logo

marcweigert / ggcharts Goto Github PK

View Code? Open in Web Editor NEW
787.0 23.0 195.0 2.13 MB

可以高度自定义的图表框架。柱状图、折线图、雷达图、饼图、K线图、分时图。

Objective-C 49.43% Lua 0.98% C 48.61% C++ 0.97%
linechart barchart piechart charts chart stockchart radar-chart progress-circle kline candlestick-chart

ggcharts's Issues

分时图功能。

RT。缺少拖动,HalfAnHour默认只显示一个半小时内数据且不能拖动呀。

如何是指K线从右边开始

直接设置contentOffset 会导致K线界面没有刷新出来,手滑动一下才会正确显示,是个什么问题, 还是我的设置有问题

作者大大您好

作者大大您好,使用了您的demo对我帮助很大,我想请问下您,如果想在分时图中 使用两种线条颜色,那么需要去哪里进行变动呢,我看了代码之后 ref的path是由数据得到的,我想的是某一段路径使用不同的LineColor但是好像并没有办法剥离出来,在我们得到实时数据绘制分时图的过程中使用的是不断地重绘,那么这样是否导致了分时图只能使用一种线条颜色呢

Kline蜡烛图的问题

其实框架挺好用的,但是数据类型只能指定KLineTypeDay,KLineTypeWeek,KLineTypeMonth....我如何才能生成十五分钟,一小时,四小时这样的呀?

这样确定不会死锁?

void runMainThreadWithBlock(Function block)
{
if (![NSThread isMainThread]) {
dispatch_sync(dispatch_get_main_queue(), ^{
block();
});
}
else {
block();
}
}

K线图扩展

K线图能扩展1分,5分,30分,4小时……等等这些的吗

分时图最大最小值判断有问题!

1.分时图最大最小值判断有问题,如果要绘制均线,最大最小值应该也要把均线的最大最小值判断上
2.科创板分时交易时间是15:30,会多出30个点位,图会绘制出边界!

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.