Giter VIP home page Giter VIP logo

curve_line_demo's Introduction

了解如何使用Canvas API在Flutter应用上绘制曲线图。

如果,你有一些数据,你想做一个曲线图?有很多不错的Flutter库可以完成这项工作。但是,如果您想要一个独特漂亮的图表,完全符合您的应用程序的设计,您将需要从头开始构建他。

Flutter的Canvas API是绘制自定义图标的完美工具。这个API非常直观。

在深入了解Canvas API之前,你应该至少具有中等水平的Flutter经验。如果这听起来像你,那么系好安全带并准备好构建一些很棒的图标!

在本教程中,您将将构建LOLTracker,这是一款可以记录您笑的频率的应用程序。这个简单的应用程序将帮助您掌握一下Flutter原则:

学习使用小部件绘制曲线CustomPaint() 映射曲线以跟踪数据集中的数据 在图标的x轴和y轴添加标签

最终项目的目标是变成下面的效果,咱们先睹为快:

final-app.gif

实现细节请参考博客: Flutter 中的曲线图

原文翻译博客:Curved Line Charts in Flutter

curve_line_demo's People

Contributors

wisdozzh avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.