-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
2,447 additions
and
536 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import ctkchart | ||
import customtkinter as ctk | ||
|
||
|
||
|
||
|
||
tk = ctk.CTk() | ||
tk.configure(bg="#ffffff") | ||
tk.geometry("600+300") | ||
|
||
chart = ctkchart.CTkLineChart(master=tk, x_axis_values=(2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025), | ||
y_axis_values=(-100, 100), bg_color=("#eeeeee", "#191919"),fg_color=("#eeeeee", "#191919") , axis_color=("#909090", "#2C2C2C")) | ||
chart.pack() | ||
|
||
line = ctkchart.CTkLine(master=chart) | ||
|
||
chart.show_data(line=line, data=[0,-100,10,90,-10,76,20,-54,100]) | ||
|
||
tk.mainloop() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import ctkchart | ||
import customtkinter as ctk | ||
|
||
|
||
tk = ctk.CTk() | ||
tk.configure(bg="#ffffff") | ||
tk.geometry("600+300") | ||
|
||
chart = ctkchart.CTkLineChart(master=tk, x_axis_values=tuple([x for x in range(2018,2026,1)]), | ||
y_axis_values=(-100, 100), bg_color=("#eeeeee", "#191919"),fg_color=("#eeeeee", "#191919") , axis_color=("#909090", "#2C2C2C") | ||
|
||
) | ||
|
||
chart.pack() | ||
|
||
line = ctkchart.CTkLine(master=chart, size=5, color="#30acc7") | ||
import random | ||
|
||
chart.show_data(line=line, data=[0,-100,10,90,-10,76,20,-54,100]) | ||
|
||
|
||
tk.mainloop() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import ctkchart | ||
import customtkinter as ctk | ||
|
||
|
||
tk = ctk.CTk() | ||
tk.configure(bg="#ffffff") | ||
tk.geometry("600+300") | ||
|
||
chart = ctkchart.CTkLineChart(master=tk, x_axis_values=tuple([x for x in range(2018,2026,1)]), | ||
y_axis_values=(-100, 100), bg_color=("#eeeeee", "#191919"),fg_color=("#eeeeee", "#191919") , axis_color=("#909090", "#2C2C2C") | ||
|
||
) | ||
|
||
chart.pack() | ||
|
||
line = ctkchart.CTkLine(master=chart, size=3, style="dashed", style_type=(20,10)) | ||
line2 = ctkchart.CTkLine(master=chart, size=3, style="normal", style_type=(20,10)) | ||
line3 = ctkchart.CTkLine(master=chart, size=3, style="dotted", style_type=(8,10)) | ||
|
||
|
||
import random | ||
|
||
chart.show_data(line=line3, data=[-30]*10) | ||
chart.show_data(line=line, data=[20]*10) | ||
chart.show_data(line=line2, data=[80]*10) | ||
|
||
|
||
tk.mainloop() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import ctkchart | ||
import customtkinter as ctk | ||
|
||
|
||
tk = ctk.CTk() | ||
tk.configure(bg="#ffffff") | ||
tk.geometry("600+300") | ||
|
||
chart = ctkchart.CTkLineChart(master=tk, x_axis_values=tuple([x for x in range(2018,2026,1)]), | ||
y_axis_values=(-100, 100), bg_color=("#eeeeee", "#191919"),fg_color=("#eeeeee", "#191919") , axis_color=("#909090", "#2C2C2C") | ||
|
||
) | ||
|
||
chart.pack() | ||
|
||
line = ctkchart.CTkLine(master=chart, size=3, style="dashed", style_type=(10,2)) | ||
line2 = ctkchart.CTkLine(master=chart, size=3, style="dashed", style_type=(6,20)) | ||
line3 = ctkchart.CTkLine(master=chart, size=3, style="dotted", style_type=(6,3)) | ||
line4 = ctkchart.CTkLine(master=chart, size=3, style="dotted", style_type=(3,6)) | ||
|
||
|
||
|
||
import random | ||
|
||
chart.show_data(line=line, data=[90]*10) | ||
chart.show_data(line=line2, data=[40]*10) | ||
chart.show_data(line=line3, data=[0]*10) | ||
chart.show_data(line=line4, data=[-40]*10) | ||
|
||
|
||
tk.mainloop() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import ctkchart | ||
import customtkinter as ctk | ||
|
||
|
||
tk = ctk.CTk() | ||
tk.configure(bg="#ffffff") | ||
tk.geometry("600+300") | ||
|
||
chart = ctkchart.CTkLineChart(master=tk, x_axis_values=tuple([x for x in range(2018,2026,1)]), | ||
y_axis_values=(-100, 100), bg_color=("#eeeeee", "#191919"),fg_color=("#eeeeee", "#191919") , axis_color=("#909090", "#2C2C2C") | ||
|
||
) | ||
|
||
chart.pack() | ||
|
||
line = ctkchart.CTkLine(master=chart, style="normal" ,point_highlight="enabled", point_highlight_color="#80ccff", point_highlight_size=8) | ||
|
||
|
||
|
||
chart.show_data(line=line, data=[0,-100,10,90,-10,76,20,-54,100]) | ||
|
||
|
||
|
||
tk.mainloop() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import ctkchart | ||
import customtkinter as ctk | ||
|
||
|
||
tk = ctk.CTk() | ||
tk.configure(bg="#ffffff") | ||
tk.geometry("600+300") | ||
|
||
chart = ctkchart.CTkLineChart(master=tk, x_axis_values=tuple([x for x in range(2018,2026,1)]), | ||
y_axis_values=(-100, 100), bg_color=("#eeeeee", "#191919"),fg_color=("#eeeeee", "#191919") , axis_color=("#909090", "#2C2C2C") | ||
,x_axis_data="123\n246\n8",y_axis_data="2\n123123\n234\n32423n",x_axis_data_position="top", y_axis_data_position="top" | ||
) | ||
|
||
chart.pack() | ||
|
||
line = ctkchart.CTkLine(master=chart, size=3, style="normal" , fill="enabled", fill_color="#bdc6ed") | ||
|
||
|
||
|
||
chart.show_data(line=line, data=[0,-100,10,90,-10,76,20,-54,100]) | ||
|
||
|
||
|
||
tk.mainloop() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import ctkchart | ||
import customtkinter as ctk | ||
|
||
|
||
|
||
|
||
tk = ctk.CTk() | ||
tk.configure(bg="#ffffff") | ||
tk.geometry("600+300") | ||
|
||
chart = ctkchart.CTkLineChart(master=tk, x_axis_values=(2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025), | ||
y_axis_values=(-100, 100), bg_color=("#eeeeee", "#191919"),fg_color=("#eeeeee", "#191919") , axis_color=("#909090", "#2C2C2C"), | ||
y_axis_data="Y data" , y_axis_data_font_color=("#00ff00", "#00ff00"), x_axis_data_font_color=("#ff0000", "#ff0000"), | ||
x_axis_data="X data", | ||
data_font_style=("arial", 15, "underline")) | ||
chart.pack() | ||
|
||
line = ctkchart.CTkLine(master=chart) | ||
|
||
chart.show_data(line=line, data=[0,-100,10,90,-10,76,20,-54,100]) | ||
|
||
tk.mainloop() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import ctkchart | ||
import customtkinter as ctk | ||
|
||
|
||
|
||
|
||
tk = ctk.CTk() | ||
tk.configure(bg="#ffffff") | ||
tk.geometry("600+300") | ||
|
||
chart = ctkchart.CTkLineChart(master=tk, x_axis_values=tuple([x for x in range(2001,2016,1)]), | ||
y_axis_values=(-100, 100), bg_color=("#eeeeee", "#191919"),fg_color=("#eeeeee", "#191919") , axis_color=("#909090", "#2C2C2C"), | ||
#y_axis_data="Y data" , y_axis_data_font_color=("#00ff00", "#00ff00"), x_axis_data_font_color=("#ff0000", "#ff0000"), | ||
#x_axis_data="X data", | ||
#data_font_style=("arial", 15, "underline") | ||
x_axis_label_count=10, y_axis_label_count=4, y_axis_section_count=4, | ||
) | ||
chart.pack() | ||
|
||
line = ctkchart.CTkLine(master=chart) | ||
|
||
chart.show_data(line=line, data=[0,-100,10,90,-10,76,20,-54,100]) | ||
|
||
tk.mainloop() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import ctkchart | ||
import customtkinter as ctk | ||
|
||
|
||
|
||
|
||
tk = ctk.CTk() | ||
tk.configure(bg="#ffffff") | ||
tk.geometry("600+300") | ||
|
||
chart = ctkchart.CTkLineChart(master=tk, x_axis_values=tuple([x for x in range(2018,2026,1)]), | ||
y_axis_values=(-100, 100), bg_color=("#eeeeee", "#191919"),fg_color=("#eeeeee", "#191919") , axis_color=("#909090", "#2C2C2C"), | ||
#y_axis_data="Y data" , y_axis_data_font_color=("#00ff00", "#00ff00"), x_axis_data_font_color=("#ff0000", "#ff0000"), | ||
#x_axis_data="X data", | ||
#data_font_style=("arial", 15, "underline") | ||
x_axis_display_values_indices=(1, 4 ,7) | ||
) | ||
chart.pack() | ||
|
||
line = ctkchart.CTkLine(master=chart) | ||
|
||
chart.show_data(line=line, data=[0,-100,10,90,-10,76,20,-54,100]) | ||
|
||
tk.mainloop() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import ctkchart | ||
import customtkinter as ctk | ||
|
||
|
||
|
||
|
||
tk = ctk.CTk() | ||
tk.configure(bg="#ffffff") | ||
tk.geometry("600+300") | ||
|
||
chart = ctkchart.CTkLineChart(master=tk, x_axis_values=tuple([x for x in range(2018,2026,1)]), | ||
y_axis_values=(-100, 100), bg_color=("#eeeeee", "#191919"),fg_color=("#eeeeee", "#191919") , axis_color=("#909090", "#2C2C2C"), | ||
#y_axis_data="Y data" , y_axis_data_font_color=("#00ff00", "#00ff00"), x_axis_data_font_color=("#ff0000", "#ff0000"), | ||
#x_axis_data="X data", | ||
#data_font_style=("arial", 15, "underline") | ||
x_axis_data_position="side", | ||
y_axis_data_position="top", | ||
|
||
) | ||
chart.pack() | ||
|
||
line = ctkchart.CTkLine(master=chart) | ||
|
||
chart.show_data(line=line, data=[0,-100,10,90,-10,76,20,-54,100]) | ||
|
||
tk.mainloop() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import ctkchart | ||
import customtkinter as ctk | ||
|
||
|
||
|
||
|
||
tk = ctk.CTk() | ||
tk.configure(bg="#ffffff") | ||
tk.geometry("600+300") | ||
|
||
chart = ctkchart.CTkLineChart(master=tk, x_axis_values=tuple([x for x in range(2018,2026,1)]), | ||
y_axis_values=(-100, 100), bg_color=("#eeeeee", "#191919"),fg_color=("#eeeeee", "#191919") , axis_color=("#909090", "#2C2C2C"), | ||
#y_axis_data="Y data" , y_axis_data_font_color=("#00ff00", "#00ff00"), x_axis_data_font_color=("#ff0000", "#ff0000"), | ||
#x_axis_data="X data", | ||
#data_font_style=("arial", 15, "underline") | ||
x_axis_font_color=("#ff0000", "#ff0000"), | ||
y_axis_font_color=("#00ff00","#00ff00"), | ||
axis_font_style=("arial",13,"bold") | ||
) | ||
chart.pack() | ||
|
||
line = ctkchart.CTkLine(master=chart) | ||
|
||
chart.show_data(line=line, data=[0,-100,10,90,-10,76,20,-54,100]) | ||
|
||
tk.mainloop() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import ctkchart | ||
import customtkinter as ctk | ||
|
||
|
||
|
||
|
||
tk = ctk.CTk() | ||
tk.configure(bg="#ffffff") | ||
tk.geometry("600+300") | ||
|
||
chart = ctkchart.CTkLineChart(master=tk, x_axis_values=tuple([x for x in range(2018,2026,1)]), | ||
y_axis_values=(-100, 100), bg_color=("#eeeeee", "#191919"),fg_color=("#eeeeee", "#191919") , axis_color=("#909090", "#2C2C2C"), | ||
#y_axis_data="Y data" , y_axis_data_font_color=("#00ff00", "#00ff00"), x_axis_data_font_color=("#ff0000", "#ff0000"), | ||
#x_axis_data="X data", | ||
#data_font_style=("arial", 15, "underline") | ||
y_axis_label_count=12, | ||
y_axis_precision=4, | ||
) | ||
|
||
chart.pack() | ||
|
||
line = ctkchart.CTkLine(master=chart) | ||
|
||
chart.show_data(line=line, data=[0,-100,10,90,-10,76,20,-54,100]) | ||
|
||
tk.mainloop() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import ctkchart | ||
import customtkinter as ctk | ||
|
||
|
||
tk = ctk.CTk() | ||
tk.configure(bg="#ffffff") | ||
tk.geometry("600+300") | ||
|
||
chart = ctkchart.CTkLineChart(master=tk, x_axis_values=tuple([x for x in range(2018,2026,1)]), | ||
y_axis_values=(-100, 100), bg_color=("#eeeeee", "#191919"),fg_color=("#eeeeee", "#191919") , axis_color=("#909090", "#2C2C2C"), | ||
y_axis_section_color=("#aaaaaa","#2c2c2c"), | ||
x_axis_section_color=("#aaaaaa","#2c2c2c"), | ||
|
||
|
||
y_axis_label_count=5, | ||
y_axis_section_count=5, | ||
x_axis_section_count=8, | ||
|
||
) | ||
|
||
chart.pack() | ||
|
||
line = ctkchart.CTkLine(master=chart) | ||
import random | ||
|
||
chart.show_data(line=line, data=[0,-100,10,90,-10,76,20,-54,100]) | ||
|
||
|
||
tk.mainloop() |
Oops, something went wrong.