Skip to content

A Godot Engine addon for plotting general purpose charts. A collection of Control, 2D and 3D Nodes to plot every chart possible.

License

Notifications You must be signed in to change notification settings

fenix-hub/godot-engine.easy-charts

Charts for Godot Engine, made easy.

Note Looking for 3.x version? 👉 3.x

How does it work?

First, check out our documentation! You can also find practical examples in addons/easy_charts/examples/.

Available Charts and when to use them

This library offers a set of charts for each main Godot Node:

  • control Control Charts: Fast Charts plotted in a Control Node. They offer basic Control properties, such as Margins, size inheritance and control. No animations, best suited for UIs that rely on Control Node structures.
  • 2D Charts: plotted in 2D Nodes. They offer additional tools, such as animations. They can be used to implement more aesthetic charts in 2D contexts. Compatibility not guaranteed in Canvas and Control nodes.
  • 3D Charts: Plotted using 3D nodes, but can be used both in 2D and 3D spaces. They offer the possibility to plot 3D datasets, which are common in machine learning contexts or just data analysis. A Camera Control will also be available, which can be used to move around the chart.

Available Charts

Control 2D 3D
ScatterChart
LineChart
BarChart
AreaChart
PieChart
RadarChart
BubbleChart
DonutChart
ParliamentChart
SunburstChart

Some Examples

Realtime LineChart

example_LineChart_realtime

Realtime PieChart

example_Piechart

RadarChart

exampleradar

ScatterChart

example01

Composite Chart

example03

Multiplot

example03

Some references for charts and plots

Flourish
Chart.js
Google Charts plotly matplotlib

Warning This addon was built for a personal use intention. It was released as an open source plugin in the hope that it could be useful to the Godot Engine Community. As a "work in progress" project, there is no warranty for any eventual issue and bug that may broke your project.
I don't assume any responsibility for possible corruptions of your project. It is always advisable to keep a copy of your project and check any changes you make in your Github repository.

Development

Plugin

To develop the plugin, simply open checkout the repository and open it as a project in Godot.

Documentation

Documentation can be found in ./docs. It is written via MkDocs, a python tool.

For building them locally, you have to have python installed. If you have mise installed, run mise install to install python and auto-create a virtual env. Install MkDocs via pip install -r requirements.txt.

Run mkdocs serve to run a server hosting the documentation locally.

About

A Godot Engine addon for plotting general purpose charts. A collection of Control, 2D and 3D Nodes to plot every chart possible.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 16