How to reverse the direction of the chart

Yes I know this is an old thread–but it is what comes up in search results for “reverse chart direction”, so I figured I could add this for continuity: Chart Shift Direction - #4 by WebDust21

TLDR; modified the existing LVGL v8 chart data input function to just reverse the direction data where it’s inputted to the array. Very simple, and works a charm.