{"id":18717185,"url":"https://github.com/akascape/ctkradarchart","last_synced_at":"2025-04-12T13:32:04.640Z","repository":{"id":236283098,"uuid":"792266478","full_name":"Akascape/CTkRadarChart","owner":"Akascape","description":"A widget for customtkinter to display radar charts.","archived":false,"fork":false,"pushed_at":"2024-04-26T11:43:08.000Z","size":37,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-21T03:35:37.327Z","etag":null,"topics":["chart","customtkinter","customtkinter-widgets","python3","radar-chart","radarchart","tkinter","tkinter-graphic-interface","tkinter-gui"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Akascape.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"akascape"}},"created_at":"2024-04-26T10:09:27.000Z","updated_at":"2024-05-09T14:13:21.000Z","dependencies_parsed_at":"2024-04-26T12:49:33.769Z","dependency_job_id":null,"html_url":"https://github.com/Akascape/CTkRadarChart","commit_stats":null,"previous_names":["akascape/ctkradarchart"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akascape%2FCTkRadarChart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akascape%2FCTkRadarChart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akascape%2FCTkRadarChart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akascape%2FCTkRadarChart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akascape","download_url":"https://codeload.github.com/Akascape/CTkRadarChart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223518405,"owners_count":17158690,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chart","customtkinter","customtkinter-widgets","python3","radar-chart","radarchart","tkinter","tkinter-graphic-interface","tkinter-gui"],"created_at":"2024-11-07T13:15:14.159Z","updated_at":"2024-11-07T13:15:14.759Z","avatar_url":"https://github.com/Akascape.png","language":"Python","funding_links":["https://ko-fi.com/akascape"],"categories":[],"sub_categories":[],"readme":"# CTkRadarChart\nA simple widget for customtkinter to display radar chart, made with tkinter canvas. Fully custimasable widget, with resizability and theme colors.\n![screenshot](https://github.com/Akascape/CTkRadarChart/assets/89206401/0d3ecda5-f73d-4d27-b7d7-817cf42905ec)\n\n**What is a radar chart?**\n\nA radar chart, also known as a spider chart, web chart, is a graphical method used to display multivariate data. It consists of a sequence of equi-angular spokes, with each spoke representing one of the variables. The data length of a spoke is proportional to the magnitude of the variable for the data point relative to the maximum magnitude of the variable across all data points.\n\n## Installation\n### [\u003cimg alt=\"GitHub repo size\" src=\"https://img.shields.io/github/repo-size/Akascape/CTkRadarChart?\u0026color=white\u0026label=Download%20Source%20Code\u0026logo=Python\u0026logoColor=yellow\u0026style=for-the-badge\"  width=\"400\"\u003e](https://github.com/Akascape/CTkRadarChart/archive/refs/heads/main.zip)\n\nDownload the source code, paste the `CTkRadarChart` folder in the directory where your program is present.\n\n## Usage\n```python\nimport customtkinter\nfrom CTkRadarChart import *\n\nroot = customtkinter.CTk()\n\n# Some labels that are shown at each axis\nlabels = ['Speed', 'Reliability', 'Comfort', 'Safety', 'Efficiency', 'Capacity']\n\n# Create the RadarChart instance\nchart = CTkRadarChart(root, labels=labels)\nchart.pack(fill=\"both\", expand=True)\n\n# Add new data\nchart.add_data(\"A\", [90, 70, 90, 75, 60, 80])\nchart.add_data(\"B\", [60, 80, 70, 85, 75, 90])\n\nroot.mainloop()\n```\n\n_Note: data should be in a list, maximum value: 100, minimum value: 0_\n\n## Arguments\n| Parameters | Details |\n|--------|----------|\n| master\t| root window, can be _CTk_ or _CTkFrame_|\n| radius | the initial size of the radar chart |\n| num_axes | number of axes in the chart |\n| radial_lines | number of grid lines inside the chart |\n| border_width | size of the data lines |\n| fg_color | color of the background chart lines |\n| bg_color | background color of the widget |\n| text_color | color of the label text |\n| labels | text shown at each axes |\n| padding | adjust space inside the widget |\n| font | font of the text labels |\n\n## Methods\n- **.add_data(tag, data, color, fill)**: adds new data line in the chart, **tag**: data line name; **data**: list of values; **color**: color of line (optional, choses color randomly by default), **fill**: add color in the polygon (optional, true by default)\n- **.delete_data(tag)**: delete a line from the chart\n- **.update_data(tag, *args)**: update any tag data\n- **.get(tag)**: return data and color of the chart, tag is optional\n- **.configure(*args)**: change parameters of the radar chart\n- **.cget(parameter)**: return the required parameter from the chart\n\nFollow me for more stuff like this: [`Akascape`](https://github.com/Akascape/)\n### That's all, hope it will help!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakascape%2Fctkradarchart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakascape%2Fctkradarchart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakascape%2Fctkradarchart/lists"}