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

[FEATURE] x values ​​as sortable text strings

Open jospic opened this issue 1 year ago • 3 comments

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

jospic avatar Jun 08 '23 10:06 jospic

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?

fenix-hub avatar Jun 09 '23 07:06 fenix-hub

Perfect! Thank you. -j

jospic avatar Jun 09 '23 10:06 jospic

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

jospic avatar Jun 09 '23 10:06 jospic