{"id":16287310,"url":"https://github.com/sumrix/consoleplot","last_synced_at":"2025-04-09T22:15:21.197Z","repository":{"id":257820800,"uuid":"868246038","full_name":"Sumrix/ConsolePlot","owner":"Sumrix","description":"ConsolePlot is a .NET library for creating customizable line charts in the console.","archived":false,"fork":false,"pushed_at":"2024-10-13T20:17:35.000Z","size":78,"stargazers_count":42,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T22:15:11.496Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sumrix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2024-10-05T21:21:58.000Z","updated_at":"2025-03-31T16:26:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"750541e3-e3bd-4454-a00e-24000c07877e","html_url":"https://github.com/Sumrix/ConsolePlot","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"400ef430bd4f1e66fba2886a3a94433b6a4bf10a"},"previous_names":["sumrix/consoleplot"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumrix%2FConsolePlot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumrix%2FConsolePlot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumrix%2FConsolePlot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumrix%2FConsolePlot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sumrix","download_url":"https://codeload.github.com/Sumrix/ConsolePlot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119290,"owners_count":21050755,"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":[],"created_at":"2024-10-10T19:44:48.763Z","updated_at":"2025-04-09T22:15:21.140Z","avatar_url":"https://github.com/Sumrix.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# ![Icon](images/icon_32x32.png) ConsolePlot\n\nConsolePlot is a .NET library for creating customizable line charts in the console.\n\nComplete documentation is available at the [API documentation](docs/API.md).\n\n[![Latest version](https://img.shields.io/nuget/v/ConsolePlot.svg)](https://www.nuget.org/packages/ConsolePlot)\n\n## Quick Start\n\nTo use ConsolePlot, first install the [NuGet Package](https://www.nuget.org/packages/ConsolePlot):\n\n```sh\ndotnet add package ConsolePlot\n```\n\nHere's a simple example to get you started:\n\n```csharp\nusing ConsolePlot;\n\nConsole.OutputEncoding = System.Text.Encoding.UTF8;\n\ndouble[] xs = [1, 2, 3, 4, 5];\ndouble[] ys = [1, 4, 9, 16, 25];\n\nPlot plt = new Plot(80, 22);\nplt.AddSeries(xs, ys);\nplt.Draw();\nplt.Render();\n```\n\nThis will create a simple plot in your console:\n\n\u003cimg src=\"images/quickstart_console.png\" alt=\"Simple Plot\" width=\"600\"\u003e\n\n## Features\n\n- Customizable axis, grid, ticks and chart lines.\n- Support for multiple data series.\n- Adaptive scaling: automatically adjusts the plot to fit the console window, ensuring round axis labels, optimal tick placement, and alignment with console cells.\n\n## Examples\n\nYou can find various usage examples in the [ConsolePlot.Examples](src/ConsolePlot.Examples) project.\n\n### Running Examples in Visual Studio:\n1. Clone this repository by clicking \"Open with Visual Studio\" on the GitHub page.\n2. Open the solution and set `ConsolePlot.Examples` as the startup project.\n3. Run the project.\n\n### Running Examples from the Command Line:\n```sh\ngit clone https://github.com/sumrix/ConsolePlot.git\ncd ./ConsolePlot/src\ndotnet build\ndotnet run --project ConsolePlot.Examples\n```\n\n## Contributing\n\nBug reports and contributions are welcome. Please submit them via the [Issues](https://github.com/Sumrix/ConsolePlot/issues) or [Pull Requests](https://github.com/Sumrix/ConsolePlot/pulls).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumrix%2Fconsoleplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumrix%2Fconsoleplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumrix%2Fconsoleplot/lists"}