Giter Club home page Giter Club logo

Comments (3)

AAChartModel avatar AAChartModel commented on May 23, 2024

配置 AAOptions

        AAChartModel aaChartModel = new AAChartModel()
                .chartType(AAChartType.Line)//图表类型
                .title("")//图表主标题
                .subtitle("")//图表副标题
                .colorsTheme(new String[]{"#04d69f","#1e90ff","#ef476f","#ffd066",})
                .stacking(AAChartStackingType.Normal)
                .yAxisTitle("")//设置 Y 轴标题
                .yAxisVisible(false)
                .markerRadius(0f)
                .series(new AASeriesElement[]{
                        new AASeriesElement()
                                .name("NewYorkHot")
                                .lineWidth(5.0f)
                                .fillOpacity(0.4f)
                                .data(new Object[]{
                                0.60, 0.51, 0.52, 0.53, 0.64, 0.84, 0.65, 0.68, 0.63,
                                null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,
                                0.47, 0.72, 0.60, 0.65, 0.74, 0.66, 0.65, 0.71, 0.59, 0.65, 0.77, 0.52, 0.53, 0.58, 0.53}),
                });

        AAOptions aaOptions = AAOptionsConstructor.configureChartOptions(aaChartModel);

        aaOptions.plotOptions.series.connectNulls(true);

视图效果

Screen Shot 2020-05-26 at 3 54 59 PM

from aachartcore.

AAChartModel avatar AAChartModel commented on May 23, 2024

关键语句

aaOptions.plotOptions.series.connectNulls(true);

from aachartcore.

XIAOPOPO avatar XIAOPOPO commented on May 23, 2024

老哥,感谢。但是我设置了false好像成功了...

from aachartcore.

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.