Giter Club home page Giter Club logo

glgraph's Introduction

Fast, simple charting for .NET (WPF or standalone)

GLGraphs is a real-time graphing/charting/data visualization library for .NET that runs standalone or integrated into WPF.

Image

The API is easily discoverable and simple to work with.

// Create a new graph with strings as the point values.
var graph = new CartesianGraph<string>();
// Add a series:
var series = graph.state.AddSeries(SeriesType.Point, "Example Series");
// Add some points:
series.Add("Origin", 0, 0);
series.Add("Destination", 2.5f, 5.0f);

To Render the graph, you need an OpenGL context. Either use GLWpfControl or simply the native windowing.

// update the state and render the graph
graph.State.Update(deltaTime)
graph.Render()

For more info, see the Examples.

Features

  • Line Plots
  • Scatter XY Plots
  • Network Graph view
  • Dynamic Axes
  • Animations
  • Interactivity (selection/drag selection)
  • Tooltips
  • Camera control (zoom/pan)
  • WPF integration

Planned Improvements

  • Smooth graph scaling on point addition
  • Better text handling
  • Additional integrations

Something is not working

Oh no, it looks like you should have bought SciChart instead!

GLGraph is a community-run project. If something is broken you'll need to fix it yourself.

Thankfully 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.

Drop by the OpenTK Discord and ping @varon in the #general channel for some info.

Discord

FAQ

Why not use LiveCharts?

  • It's slow. Even with the paid-for geared package.
  • The codebase is a mess.
  • The maintainer is AWOL.

Is there animation?

Yes, everything is animated.

How fast is it?

Way, way faster than LiveCharts.

Easily 10 million points with full camera animation at 60fps.

How did you get this so fast?

Simplicity and performance are the primary goals of the library.

No MVVM is used, and the code is clean, fast and simple.

All rendering is hardware accelerated by OpenGL via OpenTK.

Can you support 'X' UI framework (Avalonia, etc)?

This 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.

glgraph's People

Contributors

varon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.