{"id":17041610,"url":"https://github.com/varon/glgraph","last_synced_at":"2025-04-12T14:33:14.630Z","repository":{"id":45225114,"uuid":"340848254","full_name":"varon/GLGraph","owner":"varon","description":"The fastest free real-time C# graphs and charts for WPF or natively using OpenGL. Better than LiveCharts, freer than SciChart.","archived":false,"fork":false,"pushed_at":"2021-03-04T10:58:14.000Z","size":5790,"stargazers_count":159,"open_issues_count":0,"forks_count":24,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-26T09:11:07.105Z","etag":null,"topics":["chart","graph","network-graph","opengl","realtime","wpf"],"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/varon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-21T07:59:09.000Z","updated_at":"2025-03-02T11:12:24.000Z","dependencies_parsed_at":"2022-09-03T03:14:00.392Z","dependency_job_id":null,"html_url":"https://github.com/varon/GLGraph","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varon%2FGLGraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varon%2FGLGraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varon%2FGLGraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varon%2FGLGraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/varon","download_url":"https://codeload.github.com/varon/GLGraph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248581361,"owners_count":21128155,"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","graph","network-graph","opengl","realtime","wpf"],"created_at":"2024-10-14T09:12:54.309Z","updated_at":"2025-04-12T14:33:14.602Z","avatar_url":"https://github.com/varon.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Fast, simple charting for .NET (WPF or standalone)\n\nGLGraphs is a real-time graphing/charting/data visualization library for .NET that runs standalone or integrated into WPF.\n\n\n![Image](screenshot.gif)\n\nThe API is easily discoverable and simple to work with.\n\n```c#\n// Create a new graph with strings as the point values.\nvar graph = new CartesianGraph\u003cstring\u003e();\n// Add a series:\nvar series = graph.state.AddSeries(SeriesType.Point, \"Example Series\");\n// Add some points:\nseries.Add(\"Origin\", 0, 0);\nseries.Add(\"Destination\", 2.5f, 5.0f);\n```\n\nTo Render the graph, you need an OpenGL context. Either use `GLWpfControl` or simply the native windowing.\n\n```c#\n// update the state and render the graph\ngraph.State.Update(deltaTime)\ngraph.Render()\n```\n\nFor more info, see the [Examples](src/Examples).\n\n## Features\n\n- Line Plots\n- Scatter XY Plots\n- Network Graph view\n- Dynamic Axes\n- Animations\n- Interactivity (selection/drag selection)\n- Tooltips\n- Camera control (zoom/pan)\n- WPF integration\n  \n\n## Planned Improvements\n\n- Smooth graph scaling on point addition\n- Better text handling \n- Additional integrations\n\n\n## Something is not working\n\nOh no, it looks like you should have bought [SciChart](https://www.scichart.com/) instead!\n\nGLGraph is a community-run project. If something is broken you'll need to fix it yourself.\n\nThankfully the code is simple, clean and easy to work with, and there's hopefully soon to be a budding community of people using this library.\n\nDrop by the OpenTK Discord and ping [@varon](https://github.com/varon) in the #general channel for some info.\n\n\n[![Discord](https://discordapp.com/api/guilds/337627185248468993/widget.png)](https://discord.gg/6HqD48s)\n\n\n\n\n## FAQ\n\n\n### Why not use LiveCharts?\n\n- It's slow. Even with the paid-for geared package.\n- The codebase is a mess.\n- The maintainer is AWOL.\n\n### Is there animation?\n\n Yes, everything is animated.\n\n### How fast is it?\n\nWay, way faster than LiveCharts.\n\nEasily 10 million points with full camera animation at 60fps.\n\n\n### How did you get this so fast?\n\nSimplicity and performance are the primary goals of the library.\n\nNo MVVM is used, and the code is clean, fast and simple.\n\nAll rendering is hardware accelerated by OpenGL via [OpenTK](https://github.com/opentk/opentk/).\n\n\n### Can you support 'X' UI framework (Avalonia, etc)?\n\nThis should be fairly easy to do. More or less create a control on that framework that can display OpenGL, make the right calls and you're good to go.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaron%2Fglgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaron%2Fglgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaron%2Fglgraph/lists"}