Giter Site home page Giter Site logo

Comments (8)

AAChartModel avatar AAChartModel commented on May 13, 2024 1

你的这个需求这么变态,角度又如此刁钻,竟然能够被完满解决,我自己都觉得吃惊😲,你们的产品经理应该被吊起来打!

from aachartkit.

kallywang-jia avatar kallywang-jia commented on May 13, 2024

没有值能不能理解为0呢?

from aachartkit.

AAChartModel avatar AAChartModel commented on May 13, 2024

没有值能不能理解为0呢?

这个当然是不可以的!空值 nil0还是有区别的.

from aachartkit.

yeqiliang avatar yeqiliang commented on May 13, 2024

0的话 就去连线了啊。我要他不连线啊。。

from aachartkit.

AAChartModel avatar AAChartModel commented on May 13, 2024

现已为AAChartModel新增Bool 类型属性connectNulls

AAPropStatementAndFuncStatement(assign, AAChartModel, BOOL , connectNulls);//设置折线是否断点重连(是否连接空值点)

from aachartkit.

AAChartModel avatar AAChartModel commented on May 13, 2024

更新一下AAChartKitDemo文件,如下配置AAChartModel实例对象即可

        NSArray *seriesArr = @[
                               @{  @"name":@"本专业",
                                   @"data": @[@45,@88,@49,@43,@65,@56,@47,@28,@49,@44,@89,@55],
                                   @"zoneAxis":@"x",
                                   @"zones":@[
                                           @{
                                               @"value": @8
                                               },
                                           @{
                                               @"dashStyle": @"Dash"
                                               }]
                                   },
                               
                               @{  @"name":@"所有专业",
                                   @"data":@[@"",@"",@105,@109,@89,@"",@"",@120,@"",@"",@"",@""],
                                   },
                               
                               ];
        
        AAChartModel *chartModel= AAObject(AAChartModel)
        .connectNullsSet(true)//设置折线是否断点重连
        .chartTypeSet(chartType)
        .titleSet(@"编程语言热度")
        .subtitleSet(@"虚拟数据")
        .pointHollowSet(true)
        .categoriesSet(@[@"Java",@"Swift",@"Python",@"Ruby", @"PHP",@"Go",@"C",@"C#",@"C++",@"Perl",@"R",@"MATLAB",@"SQL"])
        .yAxisTitleSet(@"摄氏度")
        .seriesSet(seriesArr);
        
        return chartModel;

from aachartkit.

yeqiliang avatar yeqiliang commented on May 13, 2024

感谢楼主,帮了大忙了。。

from aachartkit.

yeqiliang avatar yeqiliang commented on May 13, 2024

也只能够想一想了,大体的都满足了,就剩小细节了我自己先看看,不行了,还得喊你。。- - !

from aachartkit.

Related Issues (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.