Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Thisal-D committed Jan 31, 2024
1 parent 5dd012b commit 6062bc0
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@

<div align="center"><h1> tkchart </h1> </div>

<div align="center">
<img src="https://drive.google.com/uc?export=view&id=16Y00GIKEpmC4t3gAlUv7IJutE4yzFszo">
<img src="https://drive.google.com/uc?export=view&id=1kMVifs_1oLZPyQkX4mHGyPWThbqj8nNU">
</div>


### <li>tkchart Library is a Python library that simplifies the process of creating line charts in tkinter and customtkinter GUI applications.</li>

## Examples
Expand All @@ -15,7 +17,7 @@

## tkchart - 1.2.0

### you need to install & import package first
### You need to install & import package first
* installation
* ```
pip install tkchart
Expand All @@ -25,18 +27,18 @@
* ```
import tkchart
```

## objects
* LineChart
* Line

## To display data using LineChart you need to do 3 main tasks
1. Create LineChart
2. Create Line
3. Display data
1. Creating a LineChart
2. Creating a Line
3. Display of data
<br>

# 1 . Create LineChart
# 1 . Creating a LineChart

```
linechart = tkchart.LineChart()
Expand Down Expand Up @@ -156,6 +158,8 @@ linechart = tkchart.LineChart()
- line : ``tkchart.Line``
- state : ``bool``



```
linechart = tkchart.LineChart(master=root,
width=800,
Expand Down Expand Up @@ -342,11 +346,12 @@ linechart.pack()
```
<div align="center"><img src="https://drive.google.com/uc?export=view&id=1kNoJalW6aLx79wxcmrUaAS_D8XsldL3h"></div>


<br>
<hr>
<br>

# 2 . Create Line
# 2 . Creating a Line

```
line = tkchart.Line()
Expand Down Expand Up @@ -389,7 +394,7 @@ line = tkchart.Line(master=linechart,
<hr>
<br>

# 3 . Display Data
# 3 . Display of Data
```
import customtkinter
import tkchart
Expand Down

0 comments on commit 6062bc0

Please sign in to comment.