Is your feature request related to a problem? Please describe.
In the multilayer time axis we hard code the start day of the week to 1 (aka Monday). This does not allow the chart consumer to change this to adapt to the data.
|
if (dayOfWeek !== 1) continue; |
Demo

See demo here.
Describe the solution you'd like
The start day of the week should be driven by the moment.localeData().firstDayOfWeek()
Describe alternatives you've considered
N/A
Additional context
This only applies to the tick placement and labels, not the placement of the rendered geometries.
Kibana Cross Issues
elastic/kibana#178115
Checklist
Is your feature request related to a problem? Please describe.
In the multilayer time axis we hard code the start day of the week to
1(aka Monday). This does not allow the chart consumer to change this to adapt to the data.elastic-charts/packages/charts/src/chart_types/xy_chart/axes/timeslip/continuous_time_rasters.ts
Line 320 in 3bddec8
Demo
See demo here.
Describe the solution you'd like
The start day of the week should be driven by the
moment.localeData().firstDayOfWeek()Describe alternatives you've considered
N/A
Additional context
This only applies to the tick placement and labels, not the placement of the rendered geometries.
Kibana Cross Issues
elastic/kibana#178115
Checklist
Kibana Cross Issueslistkibana cross issuetag is associated to the issue if any kibana cross issue is present