Bios-Marcel / baka

My stupid personal financial management
BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

rendering charts accross years causes incorrect sorting #15

Closed Bios-Marcel closed 1 month ago

Bios-Marcel commented 1 month ago

Due to the fact that the month values (1-12) are the keys of the X-Axis, we can't differentiate between the different years. So December of previous year will render after november of current year.

Bios-Marcel commented 1 month ago

java_PG4EEvBvbj

Generating data over 10 years, this actually looks horrible. We somehow need to calculate some type of precision and an x-axis value that isn't purely numeric.

Bios-Marcel commented 1 month ago

Fixed ~

While I have still seen an issue where the year 2034 for some reason rendered after year 2029, this only occurred once and I don't care FOR NOW.