biolab / orange3

🍊 :bar_chart: :bulb: Orange: Interactive data analysis
https://orangedatamining.com
Other
4.85k stars 1.01k forks source link

Line Chart: improve ticks on single date, multiple hours #6103

Closed ajdapretnar closed 2 years ago

ajdapretnar commented 2 years ago
Timeseries version

master since biolab/orange3-timeseries#220

Orange version

3.32.dev

Expected behavior

When the timeseries data belongs to a single date but to multiple hours, ticks should display only hours, i.e. 23:00.

Actual behavior

Ticks display the day + hour, which is quite unintuitive.

Steps to reproduce the behavior

NewLog3.txt File - Line Chart.

Additional info (worksheets, data, screenshots, ...)

This is not major. It only happens after a certain width of the widget. When shrunk, the widget displays only hours.

Screenshot 2022-08-03 at 14 19 33
janezd commented 2 years ago

Moved from timeseries: the issue is in owscatterplotgraph.AxisItem's adaptation for time variables. The same problem would appear in the scatter plot.