Telegram April contest 2019. (1 week) (March contest - https://github.com/opiumfive/android_chart_stage1)
Goal is to show simple charts with 5 bonuses (I did only last):
- A line chart with 2 lines, exactly like in Stage 1
- A line chart with 2 lines and 2 Y axes
- A stacked bar chart with 7 data types
- A daily bar chart with single data type
- A percentage stacked area chart with 6 data types Bonus goal: A percentage stacked area chart with 6 data types that zooms into a pie chart with average values for the selected period
"When selecting the winners of Stage 2, we will consider speed, attention to detail and functionality. "
Result apk:
https://github.com/opiumfive/android_chart_stage2/blob/master/TChart-v2.0.apk
Sorry for the code, it was only 1 week and almost no free time.
Small result video:
Overall: https://drive.google.com/open?id=1ISAEmVd3YekvpU1Z5BrJZfNqJjVwtmsK
Area to pie transition: https://github.com/opiumfive/android_chart_stage2/raw/master/area_to_pie_video.mp4
Some notes additional to part 1:
- still on canvas;
- reworked y animations;
- optimized performance by bitmap caching;
- for area to pie chart transition "canvas.drawBitmapMesh()" function used, btw not well documented;
- optimized for landscape mode
- apk size 120kb
Telegram review: waiting