How to draw a stacked bar chart which has different 'x' values?

Hi…I am new to dash and plotly…and I am also new to this community forum… So I was writinng a code to create horizontal bar charts which is stacked. I have pasted the piece of code below. As you can see from the code the ‘x’ value for 2 traces are 2 different lists(startdates and enddates)(these lists have dates in the format dd-mm-yyyy)…When I run the code…I get a graph where the x axis shows years(like 2020,2030,2040…) instead of the dates in the lists and only if i zoom very closely i can see the graphs w.r.t dates.

graphs = go.Figure()
graphs.add_trace(go.Bar(
y=owner_list,
x=startdates,
name=‘PENDING’,
orientation=‘h’,
marker=dict(
color=‘rgb(235, 234, 230)’,
line=dict(color=‘rgb(23, 23, 22)’, width=3)
)))

graphs.add_trace(go.Bar(
    y=owner_list,
    x=enddates,
    name='COMPLETED',
    orientation='h',
    text= '%',
    marker=dict(
        color='rgb(9, 230, 68)',
        line=dict(color='rgb(23, 23, 22)', width=3)
)))

graphs.update_layout(barmode=‘stack’)

and image of my graph which shows years instead of dates has been attached.Capture

Kindly help me with this.
This is the excel i am referring…as you can see start dates do not have 2030, 2040 ,…and all
Capture2