Skip to content

kirilldronkin/telegram-contest-chart

Repository files navigation

Telegram Contest Chart Application

The application was made for the 2019 March - April Coding Competition by Telegram. The goal was to develop a software for showing simple charts based on the provided input.

See the demo.

Results

  • Stage 1 (March 10 - 24) - no prizes;
  • Stage 2 (April 7 - 15) - 4th place;

About

The application written on pure JavaScript without usage of any 3th-party libraries. The source code is ECMAScript 2018 which then transpiled to ECMAScript 2015, so the target browser must support it as well. Also the source code is annotated for Closure Compiler to produce a bundle with the minimum possible size.

Features

  • Line, Bar and Area chart types;
  • Dual Y axis;
  • Flexible layout;
  • Zooming and panning;
  • Nice ticks formatting;
  • Day and night themes;
  • Legend and cursor;
  • Touch devices support;
  • Retina displays support;
  • Smooth transition for datasets changing and Y axis scaling;
  • Responsive - every chart on the page will be redrawn on resize or orientation change;

Development

npm run dev - starts the development server;
npm run build - builds a bundle;
npm run lint - lints the code;

About

Telegram Contest Chart Application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published