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
toshiki
July 12, 2024
97
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
fl_cahrtで積上面グラフを実装する
toshiki
July 12, 2024
More Decks by toshiki
See All by toshiki
Claude Codeくん、君には全てを任せないがほとんどを任せよう
toshiki9
0
76
Flutterテスト戦略の再考〜品質と効率のバランスを求めて〜
toshiki9
0
220
Flutterの既存プロダクトに GoldenTestを導入する
toshiki9
0
140
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
The Pragmatic Product Professional
lauravandoore
37
7.5k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
58k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
67k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
490
Designing Experiences People Love
moore
143
24k
Deep Space Network (abreviated)
tonyrice
0
370
New Earth Scene 8
popppiees
4
2.7k
The Invisible Side of Design
smashingmag
301
52k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
540
Transcript
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優秀すぎない?