Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
fl_cahrtで積上面グラフを実装する
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
toshiki
July 12, 2024
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
fl_cahrtで積上面グラフを実装する
toshiki
July 12, 2024
Transcript
11 slides
fl_chartで積上面グラフを実 装する 株式会社マネーフォワード 小野 紀輝
小野 紀輝 Ono Toshiki • モバイルエンジニア ◦ Androidエンジニアを名乗り始 めて1年経ちますが新規画面書い たことありません
• 石川県 • 趣味 ◦ スニーカー ◦ バドミントン ◦ フェス
積上面グラフとは
積上面グラフとは これ
MEのどこにあるのか • 資産タブ • この画面にはAddToAppの技術が用いら れている • AddToAppの詳しい話を聞きたい方は後ほ ど別のエンジニアの方を紹介します
LineChartのプロパティ • LineChartDataはLineChartの データやデザインを持つクラス • LineChartDataの中身を見ていく • 今回その他のプロパティに関する 解説は省略します
LineChartDataのプロパティ • 沢山引数あるけど今回説明するのは betweenBarsDataのみ • コメントによるとlineBarsDataの間を 塗ってくれるらしい
betweenBarsDataの役割 • betweenBarsDataなしだと右のように折線 グラフのみが描画される • betweenBarsDataにリストを渡す → 折線グ ラフの間を塗ってくれる •
betweenBarsDataは塗り始めのindexと塗 り終わりのindexの情報を持っている
サンプルコード
• 今回の調査を通じて自身の理解が間違っていることに気がついた • もっと複雑な仕組みを想定していたが、実際はとてもシンプルなもの だった ◦ 線間を塗る処理 ◦ 座標間の計算 •
lineBarsDataのリストのindex情報さえあれば積上面グラフは実装 可能だった お気持ち
fl_chart優秀すぎない?
More Decks by toshiki
See All by toshiki
生成AIにテストを任せて分かった、人間がやるべき3つのこと ~ Flutter × FigmaMCP × Maestro の実践から ~
toshiki9
0
180
私たちはもうテストを書きません — AIくん、あとは全て任せましたよ
toshiki9
0
110
Claude Codeくん、君には全てを任せないがほとんどを任せよう
toshiki9
0
90
Flutterテスト戦略の再考〜品質と効率のバランスを求めて〜
toshiki9
0
230
Flutterの既存プロダクトに GoldenTestを導入する
toshiki9
0
140
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
910
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
970
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k
From π to Pie charts
rasagy
1
460
エンジニアに許された特別な時間の終わり
watany
109
250k
Between Models and Reality
mayunak
4
600
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
640
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
470