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

[FEATURE] x values ​​as sortable text strings #77

Closed jospic closed 6 months ago

jospic commented 1 year ago

Hi, would there be a way to use dates string like "yyyy-mm-dd" as values ​​for the x-axis? It would be useful for timing diagrams. Thanks in advance. -j

fenix-hub commented 1 year ago

Hi, Currently you can set custom x-axis and y-axis values using the x_labels and y_labels directly on a Chart class. https://github.com/fenix-hub/godot-engine.easy-charts/blob/ecab4394394b1f62c13b917e268953916003aa46/addons/easy_charts/control_charts/chart.gd#LL15C1-L16C37

Would this be enough?

jospic commented 1 year ago

Perfect! Thank you. -j

jospic commented 1 year ago

is there anyway to display these custom labels in tooltips as well?

fenix-hub commented 6 months ago

close in favor of #101