running-elephant / datart

Datart is a next generation Data Visualization Open Platform
https://running-elephant.github.io/datart-docs/
Apache License 2.0
1.94k stars 581 forks source link

Question: Improve date field segmentation for display #1293

Open clementchong opened 2 years ago

clementchong commented 2 years ago

Hello,

I think this is available from beta 3? This is a nice feature for drilling in and our. I like to ask if possible to improve readability of the display date values for quarter and week? Now we see value like 2022-1, 2022-2, 2022-23, etc.

May I suggest to use 2022-Q1, 2022-Q2 for quarter and 2022-W01, 2022-W32 for weeks? These would easily differentiate from the month labels.

image

image

scottsut commented 2 years ago

I'm not very sure if all databases return the same date format, if so, we can consider optimizing it in frontend code.