This is the example / showcase application for the MPAndroidChart chart library / graph library on GitHub: https://github.com/PhilJay/MPAndroidChart
The library this app showcases (MPAndroidChart) is designed to create beautiful visual representations.
The core features of the library include:
- Many different chart types: LineChart, BarChart (vertical, horizontal, stacked, grouped), PieChart, ScatterChart, CandleStickChart (for financial data), RadarChart (spider web chart), BubbleChart
- Combined Charts (e.g. lines and bars in one)
- Scaling on both axes (with touch-gesture, axes separately or pinch-zoom)
- Dragging / Panning (with touch-gesture)
- Separate (dual) y-axes
- Highlighting values (with customizeable popup-views)
- Save chart to SD-Card (as image)
- Predefined color templates
- Legends (generated automatically, customizeable)
- Customizeable Axes (both x- and y-axis)
- Animations (build up animations, on both x- and y-axis)
- Limit lines (providing additional information, maximums, ...)
- Listeners for touch, gesture & selection callbacks
- Fully customizeable (paints, typefaces, legends, colors, background, dashed lines, ...)
- Realm.io mobile database support via MPAndroidChart-Realm library
- Smooth rendering for up to 10.000 data points in Line- and BarChart (tested on a 2014 OnePlus One running Android 6.0)
- Lightweight (method count ~1.4K)
- Available as gradle dependency and via maven
- Widely used, great support on both GitHub and stackoverflow - mpandroidchart
- Also available for iOS: Charts (API works the same way)
- Also available for Xamarin: MPAndroidChart.Xamarin
This project is meant to demonstrate the features of the library and motivate developers to make use of it. This is not an app to create charts.
นี่คือแอปพลิเคชั่นตัวอย่าง / การแสดงสำหรับไลบรารีแผนภูมิ / กราฟกราฟ MPAndroidChart / GitHub: https://github.com/PhilJay/MPAndroidChart
แอพนี้โชว์ผลงาน (MPAndroidChart) แอพนี้ออกแบบมาเพื่อสร้างภาพที่สวยงาม
คุณสมบัติหลักของห้องสมุดรวมถึง:
- แผนภูมิชนิดต่าง ๆ มากมาย: LineChart, BarChart (แนวตั้ง, แนวนอน, เรียงซ้อน, จัดกลุ่ม), PieChart, ScatterChart, CandleStickChart (สำหรับข้อมูลทางการเงิน), RadarChart (แผนภูมิเว็บแมงมุม), BubbleChart
- แผนภูมิรวม (เช่นเส้นและแท่งในหนึ่งเดียว)
- การปรับสเกลบนทั้งสองแกน (พร้อมท่าทางสัมผัส, แกนแยกหรือซูมแบบหยิก)
- การลาก / การแพน (ด้วยท่าทางสัมผัส)
- แยกแกน y (คู่)
- การเน้นค่า (พร้อมมุมมองป๊อปอัปที่ปรับแต่งได้)
- บันทึกแผนภูมิลงใน SD-Card (ตามรูป)
- เทมเพลตสีที่กำหนดไว้ล่วงหน้า
- ตำนาน (สร้างโดยอัตโนมัติปรับแต่งได้)
- แกนที่ปรับแต่งได้ (ทั้งแกน x และแกน y)
- แอนิเมชัน (สร้างภาพเคลื่อนไหวทั้งในแกน x และแกน y)
- ขีด จำกัด บรรทัด (ให้ข้อมูลเพิ่มเติมจำนวนสูงสุด ... )
- ผู้ฟังสำหรับการโทรกลับการสัมผัสท่าทางและการเลือก
- ปรับแต่งได้อย่างเต็มที่ (สี, แบบอักษร, ตำนาน, สี, พื้นหลัง, เส้นประ, ... )
- การสนับสนุนฐานข้อมูลมือถือ Realm.io ผ่านห้องสมุด MPAndroidChart-Realm
- เรนเดอร์ที่ราบรื่นสำหรับจุดข้อมูลสูงถึง 10,000 จุดใน Line- และ BarChart (ทดสอบบน OnePlus One ที่ใช้ Android 6.0)
- น้ำหนักเบา (นับวิธี ~ 1.4K)
- ใช้ได้ในฐานะการพึ่งพา gradle และผ่าน Maven
- ใช้กันอย่างแพร่หลายรองรับทั้ง GitHub และ stackoverflow - mpandroidchart
- นอกจากนี้ยังมีให้สำหรับ iOS: แผนภูมิ (API ทำงานในลักษณะเดียวกัน)
- นอกจากนี้ยังมีสำหรับ Xamarin: MPAndroidChart.Xamarin
โครงการนี้มีวัตถุประสงค์เพื่อแสดงคุณสมบัติของห้องสมุดและกระตุ้นให้นักพัฒนาใช้ประโยชน์จากมัน นี่ไม่ใช่แอปในการสร้างแผนภูมิ