Metadata-Version: 2.4
Name: nicecharts
Version: 1.1.1
Summary: Python library for generating fan, line, and pie charts as SVG or PNG.
Author-email: Lâm <tvhlam2k13@gmail.com>
License: Custom License - Permission required for modification and redistribution
License-File: LICENSE
Keywords: PNG,SVG,charts,fan chart,line chart,pie chart
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Dist: cairosvg>=2.6.0
Requires-Dist: pillow>=10.0.0
Description-Content-Type: text/markdown

# README.md
# NiceCharts v1.0

**NiceCharts** là thư viện Python đơn giản giúp bạn tạo các loại biểu đồ: fan chart, line chart, và pie chart, xuất ra định dạng SVG hoặc PNG.

## 🔹 Tính năng
- Tạo **Fan Chart** (180° hoặc 360° – Pie chart)
- Tạo **Line Chart** với các điểm, nhãn trục, tiêu đề
- Xuất trực tiếp ra **SVG** hoặc **PNG**
- Màu sắc và nhãn tùy chỉnh
- Module nhẹ, dễ sử dụng, không phụ thuộc matplotlib

## 🔹 Cài đặt
```bash
pip install Pillow cairosvg
# Hoặc sau khi upload PyPI:
pip install nicecharts
```

## 🔹 Sử dụng cơ bản
```python
from nicecharts import fan_chart, line_chart, pie_chart

# Fan chart
fan_chart([30, 20, 50], labels=["A","B","C"], title="Fan Demo", outfile="fan.svg")

# Line chart
line_chart([1,2,3,4], [10,20,15,25], title="Line Demo", outfile="line.svg")

# Pie chart (full circle)
pie_chart([40,60], labels=["X","Y"], title="Pie Demo", outfile="pie.svg")
```

## 🔹 License
**MIT License**: Mọi người được phép sử dụng thư viện để học tập và cá nhân.

## 🔹 Liên hệ
GitHub: [https://github.com/Akaza-12345/nicecharts](https://github.com/Akaza-12345/nicecharts)
Email: [tvhlam2k13@gmail.com](tvhlam2k13@gmail.com)