fenix-hub / godot-engine.easy-charts

A Godot Engine addon for plotting general purpose charts. A collection of Control, 2D and 3D Nodes to plot every chart possible.
MIT License
647 stars 48 forks source link

[BUG] Realtime plotting not adjusting x bounds of the chart #97

Closed Atlinx closed 6 months ago

Atlinx commented 10 months ago

Describe the bug A clear and concise description of what the bug is.

Plotting values in real-time (adding + removing values such that total # values is the same) does not adjust the x bounds of the chart.

To Reproduce Open and run the line_chart example scene, and press the real-time plotting toggle.

Expected behavior The x bounds of the chart should follow the data.

Screenshots image

Desktop (please complete the following information):

Additional context This might be due to the main branch being a development/incomplete branch.

calumk commented 8 months ago

It seems to work intermittantly for me - it kind of scales from 0-2, to 10-20, and then rolls - i guess its rounding somewhere.

https://github.com/fenix-hub/godot-engine.easy-charts/assets/1183991/169b1067-d759-4979-95c0-656d06aeab69

fenix-hub commented 8 months ago

Thank you for your feedbacks. I'll be back on working on this project this weekend. sorry for the inconvenience

zedzag commented 7 months ago

has anyone found a workaround for this?

calumk commented 7 months ago

For my use case i switched to : https://github.com/LD2Studio/godot4-graph2d

fenix-hub commented 6 months ago

https://github.com/fenix-hub/godot-engine.easy-charts/assets/45271396/12b51d1f-860d-4028-8dc0-801090b4a181

Hi, the new release will fix this bug. Thank you for your patience

calumk commented 6 months ago

Great thanks :)