Skip to content

makovkastar/android_chart_stage2

 
 

Repository files navigation

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):

  1. A line chart with 2 lines, exactly like in Stage 1
  2. A line chart with 2 lines and 2 Y axes
  3. A stacked bar chart with 7 data types
  4. A daily bar chart with single data type
  5. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%