Giter Site home page Giter Site logo

limccn / cocoa-charts Goto Github PK

View Code? Open in Web Editor NEW
220.0 18.0 70.0 21.96 MB

Open-source iPhone/iPad graph/chart framework includes line chart,stick chart,candlestick chart,pie chart,spider-web chart etc. Based on iOS graph SDK, Using native Objective-c Codes

Home Page: http://www.lidaren.com/cocoacharts

License: Apache License 2.0

Objective-C 23.04% C 76.78% C++ 0.08% Shell 0.09% Ruby 0.01%

cocoa-charts's Issues

Need Y-axis to be on the left.

I checked your code. Its very helpful for me. I want the Y axis to be on the left. Can you please help me or guide me the steps to do.

Thanks,
Prajnaranjan Das

关于axisMarginTop和axisMarginRight

我不太了解axisMarginTop和axisMarginRight是什么用,从字面上看应该是上部边距和右边距,但是代码里为什么总是减去2_axisMarginTop和 2_ axisMarginRight,两倍是什么意思?

画分时图问题 图表区域会被接受来的数据占满

默认情况 数据画法会根据数据量占满图表区域,
但是对于分时图来说 相当于X坐标永远固定. 对于接受来的数据画在对应的位置, 而不对根据数据量调整X坐标系的位置.
好像找不到可以设置成分时风格的画法? 要么默认把X坐标系通过空数据填满?

关于CCSSlipLineChart滑动的问题

CCFloat stickWidth = [self getDataStickWidth] if (pt1.x - _firstX > stickWidth) { [self moveToLeft]; } else if (pt1.x - _firstX < -stickWidth) { [self moveToRight]; }
这个计算的stickWidth有一些问题,当需要显示的数据间隔为1时,这个getDataStickWidth算出来的值会超过40,但是往左和往右边Move的距离不会超过20,所以会导致滑动没有任何效果

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.