godot-engine.easy-charts icon indicating copy to clipboard operation
godot-engine.easy-charts copied to clipboard

how to use this library?

Open nosa999 opened this issue 4 years ago • 14 comments

I want to plot Time series data. I have implemented my code as below image: image

but I don't know how I can give my data to the plot. and after running the code I get below error: image

Is there any tutorial for using this library?

nosa999 avatar May 02 '21 09:05 nosa999

I need an example how I should use easy chart, please?

nosa999 avatar May 03 '21 06:05 nosa999

@nosa999 Hi, sorry to answer you back only now. You can find a few examples on how to use this library in the wiki. Anyway the library is now under refactoring, so with the new Godot version some features may not work. I suggest you to use Control charts instead of Node2D ones instead. During this week I'll make sure to update it and work on some other tutorials. Sorry for the inconvenience

fenix-hub avatar May 03 '21 07:05 fenix-hub

@fenix-hub Hi, no problem. thank you for your response.

nosa999 avatar May 03 '21 07:05 nosa999

+1 I'm confused on how to use the control line chart, sorry, beginner here

ArikRahman avatar Jun 28 '21 04:06 ArikRahman

@nosa999 By the way the reason why utilities isnt declared in the scope is likely due to no being loaded. Go to asset lib then plugins and then tick it on. Then go to autoload and make sure utilities is ticked. May fix it.

ArikRahman avatar Jun 28 '21 05:06 ArikRahman

@nosa999 hi, the plugin has been updated, let me know if you are still interested in getting helped :)

fenix-hub avatar Jan 08 '22 20:01 fenix-hub

@nosa999 hi, the plugin has been updated, let me know if you are still interested in getting helped :)

Hi, I want to use it.

Can I download same version: 2021.1 release or master lasted?

uiosun avatar Jan 09 '22 14:01 uiosun

@Sun-FreePort hi, for now you will have to download the one from main branch or this release. The asset library will be updated soon

fenix-hub avatar Jan 09 '22 14:01 fenix-hub

@Sun-FreePort hi, for now you will have to download the one from main branch or this release. The asset library will be updated soon

I will use pre-release, find some error:

  1. utilities namespace is Utilities -- "U". (I think you must rename to other, commit, and rename again to "utilities", commit again. because git can't find lower / upper word.)
  2. has class load error, maybe i must use instance() in script.

uiosun avatar Jan 09 '22 14:01 uiosun

@Sun-FreePort can you show me the class load error please?

fenix-hub avatar Jan 09 '22 14:01 fenix-hub

  1. unzip pre-release file.
  2. move addons to project root path.(the project has git plugins)
  3. project setting -> plugins -> open the charts.
  4. add RadarChart node, parent is root (Node2D).
  5. run.

Godot from steam store:

Godot Engine v3.4.2.stable.official.45eaa2daf - https://godotengine.org OpenGL ES 3.0 Renderer: NVIDIA GeForce GTX 1060/PCIe/SSE2 OpenGL ES Batching: ON

My system is Win10 (x64), use chinese.

This Project zip file: test.zip

uiosun avatar Jan 09 '22 15:01 uiosun

and I use instance, has error (you can see that, in the project file):

0220109230329 0220109230601

uiosun avatar Jan 09 '22 15:01 uiosun

Oh ok you are using the instance feature, I need to check that out again since I didn't refactor it yet. I think that the class cannot be loaded because in your project.settings it is missing the "RadarChart" class. About the error instancing it, the path has changed, so I'll update the method right now

fenix-hub avatar Jan 09 '22 15:01 fenix-hub

Oh ok you are using the instance feature, I need to check that out again since I didn't refactor it yet. I think that the class cannot be loaded because in your project.settings it is missing the "RadarChart" class. About the error instancing it, the path has changed, so I'll update the method right now

Right.

I use Discord find you, if has some fix / update, you can tell me, I can test it.

uiosun avatar Jan 09 '22 15:01 uiosun