V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
lfflyers
V2EX  ›  iDev

大佬们,请问一下这种图怎么画?有没有好的第三方推荐?

  •  
  •   lfflyers · 2017-11-27 22:15:44 +08:00 · 4370 次点击
    这是一个创建于 2312 天前的主题,其中的信息可能已经有所发展或是发生改变。

    22 条回复    2017-11-29 19:41:24 +08:00
    cigarzh
        1
    cigarzh  
       2017-11-27 22:18:01 +08:00 via iPhone
    mspaint
    lfflyers
        2
    lfflyers  
    OP
       2017-11-27 22:25:27 +08:00
    @cigarzh ...
    K1W1
        3
    K1W1  
       2017-11-27 22:26:47 +08:00
    html + css
    artandlol
        4
    artandlol  
       2017-11-27 22:28:49 +08:00 via iPhone
    Css3
    Js
    Html5
    Svg
    flyingHagan
        5
    flyingHagan  
       2017-11-27 22:29:52 +08:00
    d3.js
    lhx2008
        6
    lhx2008  
       2017-11-27 22:32:19 +08:00 via Android
    html 几行代码就搞定
    lhx2008
        7
    lhx2008  
       2017-11-27 22:32:31 +08:00 via Android
    @lhx2008 +css
    lfflyers
        8
    lfflyers  
    OP
       2017-11-27 22:38:54 +08:00
    这个是 iOS 原生开发
    momocraft
        9
    momocraft  
       2017-11-27 22:47:02 +08:00
    CoreGraphics
    dremy
        10
    dremy  
       2017-11-27 23:00:16 +08:00 via iPhone
    AntX 区间图
    wwwwzf
        11
    wwwwzf  
       2017-11-27 23:01:09 +08:00
    svg
    canvas 画板
    以及 js 插件都能。
    sangmong
        12
    sangmong  
       2017-11-27 23:29:12 +08:00
    笨方法:俩个圆形 UIView + 一个长方形 UIView 封装成一个控件呗
    高级一点的:coregraphics 画图
    wwwwzf
        13
    wwwwzf  
       2017-11-27 23:35:37 +08:00
    bibizhang
        14
    bibizhang  
       2017-11-28 00:01:51 +08:00   ❤️ 1
    cigarzh
        15
    cigarzh  
       2017-11-28 12:06:42 +08:00
    @lfflyers #2 啊不好意思我以为又是问 UI 怎么画的
    这种图叫做区间图,区间 xx 图
    楼上推荐很多了我在来一个 Highcharts
    https://www.highcharts.com/demo/columnrange
    sobigfish
        16
    sobigfish  
       2017-11-28 12:09:52 +08:00
    其实可以看成柱状图( bar ) 加 2 点( dot )
    sobigfish
        17
    sobigfish  
       2017-11-28 12:23:06 +08:00
    lfflyers
        18
    lfflyers  
    OP
       2017-11-29 19:39:10 +08:00
    @sangmong 也是一种思路
    lfflyers
        19
    lfflyers  
    OP
       2017-11-29 19:40:14 +08:00
    @wwwwzf 这里还是用原生的比较好
    lfflyers
        20
    lfflyers  
    OP
       2017-11-29 19:40:38 +08:00
    @bibizhang 谢谢了
    lfflyers
        21
    lfflyers  
    OP
       2017-11-29 19:41:09 +08:00
    @cigarzh 不错
    lfflyers
        22
    lfflyers  
    OP
       2017-11-29 19:41:24 +08:00
    @sobigfish 正解
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3034 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 12:47 · PVG 20:47 · LAX 05:47 · JFK 08:47
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.