mirror of
https://github.com/Relintai/pandemonium_engine_easy_charts.git
synced 2024-12-23 13:57:01 +01:00
finish 1st refactoring
This commit is contained in:
parent
e2651f2fce
commit
d590262dbc
76
README.md.bak
Normal file
76
README.md.bak
Normal file
@ -0,0 +1,76 @@
|
||||
# Notice, plugin under refactoring
|
||||
**This plugin is under refactoring an maintenance. The next official release will contain multiple updates and upgrades.**\
|
||||
**If you encounter any bug, please contact me on Discord.**
|
||||
|
||||
|
||||
<img src="addons/easy_charts/icon.png" align="left" width="64" height="64">
|
||||
|
||||
# Easy Charts
|
||||
A library of Charts plotted in Control, 2D and 3D nodes to visualize general purpose datasets.
|
||||
Author: *"Nicolo (fenix) Santilio"*
|
||||
Version: *0.6.0*
|
||||
Wiki: *[wip](https://github.com/fenix-hub/godot-engine.easy-charts/wiki)*
|
||||
Godot Version: *3.2stable*
|
||||
|
||||
## What is this?
|
||||
*Easy Charts* is a collection of Control, 2D and 3D nodes to plot charts.
|
||||
This plugin was born from the personal necessity to plot some charts and tables for my university degree project.
|
||||
Here's an example: ![]()
|
||||
Charts are really useful when it comes to visually represent values in a powerful and more understandable way, mostly when these charts also have visually pleasing features.
|
||||
If you need to plot a chart with some values in it and just take a screenshot, or use it in your Godot Engine's game or project, you've come to the right place.
|
||||
![st](imgs/startup_company2.jpg)
|
||||
[*Startup Company*](https://store.steampowered.com/app/606800/Startup_Company/)
|
||||
![wa](imgs/workplace_analytics.png)
|
||||
[*Microsoft Workplace Analytics*](https://www.microsoft.com/microsoft-365/partners/workplaceanalytics)
|
||||
|
||||
|
||||
## Collaborators
|
||||
A huge thanks to
|
||||
- [Marco](https://github.com/eddex)
|
||||
- [Jorge](https://github.com/JFerrerBeired)
|
||||
For contributing to this project.
|
||||
I cannot pay the free time they spent on this addon with their contribution, but thanks to them for adding new features and refactoring.
|
||||
|
||||
## How does it work?
|
||||
There is a [WIKI](https://github.com/fenix-hub/godot-engine.easy-charts/wiki) with some tutorials, even if it is a work in progress.
|
||||
I'll make some videos as soon as possible.
|
||||
|
||||
# Available Charts and when to use them
|
||||
This library offers a set of charts for each main Godot Node:
|
||||
- **Control Nodes:** "Control Charts" are fast Charts that can be plotted in a Control space, such as UIs or Control user interactable areas. They offer basic Control properties, such as Margins, size inheritance and control. No animations, no real time changes, just charts.
|
||||
- **2D Nodes:** "2D Charts" are a set of Charts which can be Used in 2D spaces. They offer additional tools, such as animations and real time changes in editor. They can be used to implement more aesthetic charts in 2D contexts.
|
||||
- **[wip] 3D Nodes:** "3D Charts" are a set of Charts which can be Used in both 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
|
||||
- LineChart [Control, 2D, wip 3D]
|
||||
- ColumnChart [Control, 2D, wipr 3D]
|
||||
- ScatterChart [wip Control, wip 2D, 3D]
|
||||
- Piechart [Control]
|
||||
- RadarChart [Control]
|
||||
|
||||
### WIP Charts
|
||||
- Area Chart
|
||||
- Donut Chart
|
||||
- Bubble Chart
|
||||
- Parliament Chart
|
||||
|
||||
### Some Examples
|
||||
![example_LineChart_realtime](imgs/real_time_line.gif)
|
||||
![example_Piechart](imgs/pie_chart_realtime.gif)
|
||||
![exampleradar](imgs/radar.png)
|
||||
![example01](imgs/scatter.gif)
|
||||
![example02](imgs/example02.png)
|
||||
![example03](imgs/example03.gif)
|
||||
|
||||
##### Some references for charts and plots
|
||||
[Flourish](https://app.flourish.studio/projects)
|
||||
[Chart.js](https://www.chartjs.org/samples/latest/)
|
||||
[Google Charts](https://developers.google.com/chart)
|
||||
|
||||
# Disclaimer
|
||||
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.
|
||||
-----------------
|
||||
> This text file was created via [TextEditor Integration](https://github.com/fenix-hub/godot-engine.text-editor) inside Godot Engine's Editor.
|
||||
> This text file was pushed via [GitHub Integration](https://github.com/fenix-hub/godot-engine.github-integretion) inside Godot Engine's Editor.
|
10
addons/easy_charts/file.samples/linechart (columns).res
Normal file
10
addons/easy_charts/file.samples/linechart (columns).res
Normal file
@ -0,0 +1,10 @@
|
||||
Year;Column 1;Column 2;Column 3;Column 4
|
||||
2009;36200;27200;26200;17200
|
||||
2010;36600;27800;26600;17800
|
||||
2011;37500;28500;27500;18500
|
||||
2012;38700;29400;28700;19400
|
||||
2013;39600;30200;29600;10200
|
||||
2014;40500;30900;20500;10900
|
||||
2015;41200;31500;21200;11500
|
||||
2016;41803;31931;21803;11931
|
||||
2017;42600;32600;22600;12600
|
10
addons/easy_charts/file.samples/linechart (rows).res
Normal file
10
addons/easy_charts/file.samples/linechart (rows).res
Normal file
@ -0,0 +1,10 @@
|
||||
Year;Column 1;Column 2;Column 3;Column 4
|
||||
2009;36200;27200;26200;17200
|
||||
2010;36600;27800;26600;17800
|
||||
2011;37500;28500;27500;18500
|
||||
2012;38700;29400;28700;19400
|
||||
2013;39600;30200;29600;10200
|
||||
2014;40500;30900;20500;10900
|
||||
2015;41200;31500;21200;11500
|
||||
2016;41803;31931;21803;11931
|
||||
2017;42600;32600;22600;12600
|
8
addons/easy_charts/file.samples/pie.res
Normal file
8
addons/easy_charts/file.samples/pie.res
Normal file
@ -0,0 +1,8 @@
|
||||
Country,Votes
|
||||
United States,46
|
||||
Great Britain,27
|
||||
China,26
|
||||
Russia,19
|
||||
Germany,17
|
||||
Italy,34
|
||||
Sweden,83
|
4
addons/easy_charts/file.samples/radar.res
Normal file
4
addons/easy_charts/file.samples/radar.res
Normal file
@ -0,0 +1,4 @@
|
||||
Eating;Drinking;Running;Sleeping;Coding
|
||||
30;50;40;100;95
|
||||
90;34;100;50;23
|
||||
|
101
addons/easy_charts/file.samples/scatter (columns).res
Normal file
101
addons/easy_charts/file.samples/scatter (columns).res
Normal file
@ -0,0 +1,101 @@
|
||||
x;y1;y2
|
||||
50,05732879;116,61234;90,55501121
|
||||
53,23295081;105,6457011;47,41275029
|
||||
47,28686102;95,61795061;36,33108959
|
||||
53,0250493;106,4552515;85,4302022
|
||||
57,10271278;111,9088163;39,80610352
|
||||
40,71992494;78,27201391;79,55208897
|
||||
55,62752569;122,7859036;94,15837791
|
||||
54,17819455;107,9817124;39,80351785
|
||||
40,8610371;107,92736;61,0663229
|
||||
54,06159551;110,0647495;93,00315399
|
||||
64,35130431;134,5556319;114,2043276
|
||||
49,29181834;88,18806126;64,89624292
|
||||
44,63823505;102,8364528;108,1982178
|
||||
58,62487836;126,0319541;78,40707574
|
||||
55,78566879;95,81224088;75,02657209
|
||||
50,76570445;94,73143882;39,96573437
|
||||
48,45339259;92,86957776;88,41618517
|
||||
49,40446173;70,21723661;9,81277488
|
||||
48,34604978;97,87616091;40,53011113
|
||||
43,62470151;103,7308337;97,10613219
|
||||
50,8877046;117,1558657;62,2681611
|
||||
52,25082012;103,3922334;79,14141328
|
||||
50,35929987;87,68936817;19,3300683
|
||||
46,42761861;90,1655428;67,73792419
|
||||
55,67926036;93,17073084;69,49147048
|
||||
61,72779383;142,8458546;106,1180608
|
||||
58,99808851;102,3529041;27,35481559
|
||||
43,6620999;77,36405233;17,70195243
|
||||
55,42639088;121,0878726;78,66148172
|
||||
58,79311097;111,8698686;49,07675763
|
||||
50,71073988;106,5406487;97,82990882
|
||||
45,57346035;104,7456111;56,17215075
|
||||
45,7981314;83,9963622;75,1982308
|
||||
46,46484131;82,94617575;77,48133444
|
||||
57,9492853;144,9994608;129,0501755
|
||||
48,3999722;72,83510082;30,43512862
|
||||
54,2097076;114,7785416;82,568834
|
||||
46,67548966;95,25014621;37,57465655
|
||||
38,21698894;88,21423442;64,99724548
|
||||
51,95614673;90,93548401;66,97933728
|
||||
51,22522594;105,1106925;101,8854666
|
||||
52,84741658;105,0503069;75,20289032
|
||||
54,78984594;109,9873973;87,19755136
|
||||
52,00296104;101,442706;89,43974496
|
||||
51,43150193;88,40178257;36,97028064
|
||||
47,40407943;89,44141735;55,03733792
|
||||
51,6749185;96,54147702;31,86655852
|
||||
40,74049925;83,85842913;79,11792988
|
||||
49,82155418;112,9093356;96,08778142
|
||||
57,57763531;115,7709369;72,19330159
|
||||
51,49652924;127,9054098;118,4088806
|
||||
53,10710725;112,6337002;90,52659295
|
||||
42,93645994;102,8111834;102,8747235
|
||||
44,14066275;78,88897631;41,74831356
|
||||
46,60936983;98,64046333;54,0310935
|
||||
47,41415307;95,89594769;58,48179462
|
||||
47,99032677;106,3655192;102,3751924
|
||||
50,68360992;106,9507457;44,26713578
|
||||
50,57070899;83,19613908;61,62543009
|
||||
57,14992785;115,5596634;40,40973555
|
||||
50,45105658;97,6950217;64,24396512
|
||||
46,76779029;99,20006513;60,43227484
|
||||
50,49802495;99,43092076;87,93289581
|
||||
51,52523583;84,24653091;17,72129508
|
||||
40,72692657;102,1715902;67,44466363
|
||||
54,96034411;111,5346596;82,57431549
|
||||
48,86213774;101,4305303;58,56839256
|
||||
52,76166432;108,021472;60,25980768
|
||||
55,46249302;83,51709356;51,05460054
|
||||
51,78186354;79,45870906;11,67684552
|
||||
54,7256505;108,6386184;58,9129679
|
||||
55,03288163;112,1224042;72,08952257
|
||||
52,83806054;104,53718;101,6991195
|
||||
45,86692682;91,39643691;29,52951009
|
||||
49,67284006;110,1908352;88,51799514
|
||||
53,18552185;119,0135337;113,8280119
|
||||
41,69070011;62,78988486;53,09918475
|
||||
53,36320564;118,5841731;108,2209675
|
||||
44,27369117;74,58882658;69,31513541
|
||||
49,92198979;76,93363417;52,01164438
|
||||
44,91221355;82,33766098;44,42544743
|
||||
37,92316535;68,0076039;17,08443855
|
||||
50,10889447;103,6209931;49,51209863
|
||||
44,20348231;84,19989748;57,99641517
|
||||
57,11433271;102,0528226;84,93848989
|
||||
41,90764861;109,1360517;50,22840309
|
||||
51,88278094;89,01870776;69,13592682
|
||||
44,31355843;81,19982464;76,88626621
|
||||
44,25547817;72,64564157;53,3901634
|
||||
48,93179315;107,7773458;40,84555265
|
||||
39,36849865;59,39799005;68,0294914
|
||||
53,33338181;99,04871654;92,71533473
|
||||
61,63696872;129,3884947;76,75152598
|
||||
46,40148646;102,9511032;92,54961674
|
||||
43,81949012;75,15673812;44,337248
|
||||
53,78046359;85,87008695;50,08962336
|
||||
41,27977392;60,49700348;50,21722956
|
||||
52,32206122;106,8462547;57,52419348
|
||||
41,36660384;105,0465099;78,67990606
|
||||
47,62423286;96,62455823;84,00032537
|
Loading…
Reference in New Issue
Block a user